-
Notifications
You must be signed in to change notification settings - Fork 111
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
Update busco to v4.1.3 #103
Conversation
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.
LGTM
edit: probably an update of the CHANGELOG would be good too.
Thanks @d4straub. I wasn't aware that with the new template one can do the container update and the actual workflow update in one PR, so that the test use the new container. I will add the other changes here too. |
So I adjusted the BUSO process code for the new BUSCO version (addresses #77). So far only to allow the basic functionality, i.e. no automatic lineage selection or offline running possible. I renamed the variable Additionally I changed the For the final busco summary for all bins I created an extra process. Since current versions of the BUSCO generate_plot.py (v4.1.3) can not handle additional dots within the summary file names, I unfortunately had to replace also dots with underscores in the bin names, which will also appear as such in the BUSCO plots. And I added an option The error handling of BUSCO should be improved (https://gitlab.com/ezlab/busco/-/issues/296), so no further handling of this will be required. |
3c5d0a4
to
daad9b2
Compare
daad9b2
to
f485038
Compare
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.
I could not see any problem (besides that cosmetic edit), looks good to me!
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.
It looks good to me too. The additional container should be a bridge towards porting the pipeline to DSL2. But I agree that it would be great to release it first once :)
Regarding the extra container: busco 4.1.3 (in contrast to busco 4.1.2) is now compatible with python 3.6.7 in the main container, however, the required |
Hi @nf-core/core , we need an extra container for Does anyone have an idea what the problem might be here? |
It looks like that version of NF is trying to use Conda instead of the Docker container as you have defined in this line. If you specify the |
Note: The pipeline won't work with |
Thanks @drpatelh ! Without specifying the But also with the latest nextflow release it seems the conda environment is activated even if the docker profile is used. Just somehow the tests do not fail. At least when looking into the |
Ok. Probably best to avoid specifying both then just in case it causes a software conflict somehow with the container. As I mentioned in the previous comment though this means you will have to strip out any docs suggesting that |
@drpatelh thought maybe one can enable the |
Ummm, possibly but that will depend on whether the |
First part: add extra container with updated BUSCO version.
Will contain fixes for #77.
I added an extra container for BUSCO, because
(The previous BUSCO version 4.1.2 was also incompatible with python 3.6.7 and required python 3.7, which on the other side is incompatible with centrifuge in the main container, but v4.1.3. now also works with python 3.6.7.)
I am not exactly sure, if the are any further packages which can be removed from the main
environment.yml
file, but I would suggest we address this in a follow-up PR if necessary.PR checklist
nextflow run . -profile test,docker
).nf-core lint .
).docs
is updatedCHANGELOG.md
is updatedREADME.md
is updatedLearn more about contributing: https://github.com/nf-core/mag/tree/master/.github/CONTRIBUTING.md