Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can I use -cal with PhyloBayes-MPI for time calibrated tree reconstruction? #33

Closed
Ruiqi-CUB opened this issue Jan 27, 2023 · 3 comments

Comments

@Ruiqi-CUB
Copy link

I was trying to use PhyloBayes-MPI with a large dataset. Thanks for developing this awesome tool!

However, I encountered a problem while trying to get time calibrated with "mpirun -np 20 pb_mpi", I checked the documentation of PhyloBayes-MPI, it seems that I can't use the -cal flag for time calibration. Is that correct? If so, should I get the consensus tree first with mpi, then use the consensus tree to run PhyloBayes on a single node with less iterations to get it calibrated?

Thanks a lot! Please see my code and returned message from terminal below.
Code (just run 2 iterations to check): mpirun -np 20 pb_mpi -cat -gtr -x 1 2 -d PHYLIP -T MYTREE -r OUTGROUP -cal CALFILE -ln treecalib.CAT_GTR.chain0

The terminal just returns with all the flag options with the following:

Primary job terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.


mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

Process name: [[16724,1],1]
Exit code: 1

Thanks a lot!

@bayesiancook
Copy link
Owner

Dear Ruiqi,

pbmpi does not implement molecular dating. Only the original non-mpi version of phylobayes does (bayesiancook/phylobayes.git). The MPI version was meant to be specialized for more efficient phylogenetic estimation, leaving out all other options of the original version.

of note, if your dataset is large in terms of number of aligned positions, you could certainly try to run a dating analysis with a smaller number of positions.

I hope this helps,

best,

bc.

@Ruiqi-CUB
Copy link
Author

Ruiqi-CUB commented Jan 27, 2023 via email

@bayesiancook
Copy link
Owner

bayesiancook commented Jan 28, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants