Genlight object to GenAlEx format?

149 views
Skip to first unread message

anoy...@umn.edu

unread,
May 7, 2019, 8:25:13 AM5/7/19
to dartR
Hello! Is there some way to convert genelight object to GenAlEx format? When I do conversion from genelight to genind and then to GenAlEx resulting file have only... zeros. (I could not find converter from genelight to GenAlEx directly).

BTW. Genind object I get works great for "everything" I use it for.

Thank you!

Katrin Hohwieler

unread,
May 7, 2019, 6:55:10 PM5/7/19
to da...@googlegroups.com
You have to set "sequence=True" and then it should work. 

--
You received this message because you are subscribed to the Google Groups "dartR" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dartr+un...@googlegroups.com.
Visit this group at https://groups.google.com/group/dartr.
To view this discussion on the web visit https://groups.google.com/d/msgid/dartr/4d3f3408-9f0c-4789-80b5-200f9013f5ce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Rujiporn Sun

unread,
May 7, 2019, 9:49:07 PM5/7/19
to dartR
I exported genelight object as structure format with gl2structure (don't forget to add .str extension) then converted this to genepop format in PGDSpider. This worked for me.

Reply all
Reply to author
Forward
0 new messages