Open
Conversation
Joon-Klaps
reviewed
Apr 15, 2026
|
|
||
| output: | ||
| tuple val(meta), path("*.tsv"), emit: clusters | ||
| tuple val("${task.process}"), val('diamond'), eval("diamond --version | sed 's/diamond version //g'"), emit: versions_diamond, topic: versions |
Contributor
There was a problem hiding this comment.
Suggested change
| tuple val("${task.process}"), val('diamond'), eval("diamond --version | sed 's/diamond version //g'"), emit: versions_diamond, topic: versions | |
| tuple val("${task.process}"), val('diamond'), eval("diamond --version | sed 's/.* //g'"), emit: versions_diamond, topic: versions |
Look I'm usefull
| """ | ||
| diamond \\ | ||
| deepclust \\ | ||
| ${args} \\ |
Contributor
There was a problem hiding this comment.
Suggested change
| ${args} \\ | |
| ${args} \\ | |
| --memory-limit "${task.memory.toGiga()}" \\ |
From cli:
--memory-limit Memory limit in GB (default = 16G)
| ${args} \\ | ||
| -p ${task.cpus} \\ | ||
| --db ${fasta} \\ | ||
| --out ${prefix}.tsv |
Contributor
There was a problem hiding this comment.
Think ur also missing an optional output file. Think we might need to add a save_aln input arg
--aln-out Output file for clustering alignments
| description: Input protein FASTA file to be clustered | ||
| pattern: "*.{fa,faa,fasta,fa.gz,faa.gz,fasta.gz}" | ||
| ontologies: | ||
| - edam: http://edamontology.org/format_1929 # FASTA |
Contributor
There was a problem hiding this comment.
Aww yeah with comments :D
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR checklist
topic: versions- See version_topicslabelnf-core modules test <MODULE> --profile dockernf-core modules test <MODULE> --profile singularitynf-core modules test <MODULE> --profile condanf-core subworkflows test <SUBWORKFLOW> --profile dockernf-core subworkflows test <SUBWORKFLOW> --profile singularitynf-core subworkflows test <SUBWORKFLOW> --profile conda