MantisBT - MEGA
View Issue Details
0006543MEGADistance Data Explorerpublic2024-04-11 09:222024-04-11 09:22
guest 
 
normalminorhave not tried
newopen 
PCLinuxRedHat
MEGA 11 (Graphical Interface version) 
 
Nitish
Narula
nitish.narula@nih.gov
nitish.narula@nih.gov
0006543: Line Too Long error
We have a distance matrix in a .meg file created using megacc. The number of taxa is 9860. When importing it into the MEGA 11 GUI, we get an error saying "Line Too Long (in line 9895)".

Checking this line, 9895 is actually a blank line between the taxa labels section and the distance matrix section. But the next line, the first line of the matrix section, is a comment (in square brackets) with the column numbers or taxa numbers for the matrix. If we remove this line and try to open the meg file again, the same error shows up but the line number highlighted is 18984. Checking the number of characters in this line, it has 99988 characters. The next line has 99999 characters.

It looks like MEGA cannot read long lines and the limit is somewhere between 99988 and 99999 characters
You can download a gzipped distance matrix in meg format from google drive here: https://drive.google.com/file/d/1iKzb7xdXfXvterod9Jk4A8pfQISE2jCB/view?usp=sharing [^]

Note that this meg file does not have the comment line which shows the column number of the matrix in the matrix section.
No tags attached.
Issue History
2024-04-11 09:22guestNew Issue

There are no notes attached to this issue.