Hi Laura,
The VCF format specifies that the author of the file has to define the fields that are included in the header. Stacks does this, by default including the following fields:
##FORMAT=<ID=AD,Number=R,Type=Integer,Description="Allele Depth">
##FORMAT=<ID=DP,Number=1,Type=Integer,Description="Read Depth">
##FORMAT=<ID=HQ,Number=2,Type=Integer,Description="Haplotype Quality">
##FORMAT=<ID=GL,Number=G,Type=Float,Description="Genotype Likelihood">
##FORMAT=<ID=GQ,Number=1,Type=Integer,Description="Genotype Quality">
##FORMAT=<ID=GT,Number=1,Type=String,Description="Genotype">
And, in each entry of the file, the included fields are listed in column 9, e.g. “GT:DP:AD:GQ:GL”.
So, you can verify the format of your VCF file directly. When you say that your specified filters “result in no snps being discarded” you can manually check the filtering. That is, if you look at any of the outputs unfiltered (I recommend the populations.sumstats.tsv file), you should be able to identify specific SNPs that should be filtered based on some criteria you are interested in. If you would like specific help on a filtering problem, or think you have found a bug, then please find an example of a SNP you think should be filtered but is not filtered and send that to us.
I would also mention that the populations program can do a lot of filtering itself (though not by allele depth, which we think is not a great filter).
If you made a ‘whitelist’ of SNPs, please tell us how you did it, what it looks like, and why it not working (in principles, you can use a whitelist by just specifying --whitelist filepath to the populations program).
Best,
julian
--
Stacks website: http://catchenlab.life.illinois.edu/stacks/
---
You received this message because you are subscribed to the Google Groups "Stacks" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stacks-users...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/stacks-users/SN6PR11MB2557165E6C478E81146F8BBFA7F49%40SN6PR11MB2557.namprd11.prod.outlook.com.