Hi there,
I have just had time to look at the files you attached and have run some tests. Unfortunately, I have not been able to reproduce your error -- everything ran with both your input tree files. There are some things you may want to take a look at:
1. I extracted your input sequence file from your `mlc` output file (attached in the first message). You may want to check whether you aligned your sequences correctly before running CODEML as it seems there are some out of frame gaps.
2. I used your input sequence file (see above) and then both `A.txt` and `B.txt` files as your input tree files and had no problems when running CODEML (PAML v4.10.7). I just had to change the path to the input sequence and tree files in options `seqfile` and `treefile` in your `codeml.ctl` file, which I believe still has the name of other input files -- if I am not wrong, the input files for the one of the example datasets.
I am not sure why you are getting the error you posted in your first message, so you may want to make sure that the control file you are using is the correct one (i.e., the path to the input files and other settings are correctly specified). Make sure that you have also aligned your sequences correctly.
Hope this helps!
S.