jessicawleigh / popart-current

18 stars 10 forks source link

Error on PopArt Genetics software: Error parsing sequence data. Too many characters read. How to fix it? #14

Open teodorosarah opened 1 year ago

teodorosarah commented 1 year ago

We are having problems with the .nex file. The file contains 89 haplotypes with 857pb from 4 localities. But when we open the file on PopArt, there is this error message: "Error parsing sequence data" and if we click to show the details, the message is "Too many characters read!". We used another file as a model to check possible problems, but we could not find what was wrong. I always used Popart and this is the first time I face this error. Can anyone help us? error

renatafarias2020 commented 1 year ago

Hello

teodorosarah

I am havig the same problem. Have you figured out how to solve the problem? Thank you!

teodorosarah commented 1 year ago

Hello, @renatafarias2020 ! Another PopArt user sent me how to solve it! This is his answer, maybe it can help you: "I found a solution! I realised some of my sequence names weren't properly separated from the sequence data causing Popart to read the name as 300+ characters long. After separating the sequence name from the sequence data in the NEXUS file by moving them onto separate lines Popart now takes my NEXUS files fine :)" Hope this helps you. best wishes

renatafarias2020 commented 1 year ago

Yes, that was the problem. Now it's working. Thank you!!