# phangorn fasta file read error

Im trying to read a multifasta sequence file into phangorn I get the following error

tipseqfile <- ("abhi_seq/clean_dup_rem.fasta")


my file

Error in read.phyDat(tipseqfile, format = "fasta") : sequences have different length

Now is it necessary to have same length of each fasta sequence? or Im doing something wrong

If the sequences are different lengths, which it means both nucleotide and indel ('-') sites, it means there hasn't been or there is an error with the alignment. I use muscle these days having previously used clustalo. Its really easy to use and easily configures on a linux server and its super quick. If you get stuck let me know.