-
Notifications
You must be signed in to change notification settings - Fork 440
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
Updating tools/pangolin from version 3.1.20 to 4.0.5 #4494
Conversation
That's an important update. I guess @pvanheus or me will take care of it. Whoever has some time first :) |
Prevents also the use of incompatible cached data from previous versions. Adds a version command.
Here's my preliminary work on this. Makes the tool run again at least and updates the documentation. |
The test in usher mode is passing now. pangolearn mode (all the failing tests) has some issue, but debugging this from the error alone is prevented by cov-lineages/pangolin#419. |
Hopefully this gives us a clearer error message. Also tries to be explicit about $TMPDIR.
After updating the misleading tempdir message has gone away, but no other error message gets revealed :( |
That looks like the error. |
No, that you're getting with the --update-data option (because the datadir gets checked before its populated) and if the data was already up to date (because in that case --update-data is not doing anything, but I checked locally and in both cases things work afterwards (also you're getting the same warnings in usher mode). |
So to focus on the important bits:
is failing with this stderr:
Unfortunately without any sign (at least for me) of an error message. stdout is:
but again that's not very revealing.
|
I got some helpful hints over in cov-lineages/pangolin#433 and cov-lineages/pangolin#395 has more information. |
We can control memory requirements based on parameters. Its not super easy, but possible. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Style-wise the outputs are locking strange, but overall this looks good.
I think we need to play with the tool and estimate the memory consumption in this one mode.
@bgruening strange because of the conditional actions you mean? I agree that we should maybe just gather some experience with the new tool. If the pangolearn mode causes problems we can still decide to split it out into a separate tool. |
If you are talking about the strange control chars on stdout/stderr - those come from https://github.com/cov-lineages/pangolin/blob/f2f30b07059e1c959ad943ce3e4aa4704a65079b/pangolin/utils/custom_logger.py. |
Oh sorry, I was not clear. The XML, you broke the lines very strange. But maybe thats the new editor :) Feel free to merge. |
It's just my old-fashioned preference for being able to read things at an 80 chars width without much line wrapping :) https://galaxy-iuc-standards.readthedocs.io/en/latest/best_practices/tool_xml.html#coding-style is somewhat ambiguous here, but not sold to anything anyway. |
Hello! This is an automated update of the following tool: tools/pangolin. I created this PR because I think the tool's main dependency is out of date, i.e. there is a newer version available through conda.
I have updated tools/pangolin from version 3.1.20 to 4.0.4.
Project home page: https://github.com/cov-lineages/pangolin/releases