script any file (vcf, arp, fasta, nexus) to dadi snp file format

612 views
Skip to first unread message

Dani A.Q.

unread,
Mar 15, 2016, 9:50:52 AM3/15/16
to dadi-user
Hello, everybody!
Does anyone have any script that convert any snp data file into the dadi format? I tried two already, but they didn't work. Does anyone have yet another script?
Thank you!!

Kevin Winker

unread,
Mar 17, 2016, 5:31:21 PM3/17/16
to dadi-user
Dani, we've been using Kun Wang's script from this thread: https://groups.google.com/forum/#!topic/dadi-user/p1WvTKRI9_0

What two did you try?

Dani A.Q.

unread,
Mar 28, 2016, 2:03:55 PM3/28/16
to dadi-user
I tried this one, but is not working for me. I don't know if I have problems with my files. I uploaded just the beginning of the files. Are they wrong? Thanks for your help!
my_fasta
my_file.vcf
list.txt

Dani A.Q.

unread,
Apr 2, 2016, 2:33:59 PM4/2/16
to dadi-user
 Well, I got it! I used this program instead: https://github.com/anbena/4p . It gives you the FS from a vcf file!

Nick Jeffery

unread,
Apr 25, 2016, 10:57:01 AM4/25/16
to dadi-user
Of interest may be the R package stackr by Thierry Gosselin (https://github.com/thierrygosselin/stackr) which has a vcf2dadi function built in. It's quite simple to use and has worked well for me so far.
Reply all
Reply to author
Forward
0 new messages