-
Notifications
You must be signed in to change notification settings - Fork 3
nf-test for local execute_clustering subworkflow #53
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
Conversation
…ing_tool param as input, added nf-test config files
@@ -18,7 +19,7 @@ workflow EXECUTE_CLUSTERING { | |||
MMSEQS_CREATEDB( sequences ) | |||
ch_versions = ch_versions.mix( MMSEQS_CREATEDB.out.versions ) | |||
|
|||
if (params.clustering_tool == 'cluster') { | |||
if (clustering_tool == 'cluster') { | |||
cluster_res = MMSEQS_CLUSTER( MMSEQS_CREATEDB.out.db ) | |||
ch_versions = ch_versions.mix( MMSEQS_CLUSTER.out.versions ) | |||
} else { // fallback: linclust |
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.
In the test you test if clustering_tool
is cluster
or linclust
, but here only if it's different from cluster
.
Is there a reason for that ?
Could you harmonize it ?
Otherwise, LGTM :)
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.
Since there are currently only two choices ['linclust', 'cluster']
, the else condition captures the linclust
option ;)
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.
OK, I just saw the keyword 'hamronize'. Explicitly stated linclust
as the alternate option. Anything else is caught and thrown as error at the json schema level.
…aught at schema level due to enum
Closes #47
PR checklist
nf-core pipelines lint
).nextflow run . -profile test,docker --outdir <OUTDIR>
).nextflow run . -profile debug,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).