--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Visit this group at http://groups.google.com/group/migrate-support.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-support+unsubscribe@googlegroups.com.
To post to this group, send email to migrate-support@googlegroups.com.
Visit this group at http://groups.google.com/group/migrate-support.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-support+unsubscribe@googlegroups.com.
To post to this group, send email to migrate-support@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
>12359 [Bj142]TGCAGCCACGCTCTCGGTGGCCGGGGCGACACGTCCCTCTGGCACAGCATGCGGTTGGCGCCGGCCGGTGACCAGCCTGCAAGA>12359 [Bj142]TGCAGCCACGCTCTCGGTGGCCGGGGCGACACGTCCCTCTGGCACAGCATGCGGTTGGCGCCGGCCGGTGACCAGCCTGCAAGA>12359 [Bj146]TGCAGCCACGCTCTCGGTGGCCGGGGCGACACGTCCCTCTGGCACAGCATGCGGTTGGCGCCGGCCGGTGACCAGCCTGCAAGA>63788 [Bj142]TGCAGCGGGAGCAGCCGTCTTCGAGACGTTAGCTGTAGCAGAGACGGTGGCAGATGCAGGCTTGGCTGCAAGATCGGAAGAGCG>63788 [Bj142]TGCAGCGGGAGCAGCCGTCTTCGAGACGTTAGCTGTAGCAGAGACGGTGGCAGATGCAGGCTTGGCTGCAAGATCGGAAGAGCG>63788 [Bj146]TGCAGCGGGAGCAGCCGTCTTCGAGACGTTAGCTGTAGCAGAGACGGTGGCAGATGCAGGCTTGGCTGCAAGATCGGAAGAGCG>63788 [Bj146]TGCAGCGGGAGCAGCCGTCTTCGAGACGTTAGCTGTAGCAGAGACGGTGGCAGATGCAGGCTTGGCTGCAAGATCGGAAGAGCG
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Visit this group at http://groups.google.com/group/migrate-support.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Visit this group at http://groups.google.com/group/migrate-support.
For more options, visit https://groups.google.com/d/optout.
--
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Visit this group at https://groups.google.com/group/migrate-support.
['KR', 'VLM', 'VLE', 'VLW', 'TA']
Traceback (most recent call last):
File "/home/c/cong-liu/work/scripts/stacks2mig.py", line 183, in <module>
output = to_migrate(populations,locations,infilename)
File "/home/c/cong-liu/work/scripts/stacks2mig.py", line 116, in to_migrate
sites.append(str(len(sit[0][1])))
IndexError: list index out of range
"""
Do you have any idea how to fix this? Thank you very much for your time!
Best,
Cong
thanks Paul,in the meantime I wrote my own (https://pbeerli@bitbucket.org/pbeerli/scripts.git), but please post yours because I am sure mine can be improved.
['KR', 'VLM', 'VLE', 'VLW', 'TA']
(['118630', 'KR', 'EGP0062G07]', '0'], 'ATACCGGAACTCGACAATCTATTTAAACAGCTTCAGCTGGA')
(['148157', 'KR', 'EGP0062G07]', '0'], 'CTGATAAAAAGAAATTTGTTAAAATCTATGTGATTTTCAAT')
Traceback (most recent call last):
File "/home/c/cong-liu/work/scripts/stacks2mig.py", line 184, in <module>
output = to_migrate(populations,locations,infilename)
File "/home/c/cong-liu/work/scripts/stacks2mig.py", line 116, in to_migrate
print sit[0]
IndexError: list index out of range
I am still not sure what happened. My data include five locations :KR, VLM, VLE, VLW, and TA. So the fas file looks like this:
>CLocus_148155_Sample_18_Locus_110980_Allele_2 [VLM_EGP0062G11]
GCGGATACAGGAACGCATAAATCTGCAGGTGTGGAATGGGG
>CLocus_148155_Sample_8_Locus_60808_Allele_0 [VLW_EGP0062F09]
GCGGATACAGAAACGCATAAATCTGCAGGTGTGGAATAATG
>CLocus_148155_Sample_5_Locus_6490_Allele_0 [VLW_EGP0062F10]
GCGGATACAGAAACGCATAAATCTGCAGGTGTGGAATAATG
>CLocus_148155_Sample_6_Locus_26668_Allele_0 [VLW_EGP0062H03]
GCGGATACAGAAACGCATAAATCTGCAGGTGTGGAATAATG
>CLocus_148155_Sample_7_Locus_52288_Allele_0 [VLW_EGP0062H04]
GCGGATACAGAAACGCATAAATCTGCAGGTGTGGAATAATG
>CLocus_148157_Sample_14_Locus_10254_Allele_0 [KR_EGP0062G07]
CTGATAAAAAGAAATTTGTTAAAATCTATGTGATTTTCAAT
>CLocus_148157_Sample_21_Locus_90019_Allele_0 [KR_EGP0062G08]
CTGATAAAAAGAAATTTGTTAAAATCTATGTGATTTTCAAT
>CLocus_148157_Sample_13_Locus_173164_Allele_0 [KR_EGP0062G12]
CTGATAAAAAGAAATTTGTTAAAATCTATGTGATTTTCAAT
>CLocus_148157_Sample_10_Locus_186448_Allele_0 [TA_EGP0062G04]
CTGATAAAAAGAAATTTGTTAAAATCTATGTGATTTTCAAT
Actually, the script worked if I change all the locality into one (one population)
Can I send you my data for debugging?
Best,
Cong.
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-support+unsubscribe@googlegroups.com.
To post to this group, send email to migrate-support@googlegroups.com.
Hi Felipe! Actually I think Peter's script stacks2mig.py seems to work pretty well, except I needed to do some minor search and replace of headers in my fasta file from STACKS to make it in the format for the script. :)
On 21 October 2016 at 17:44, Felipe Torquato <torqua...@gmail.com> wrote:
How about use the software PGDSPIDER to convert Stacks output files into MIGRATE input?
Em sexta-feira, 20 de março de 2015 09:57:31 UTC+1, robertkraus escreveu:Hi all!
I might get into a project with RAD and GBS that shall include migrate-n analysis. I have chedk this group but found no discussions about GBS. Using RAD as a search term I found this post from about two years ago https://groups.google.com/forum/#!searchin/migrate-support/rad/migrate-support/q4kTBQFRg1k/O9PCAcmbBDYJ . There, it seems that the SNPs themselves were used. Are there examples when the whole sequence from a RAD or GBS experiment was used with a sequence evolution model? I also searched all citation to Beerli & Felsenstein 1999, 2001 - the two papers I consider are usually cited when using migrate-n. Almost nothing on first glance... Does any of you have examples where RAD or GBS was used in migrate-n? I'd prefer examples where the sequence was used instead of the SNP.
I can share an interesting paper that cropped up in my search: Hird SM (2012) lociNGS: A Lightweight Alternative for Assessing Suitability of Next-Generation Loci for Evolutionary Analysis. PLoS ONE 7(10): e46847. doi:10.1371/journal.pone.0046847
Has anyone tried this?
Cheers,
robert
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
Hi Felipe! Actually I think Peter's script stacks2mig.py seems to work pretty well, except I needed to do some minor search and replace of headers in my fasta file from STACKS to make it in the format for the script. :)
On 21 October 2016 at 17:44, Felipe Torquato <torqua...@gmail.com> wrote:
How about use the software PGDSPIDER to convert Stacks output files into MIGRATE input?
Em sexta-feira, 20 de março de 2015 09:57:31 UTC+1, robertkraus escreveu:Hi all!
I might get into a project with RAD and GBS that shall include migrate-n analysis. I have chedk this group but found no discussions about GBS. Using RAD as a search term I found this post from about two years ago https://groups.google.com/forum/#!searchin/migrate-support/rad/migrate-support/q4kTBQFRg1k/O9PCAcmbBDYJ . There, it seems that the SNPs themselves were used. Are there examples when the whole sequence from a RAD or GBS experiment was used with a sequence evolution model? I also searched all citation to Beerli & Felsenstein 1999, 2001 - the two papers I consider are usually cited when using migrate-n. Almost nothing on first glance... Does any of you have examples where RAD or GBS was used in migrate-n? I'd prefer examples where the sequence was used instead of the SNP.
I can share an interesting paper that cropped up in my search: Hird SM (2012) lociNGS: A Lightweight Alternative for Assessing Suitability of Next-Generation Loci for Evolutionary Analysis. PLoS ONE 7(10): e46847. doi:10.1371/journal.pone.0046847
Has anyone tried this?
Cheers,
robert
--
You received this message because you are subscribed to the Google Groups "migrate-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-suppo...@googlegroups.com.
To post to this group, send email to migrate...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to migrate-support+unsubscribe@googlegroups.com.
To post to this group, send email to migrate-support@googlegroups.com.
thanks Paul,in the meantime I wrote my own (https://pbe...@bitbucket.org/pbeerli/scripts.git), but please post yours because I am sure mine can be improved.
To view this discussion visit https://groups.google.com/d/msgid/migrate-support/9412c612-8265-4a00-ac2f-e41fffdb69adn%40googlegroups.com.