ddarriba / modeltest

Best-fit model selection
GNU General Public License v3.0
77 stars 21 forks source link

iqtree incompatibility for some models (iqtree template) #58

Open balabanmetin opened 2 years ago

balabanmetin commented 2 years ago

Great software! I had a small request. Would you create a template for iqtree, please?

I have an automated script that runs modeltest, fetches the command in the output log file and runs it. In one scenario, the best model was JTT-DCMUT+G4. The log file says the right iqtree command is

iqtree -s aln.fa -m JTT-DCMUT+G4

however, the right command should be JTTDCMut+G4. Can you translate the model names to iqtree when they are different? Apparently raxml-ng and iqtree does not fully match.

modeltest-ng version is 0.1.7 retrieved from conda.

balabanmetin commented 2 years ago

for the workaround add the following to the command: -m -STMTREV,-JTT-DCMUT