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

error when doing the final epa-ng placement #40

Closed
AnaMariaCabello opened this issue Nov 23, 2021 · 11 comments
Closed

error when doing the final epa-ng placement #40

AnaMariaCabello opened this issue Nov 23, 2021 · 11 comments

Comments

@AnaMariaCabello
Copy link

Hi!
I got this error when running:
epa-ng
-t reference_tree.raxml.bestTree
-s reference_aligment.fasta
-q query.fasta
-w ./ --model reference_tree.raxml.bestModel

Please find attached the .err and the info.log files
jobLog_447616.err.txt
epa_info.log.txt

It looks like the query.fasta produces after ena-ng --split has a problem, but it looks normal to me.

Thank you so much for your help.

@pierrebarbera
Copy link
Owner

Hi @AnaMariaCabello !

looks like you're on an older version of epa-ng (0.3.5), could you try again with the current version?

Pierre

@AnaMariaCabello
Copy link
Author

oK! I will try that.
which one is the current version?

Thank you so much Pierre

@pierrebarbera
Copy link
Owner

That would be v0.3.8. How did you install the program?

@AnaMariaCabello
Copy link
Author

I didn't install it myself, it's installed in a cluster.

@pierrebarbera
Copy link
Owner

Hi @AnaMariaCabello, have you been able to update the version yet? Alternatively you can install the program locally for your user, following the instructions in the readme in this repository. let me know if you need any help.

@AnaMariaCabello
Copy link
Author

AnaMariaCabello commented Nov 26, 2021 via email

@AnaMariaCabello
Copy link
Author

Hi Pierre,
I finally tried to do a placement of short sequences (ca. 400 bps, a total of 39 sequences ) to a reference tree (24 reference sequences, ca. 1800 bps) using version v0.3.8.
The papara alignment worked and the epa-ng seemed to work too, but the epa_result.jplace output after running the epa-ng command did not include the short sequences, so I obtained only the sequences in the reference tree (I used itol to visualize the epa_result.jplace tree).

Is there any further step needed?

please find attached the commands and the .out files for both.
The error file for epa-ng was empty and the error file for papara only contained this:
sweep: 138 -> 0
[commands_placeme
epang_jobLog_458414.out.txt
nt.txt](https://github.com/Pbdas/epa-ng/files/7888550/commands_placement.txt)
papara_jobLog_458409.out.txt

Thanks a lot!
Ana

@pierrebarbera
Copy link
Owner

Hi Ana,

are you sure the .jplace doesn't contain the query sequences? When visualising in iTOL, placements are displayed as red circles (when clicking "on" in the box that says phylogenetic placements), as opposed to new branches in the tree, could this be the mixup?

Pierre

@AnaMariaCabello
Copy link
Author

Dear Pierre,
You were right, that was the mixup. Is there a way to visualise the placements as a new branches in the reference tree? this is my goal, but maybe I should have used a different approach. Should I use instead guppy or pplacer? could I use as input file for this the output of epa-ng, so the epa_result.jplace file? Any guidance on this will be appreciated.
Thank you so much,
Ana

@pierrebarbera
Copy link
Owner

Dear Ana,

you can generate such a tree using our other software called gappa, which includes a whole host of post-analysis methods that operate on phylogenetic placement results (in the form of .jplace files). The command you are looking for is called graft. This will generate a newick file with the queries mixed in.

Let us know if you run into any other issues!
Pierre

@AnaMariaCabello
Copy link
Author

OK, great! Thank you so much!

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