Alternative to PGDSpider for vcf conversion
2
1
Entering edit mode
4.6 years ago
QPaps04 ▴ 160

Hello all, I have been trying to convert a large vcf file to GESTE_BAYE_SCAN format using PGDSpider. I have tried doing a straight conversion and also a two-step: vcf > PGD > GEST_BAYE_SCAN. The first step works. Hoever every time I try to produce the BayeScn file I get this error: ERROR 20-05 11:11:57,272 (GesteBayeScanWriter.java:write:382) -not enough memory. To increase the allowed memory see help.

I even took of the min max memory when I ran the line of code, as so: java -jar ~/bin/PGDSpider_2.1.1.5/PGDSpider2-cli.jar -inputfile ./PA_etcGBS_PGD -inputformat PGD -outputfile ./PA_etcGBS_GESTEBayeScn -outputformat GESTE_BAYE_SCAN -spid ./files/spid/PGD_to_GESTE_BAYE_SCAN.spid

Does anynone have any alternatives to PGDSpider for file conversion? Or any sugestion how I make this work? I can send you my settings in the .spid file if that is useful just let me know.

Thanks for your help in adavance, Eve

vcf SNP next-gen conversion memory • 3.8k views
ADD COMMENT
0
Entering edit mode
4.3 years ago
jpr6mg • 0

Were you ever able to figure out a workaround on this? Even when I max out the available memory on my server (512GB), the program isn't able to successfully write an output file.

ADD COMMENT
0
Entering edit mode

sorry for my delay in responding - I used this in the end to get it into BayeScan format https://github.com/santiagosnchez/vcf2bayescan

Make sure you set up your population file correctly, otherwise it only discovers one popualtion. See here https://github.com/santiagosnchez/vcf2bayescan/issues/1 for my solution

ADD REPLY
0
Entering edit mode
4.2 years ago

You can try to increase memory limits by running PGDSpider with java -jar -Xmx8g -jar .... In this case the -Xmx will increase the max memory usage to 8Gb. You can adjust to your limits and/or needs.

ADD COMMENT

Login before adding your answer.

Traffic: 4320 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6