This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Question About Input Tree In Paml Codeml

Hi, does anyone know whether the input tree for PAML codeml analysis should be got based on codon alignment or amino acid alignment? Thanks!

paml phylogenetics

2 answers

Hi

For positive selection prediction (Codeml module of PAML), one needs to provide the species tree. The Ids of the tree should be same as in the alignment file. Alignment file can be generated by codon based alignments (prank-codon is the recommended package).

Thanks! If some parts of the tree are not well resolved and the protein tree does not correspond well to the species tree, or if gene duplication happens, what kind of tree should I prepare? Should it be inferred based on codon alignment or protein sequence alignment? Thanks!

I'm a little confused by your question. PAML is a maximum likelihood phylogenetics program which can handle both nucleotide and protein data. The input would be an aligned data matrix of nucleotide or protein data and the output would be a nexus file corresponding to the phylogenetic tree (or trees). There should be no input tree, but perhaps there is an analysis in PAML that I am not aware of. It's not on my list of choices for best phylogenetics programs.

Sorry, I meant that I wanted to use PAML to infer positive selection using codeml.

Log in to answer this question.