Entering edit mode
6.2 years ago
PKSWEE11
•
0
After using mPileup (Sam Tools v. 1.6) I get files that are in the neighborhood of 12 GB. Next, I use Bcftools filter (bcftools v. 1.6) to filter out variants with read depth less than 2 or greater than 100. The filtered files are around 85 GB! Why are the filtered files so much larger? After all I am filtering out sequence right? Here's the bcftools filter script
bcftools filter --threads 20 raw.bcf -e 'DP<2 || DP>100' > filtered.bcf
Any thoughts would be appreciated. Thanks
Thanks! That was very helpful