-
Notifications
You must be signed in to change notification settings - Fork 2
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 of hifiasm version #41
Conversation
|
If you just want to use the latest version of hifiasm, I can see one here: If you want to build your own version of hifiasm, you don't need to use wave. Like I said yesterday in Slack, wave can build docker image on the fly using a Dockefile or just a conda package on the fly, you don't need to store them somewhere. |
Thanks @gq1! The reason why we need a combined container is described in the PR description (see above) - we need samtools and hifiasm in the same package. The on-the-fly functionality hasn't been implemented yet: We can wait until it's implemented or we can host the image built with wave-cli and use it in the 'container' section. |
Hi both, Like you said, @ksenia-krasheninnikova , integrating wave into nf-core is still work-in-progress on their side (that may resume soon, cf nf-core/modules#4080 (comment) ) |
Both nf-core PRs only try to pre-build the containers using Conda or Spack packages for modules? I didn't try, maybe it just works if we have a local or modified nf-core modules when they only have conda environment or Spack file with wave? |
According to this discussion on slack it should be possible to add a “conda” directive and -with-wave and it should just work |
Not sure how you created the wave image currently, manually using conda and wave? The CI job failed when converting Docker image to SIF? You can try to run with Docker profile first? |
It may be because the Wave container registry only keeps images for 1 week and it's now been deleted. |
I've just created the wave image this week. The pipeline works fine for me locally with singularity profile. With docker docker/24.0.2-c1 hifiasm module fails for me locally on one of the farm nodes with this error:
|
@gq1 The image was created with this: |
You have a similar yaml file like this? |
@@ -6,9 +6,7 @@ process HIFIASM { | |||
exit 1, "This version of HIFIASM module does not support Conda. Please use Docker / Singularity / Podman instead." |
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.
no conda here
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.
Yes, thanks for spotting. Something went wrong with adding files in the previous commit.
Co-authored-by: Guoying Qi <[email protected]>
ebc8bc4
to
5f10844
Compare
@@ -0,0 +1,8 @@ | |||
name: hifiasm |
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.
This file can be removed from here.
Can you update the description of this PR?
|
This file was deleted as conda is not supported by current module implementation
The hifiasm patch facilitates piping in HiC data directly from CRAM using
samtools fastq
without creating intermediate FASTQ files.This update is aimed at updating hifiasm to the latest version (0.19.8).
For this purpose wave-cli was used and a new wave container was generated.
Since all containers kept by the native wave infrastructure are deleted in a week - should it be moved from
wave.seqera.io/wt/73ac3caec075/wave/build:hifiasm-0.19.8_samtools-1.20--1f6824530f0d0ad5
to the private repo and in this case do we have a ToL repo for that?
Otherwise, there is a way of building a container with wave inside of the project with Dockerfile:
https://www.nextflow.io/docs/latest/wave.html#build-module-containers
UPD:
In the course of working on the PR it was revealed that nf-core wave functionality has not been fully implemented to be built into the workflow. The combined image of hifiasm and samtools was created with wave-cli and will be hosted for now at quay.io/sanger-tol.
The command used to build the image:
wave-1.3.0-linux-x86_64 --conda-package hifiasm=0.19.8 --conda-package samtools=1.20
PR checklist
nf-core lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).docs/usage.md
is updated.docs/output.md
is updated.CHANGELOG.md
is updated.README.md
is updated (including new tool citations and authors/contributors).