This is a test version of Biostars. For the public version, visit https://www.biostars.org.
VCF conservation into Treemix

I have a multi-sample vcf file with ~7 millions SNPs. Now I want to convert it into required format of the Treemix. I run it using vcf2treemix.sh along with plink2treemix.py, but plink2treemix.py works very very slow. So that if I use it, the analysis in question may take more than a month or even longer.

Does anyone of you have a solution to increase the speed of this program or a better suggestion to do this analysis

Thanks

treemix plink vcf

I found the solution

population program from Stacks package

1 answer

It looks to me like a custom script, and without looking at the script code, it is difficult to suggest any solution. Would it help if you split your original VCF file into chromosome VCF files and then run your code on individual chromosome files and consolidate the output in single file?

Log in to answer this question.