Entering edit mode
15 months ago
manaswiniparija3
▴
50
I have a file in PHYLIP format. when I use IQ-Tree I got a error like this: ERROR: Line 27: Sequence Culex_pipiens_pallens_KT851543.1 has wrong sequence length 7048 ERROR: can anyone suggest how to fix the error.
IQ-Tree does some sanity checks before it starts the analysis. Likely, the problem is really what it says: The sequence has a different length than the other sequences. All sequences must have identical length. If you have problems checking this, try to save the alignment in FASTA format or convert the phylip formated file to FASTA format using EMBOSS seqret and try again. Another problem may be that the sequence identifier is too long for phylip format. Then again, IQ-Tree runs fine on FASTA files with no restrictions on identifier length.
I am going to assume that all your sequences have the same length, as most alignment programs take care of this properly. If so, it is likely that you have two sequences with the same name, or a very similar name over most of its length. Sequence names must be unique.