How to filter delly variants?
1
1
Entering edit mode
3.4 years ago
gt ▴ 30

How can I filter delly output to only deletions and ones that PASSED the quality check? I want to use the delly output from delly call.

calling DNA-seq delly variants • 1.9k views
ADD COMMENT
1
Entering edit mode
3.4 years ago
trausch ★ 1.9k

Bcftools works best for filtering VCF/BCF files. For instance

bcftools query -f '%CHROM\t%POS\t%INFO/END\t%ID\t%INFO/SVTYPE\t%QUAL\t%FILTER\n' delly.bcf

generates a table with all the information you want. Alternatively, you can also filter the VCF/BCF directly using:

bcftools view -i 'FILTER="PASS" & INFO/SVTYPE="DEL"' delly.bcf

ADD COMMENT

Login before adding your answer.

Traffic: 2363 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6