codeml stops running after first model without any error message

429 views
Skip to first unread message

Maude Jacquot

unread,
Sep 16, 2016, 5:38:44 AM9/16/16
to PAML discussion group
 Hi all,

I want to use PAML to carry out the selection analysis of 43 sequences. 

I set up an analysis to run the M0, M1, M2 and M3 models in codeml. The analysis starts to run well for the first model (M0) and then stops to run without any error message.  

I tried both the command line and PAML-X tools. Results obtained are the same. 

It looks like the inf file is not normal and I have this extra file called 4fold.nuc which is not created by the example provided by developers.

I attached here my config file and the outputs. I could send the inputs privately too.

Does anyone have a idea? Any thought would be much appreciated.

All the best,

Maude
2NG.dN
rub
2NG.dS
2NG.t
4fold.nuc
codeml.ctl
lnf
mlc
rst
rst1

Ziheng

unread,
Sep 22, 2016, 2:37:06 PM9/22/16
to PAML discussion group
the tree file is missing so I can't tell what may be wrong. 
the output file ends with

"Model 0: one-ratio"

without results, which may indicate a problem with the tree file.

are you sure there were no error messages on the monitor?

ziheng


Maude Jacquot

unread,
Sep 23, 2016, 3:42:58 AM9/23/16
to PAML discussion group
Hi Ziheng,

Thank you for your answer. Here are my inputs files as well a a screenshot of the monitor. Hope this helps, I definitely can't figure out what's happening.

All the best,

Maude
codeml.ctl
Seg1_phy.txt
Seg1_tree.txt
Screen Shot 2016-09-23 at 08.37.58.png

Sungmin Lee

unread,
Sep 23, 2016, 10:51:27 AM9/23/16
to PAML discussion group
Hi, 

Species 0.78? in the bottom of your terminal is actually an error message. It looks like you used some sort of program that generates nodal/branch support for the tree estimation. Since the node is defined and there is no associated sequence, paml will not proceed the analysis unless you remove those. You can write a python script to deal with them.

Best,
Sung


Maude Jacquot

unread,
Oct 5, 2016, 4:24:55 AM10/5/16
to PAML discussion group
Hi Sung,

Thank you very much, this solved my problem.

All the best,

Maude

Maude Jacquot

unread,
Oct 6, 2016, 9:55:11 AM10/6/16
to PAML discussion group
Hi again,

Thanks again for your advise: I've been able to run PAML to carry out the selection analysis of sequences. I set up an analysis to run the M0, M1, M2 and M3 models in codeml. I'm now struggling with the interpretation of the outputs. I want to determine which model best fit my data. To do this, I assume I have to compare the log likelihood values found in the mlc file:

Model 0: -9497.825012
Model 1: -9480.796282
Model 2: -9480.796285
Model 3: -9480.474092

Here, the model 3 (discrete) seems to be the best, right?

What do you think about the really small differences between M1, 2 and 3 lnL? Can I be confident in saying that one of these models is better than another one?

Thanks for your help,

Maude
Message has been deleted

Sungmin Lee

unread,
Oct 6, 2016, 1:36:42 PM10/6/16
to PAML discussion group
Hi Maude, 

You can compare M3 with M0 and M2 with M1. Do a LRT to see whether the null model is rejected or not. I think M3 shows a variation rather than the positive selection, this was mentioned in one of Dr. Yang paper as far as I remember.

Cheers,
Sung
Reply all
Reply to author
Forward
0 new messages