Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nexus token not recognised #3

Closed
cokelaer opened this issue May 3, 2019 · 1 comment
Closed

nexus token not recognised #3

cokelaer opened this issue May 3, 2019 · 1 comment

Comments

@cokelaer
Copy link

cokelaer commented May 3, 2019

When converting the nexus example provided here below, we got this error message using the latest version of goalign::

Unknown token "" in taxlabel list

We are not sure whether this is a goalign issue or the following Nexus file format that is incorrect. However, it seems it is correct since it can be converted to fasta using squizz tool for instance or biopython

#NEXUS
[ Title fasta file]
begin taxa;
   dimensions ntax= 6;
   taxlabels
      read0
      read1
      read2
      read3
      read4
      read5
;
end;
begin characters;
   dimensions nchar= 100;
   format missing=? gap=- matchchar=. datatype=nucleotide interleave=yes;
   matrix

[!Domain=Data;]
read0 GCATGCTACCCCCGACTTCGAGGCTGGGTGGAGTTACCTTTAGGGGGGGTTGTGTGGGAGTGATAGGAGAGAGACCCAGACAGTATAGCATGTTGTTGGC
read1 AATCATCC.ATAT.C.G.TTCA.G..TTC.CGA.GTTACA..A.T.TCCGGTC.G.TACCGCTG.CCC..ACTTTATTT.TGACTC.AGT..G.CAACAG
read2 .G.A..CCA.G..ACGG..TT.ATAC.AATTTT.CTAA.GGCTATCCCTACA.AACCT.ACCGGGCAT.TA.TGTGTCAC.GT.G.TT.GACG.AAA.AG
read3 ATCCCGCT.GATG.G.C..ATT..GTCCACT....GATC..CT..A.TA..TA.GAAAGCAAG..AACTCCTTGTA..A.T.AAGATCTTA.A..GGCAT
read4 AGGGATG.A.GAT.CTCG.AGTTGAT.C.CAGAAGTG.CA.T.C..TA.AAACAAAT.TTCCCAGATT.TTGACTGATA.GTAGGACCTCA..C..GACT
read5 TG.GA.ATTTGAG.GAGC...TTAGATTAT..TGCCGTCAATCAT.A.CGCAC.GTTTTAACGCCTT.ATCTCC.GACTCTCAC.GCTA.CCCGTGA.CT
;
end;
@fredericlemoine
Copy link
Collaborator

You can try this release : v0.3.1-alpha2
It should solve the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants