-
Notifications
You must be signed in to change notification settings - Fork 716
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
Lighter #6626
base: master
Are you sure you want to change the base?
Lighter #6626
Conversation
push some changes
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.
Some comments, but overall good job on this one 🥳
val genome_size //Estimated or user specified genome size | ||
val kmer_size //K_mer size | ||
val alpha // define alpha is optional, because "When using "-K" instead of "-k", Lighter will go through the reads an extra pass to decide C. " | ||
val output_dir |
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 these required values for the module to run?
tuple val(meta), path("*.fq.gz"), emit: outfastq | ||
path "versions.yml" , emit: 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.
tuple val(meta), path("*.fq.gz"), emit: outfastq | |
path "versions.yml" , emit: versions | |
tuple val(meta), path("*.fq.gz"), emit: outfastq | |
path "versions.yml" , emit: versions |
-r ${readList.join(' -r ')} \\ | ||
$k_par \\ | ||
-t $task.cpus \\ | ||
-od ${output_dir} \\ |
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.
-od ${output_dir} \\ | |
-od ${prefix} \\ |
I think it makes more sense to use the prefix here
--- | ||
# yaml-language-server: $schema=https://raw.githubusercontent.com/nf-core/modules/master/modules/meta-schema.json | ||
name: "lighter" | ||
## TODO nf-core: Add a description of the module and list keywords |
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.
## TODO nf-core: Add a description of the module and list keywords |
doi: "10.1186/s13059-014-0509-9" | ||
licence: ["MIT"] | ||
|
||
## TODO nf-core: Add a description of all of the variables used as input |
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.
## TODO nf-core: Add a description of all of the variables used as input |
when { | ||
process { | ||
""" | ||
// TODO nf-core: define inputs of the process here. Example: |
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.
// TODO nf-core: define inputs of the process here. Example: |
//TODO nf-core: Add all required assertions to verify the test output. | ||
// See https://nf-co.re/docs/contributing/tutorials/nf-test_assertions for more information and examples. |
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.
//TODO nf-core: Add all required assertions to verify the test output. | |
// See https://nf-co.re/docs/contributing/tutorials/nf-test_assertions for more information and examples. |
|
||
} | ||
|
||
// TODO nf-core: Change the test name preferably indicating the test-data and file-format used but keep the " - stub" suffix. |
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.
// TODO nf-core: Change the test name preferably indicating the test-data and file-format used but keep the " - stub" suffix. |
when { | ||
process { | ||
""" | ||
// TODO nf-core: define inputs of the process here. Example: |
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.
// TODO nf-core: define inputs of the process here. Example: |
assertAll( | ||
{ assert process.success }, | ||
{ assert snapshot(process.out).match() } | ||
//TODO nf-core: Add all required assertions to verify the test output. |
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.
//TODO nf-core: Add all required assertions to verify the test output. |
PR checklist
Closes #XXX
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
nf-core subworkflows test <SUBWORKFLOW> --profile docker
nf-core subworkflows test <SUBWORKFLOW> --profile singularity
nf-core subworkflows test <SUBWORKFLOW> --profile conda