-
Notifications
You must be signed in to change notification settings - Fork 695
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 Hifiasm to 0.19.9 #6796
base: master
Are you sure you want to change the base?
Update Hifiasm to 0.19.9 #6796
Conversation
tag "modules_nfcore" | ||
tag "hifiasm" | ||
|
||
test("Test HifiAsm - fq [] [] [] []") { |
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.
test("Test HifiAsm - fq [] [] [] []") { | |
test("homo_sapiens pacbio hifi [fastq]") { |
process.out.raw_unitigs, | ||
process.out.processed_contigs, | ||
process.out.processed_unitigs, | ||
process.out.primary_contigs, | ||
process.out.alternate_contigs, | ||
process.out.paternal_contigs, | ||
process.out.maternal_contigs, | ||
process.out.versions |
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.
are you leaving out any channel or could all out channels be captured with process.out
?
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'm leaving out the log and the binary files as those are not stable. The latter aren't documented as output files either but I figured some people might depend on them and I did not want to change the process definition.
], | ||
[ | ||
|
||
], |
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.
optional outputs ?
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, these are optional. Should I rather remove them from the test if we expect them to not be present?
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
u need to rm pytests and fix the nf-tests. reach on #nf-test channel if you are stuck |
Thank you for the contribution. |
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 could be adressed in another PR, but since you are writing the tests:
The paternal and maternal kmer inputs (as well as the HiC inputs) are specific to the reads, and I think they should be input together, i.e.:
tuple val(meta), path(reads), path(paternal_kmer_dump), path(maternal_kmer_dump), path(hic_read1), path(hic_read2)
Otherwise, I think there's no way to ensure that the reads and kmers that belong together are input to the process together, so Sample1 could get Sample2's parental kmers.
@@ -2,4 +2,4 @@ channels: | |||
- conda-forge | |||
- bioconda | |||
dependencies: | |||
- bioconda::hifiasm=0.19.8 | |||
- bioconda::hifiasm=0.19.9 |
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.
Could we update this straight to 0.20.0?
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 think there's value in having version 0.19.9 in at least one version of nf-core/modules. In part because there appear to be some major changes in 0.20. We could combine the update to that version with your suggested change of the input channel.
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'll post it as a separate issue: #6799
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.
You will need to pass -f0
with a nextflow.config
to hifiasm to reduce the RAM requirements, in order for the tests to run on the GitHub runners.
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.
Thanks for the hint! I was going crazy over that 😄
bee19fb
to
0f407ae
Compare
0f407ae
to
7574aed
Compare
We usually use |
Bumped HifiAsm to 0.19.9. Also added tests.
PR checklist
versions.yml
file.label
nf-core modules test <MODULE> --profile docker
nf-core modules test <MODULE> --profile singularity
nf-core modules test <MODULE> --profile conda