Closed nicholascdove closed 2 years ago
Hi, I guess you might have specified the --force_nucleotides
parameter when creating the configuration file (that would explain the GTRCAT
model), but then run PhyloPhlAn without providing the same --force_nucleotides
param, so by default PhyloPhlAn will do the analysis on the proteins space instead of nucleotides.
Depending on your goals you could either re-run PhyloPhlAn by adding the --force_nucleotides
parameter, or create a new config file without the --force_nucleotides
parameter and then re-run PhyloPhlAn.
Please, let me know if something is not clear.
That's exactly right. Is it possible to proceed with my current tree (fastree) and .aln file with RAxML? For instance, do you have any guidance on choosing a different model? I'm thinking I can use -m LG
instead of -m GTRCAT
.
Yes, -m PROTCATLG
is the model that PhyloPhlAn will use in RAxML for amino acid alignments.
If you had FastTree as well, you probably can't use the tree (although I am surprised you got one and not an error), because when specifying the --force_nucleotides
the -gtr -nt
parameters are specified, instead if you have amino acids the -lg
param should be used.
So, in this case, I think you can directly run RAxML changing the GTRCAT
with the PROTCATLG
model for the -m
params.
Many thanks, Francesco
Thank you!
Yes,
-m PROTCATLG
is the model that PhyloPhlAn will use in RAxML for amino acid alignments.If you had FastTree as well, you probably can't use the tree (although I am surprised you got one and not an error), because when specifying the
--force_nucleotides
the-gtr -nt
parameters are specified, instead if you have amino acids the-lg
param should be used.So, in this case, I think you can directly run RAxML changing the
GTRCAT
with thePROTCATLG
model for the-m
params.Many thanks, Francesco
Hi. I was trying to follow the tutorial https://github.com/biobakery/biobakery/wiki/PhyloPhlAn-3.0:-Example-01:-S.-aureus and I had a similar error at step 5 during refining phylogeny as the phylophlan command in that step does not include --force_nucleotides
. I got no error in the previous steps and I got the resolved.tre. So, are you saying that the resolved.tre should not be used and I can't just directly run RAxML on the resolved.tre using -m PROTCATLG
to get the refined.tre?
Hi @sentausa, my previous comment was that without the refined.tre
one could directly run RAxML on the concatenated alignment using the appropriate model parameters.
I'm unsure about your specific case, but if you have the resolved.tre
, then you can use it as a starting tree with RAxML for doing the refinement.
Thank you, Francesco
During refining phylogeny, I came across this error:
I looked through my output folder and found no temporary RAxML files.
I then re-ran the following code:
raxmlHPC-PTHREADS-SSE3 -p 1989 -m GTRCAT -T 4 -t output_references/B_subtilis_input_bins_resolved.tre -w /Users/ndove/bioinfo_finite_2022/220518_phylophlan_test/output_references -s output_references/B_subtilis_input_bins_concatenated.aln -n B_subtilis_input_bins_refined.tre
and this is the error message I received:
Here is the sequence in question:
It looks like there is an issue with the RAxML model, as
GRTCAT
is supposedly for nucleotides and the alignment file is in AA format. How do you suggest proceeding?