Hi Jostein,
At the moment, SNAPP only accepts nexus files with binary sequences, one
sequence for every individual. Also, names are expected to have a
separator, like underscore, in them in the hope of being able to group
them together. Something like the example below should work.
BTW, you might have some trouble running SNAPP with 190 individuals due
to the amount of computation involved. Make sure you run with as many
threads as you can. Alternatively, remove some individuals to start with
and add more when you think it runs fast enough not to outrun your
patience.
Remco
#nexus
BEGIN Taxa;
DIMENSIONS ntax=2;
TAXLABELS
[1] 'taxon_1'
[2] 'taxon_2'
;
END; [Taxa]
BEGIN Characters;
DIMENSIONS nchar=50;
FORMAT
datatype=STANDARD
missing=?
gap=-
symbols="01"
labels=left
transpose=no
interleave=no
;
MATRIX
'taxon_1' 10001010000000100010000001000001010100000010001000
'taxon_2' 01010001000000000000100000000010000100000000001000
;
End;
On Tue, 2012-06-12 at 04:58 -0700, Jostein Gohli wrote:
> Hi all,
>
>
>
> I've got a huge load of SNPs (~28K, 190 individuals) from a RAD tag
> run that I want to analyse in SNAPP (
http://snapp.otago.ac.nz/).
>
>
> I want to do model selection and conversion to XML format in Beauti.
>
>
> Currently, my data is in the following format:
>
>
> SNP 1 2 3 4 5 6
> ind001 4/0 4/4 3/3 0/0 0/0 4/0
> ind002 0/0 4/4 3/0 0/0 0/0 0/0
> ind004 4/4 4/4 3/3 3/0 2/0 4/4
> ind005 0/0 4/4 1/3 3/0 2/0 4/0
> ind006 4/4 4/4 3/3 0/0 0/0 4/0
> ind007 0/0 4/4 3/3 0/0 0/0 4/4
> ind008 4/4 4/4 3/0 0/0 0/0 4/4
> ind009 4/0 4/4 3/3 0/0 0/0 0/0
>
>
>
> I need to get this data into a nexus file in order to get it into
> Beauti.
>
>
> I really hope someone can help me out with this. Thanks a lot!
>
>
> Jostein
> --
> You received this message because you are subscribed to the Google
> Groups "beast-users" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/beast-users/-/2XC9oW9ZrpsJ.
> To post to this group, send email to
beast...@googlegroups.com.
> To unsubscribe from this group, send email to beast-users
> +
unsub...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/beast-users?hl=en.