The error message from the second post seems to suggest that you are using the interleaved format rather than sequential format. Check that this is what you intend. See the document for the file formats.
Ziheng
In this case, you should add at least two spaces between the sequence name and the sequence.
In the normal behavior, the program prints out the sequence name here but not part of the sequence. The output above indicates that the program got confused and thought the following is your sequence name:
" Seq id ---------- ---------T TGGTAATTAA TGACAC "
Also use Unix and dos commands cat, more etc . to confirm that your sequence file is a plain text file. Some text editors add mysterious strange characters without the user's knowledge.
Ziheng
BASEML in paml version 4.9, March 2015
ns = 6 ls = 153
Reading sequences, sequential format..
Reading seq # 1: Px
Error in sequence data file: J at 136 seq 1.
Make sure to separate the sequence from its name by 2 or more spaces.
C:\Users\Samiksha\Downloads\paml4.9c\bin\baseml.exe finished
And this is the latest format I have been using:
6 153
Px ATGCTAATGAACGTTCCATCGGAAGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTGGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
ju ATGCTAATGAACGTTCCATCGGAAGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTGGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
cb ATGCTTATGAACGTCCCATCGGTGGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTCGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
n2 ATGCTTATGAACGTCCCATCGGAGGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTCGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
eg7 ATGCTTATGAACGTCCCATCGGAGGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTCGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
eg9 ATGCTTATGAACGTCCCATCGGAGGCTTCAGGCCAAACACGTGTACTTTCTGCAAATGCACTCGAAACTACGATGAAAACGATACCGATTCGTGATGTGTGTGCTAATCAACTGGATAAAGGAGTCGTGGAAGAG
I have tried to change the sequence names so the J will not be read but when I do that it still reads that position as a continuation of the first sequence. I am not sure what I am doing wrong. Any help would be greatly appreciated!! Thank you very much!