rtg vcffilter --snps-only --all-samples -i input.vcf.gz -o filtered.vcf.gz
where input.vcf.gz is the merged vcf file. I get the following error:
Hi all,I am trying to filter vcf files that I generated by merging variant calls from Mutect2 and Strelka2 using the following command:
rtg vcffilter --snps-only --all-samples -i input.vcf.gz -o filtered.vcf.gz
where input.vcf.gz is the merged vcf file. I get the following error (also attached as a screenshot):
"Error: Specified filters require GT but no such field contained in record:".I understand that this is because Strelka2 does not add the GT field in its output vcf files. I previously worked with vcfeval using Strelka2 vcf files and used the "squash-ploidy" option but that is not available for filtering. I was wondering if there is a quick workaround for this.Thanks,Dollina
--
You received this message because you are subscribed to the Google Groups "RTG Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rtg-users+...@realtimegenomics.com.
To view this discussion on the web visit https://groups.google.com/a/realtimegenomics.com/d/msgid/rtg-users/cad236b2-69e7-4fb4-be2f-0749c25b5a8an%40realtimegenomics.com.