Thanks! It works now
• 0 views
•
link
The "snp" command works with only 1 snp, but if I type 2 SNPs, it does not, as from output below. VCF tools manual says snp <string> but how do I write the string of several SNPs? rs236330rs236330 or rs236330-rs236330?
I tried the command "snps" to include a list of SNPs from a file but it doesn't recognize the command
--vcf ALL.chr1.phase3_shapeit2_mvncall_integrated_v5.20130502.genotypes.vcf
--chr 1
--freq
--out chr1_analysis
--snp rs236330-rs236322
After filtering, kept 2504 out of 2504 Individuals
Outputting Frequency Statistics...
After filtering, kept 0 out of a possible 6468094 Sites
No data left for analysis!
I believe you can simply use --snp multiple times, one for each snp. Alternatively, you can read from a file using --snps.
Log in to answer this question.