Dear Users
I am analysing genome wide scan for selective sweeps using (SF2) Sweepfinder2, I appreciate if you could help me with the file conversion from VCF to desired allele frequency file, that is specific to the SF2, something that looks like described in the manual.
position x n folded
460000 9 100 0
460010 100 100 0
460210 30 78 1
463000 0 94 0
The first column is the position on the chromosome, the second column is the allele count ( ), the third column is the sample size ( ), and the fourth column is an indicator as to whether the site has been polarized (i.e., whether it is known that the allele is derived or ancestral).
Thanks in advance
I gotta say, the tool looks a bit poorly designed. If they need custom input, they should ideally provide the tool that converts standardized VCF to their custom format, or build in a handy parser so the tool can accept a VCF file. Really strange break in philosophy there.