We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The meta.yml is currently updated manually, but the input and output fields could be auto-generated from the main.nf in the same directory.
main.nf
For example
input: tuple val(meta), path('tmp_input/*') each lineage path busco_lineages_path path config_file output: tuple val(meta), path("*-busco.batch_summary.txt"), emit: batch_summary tuple val(meta), path("short_summary.*.txt") , emit: short_summaries_txt, optional: true tuple val(meta), path("short_summary.*.json") , emit: short_summaries_json, optional: true tuple val(meta), path("*-busco") , emit: busco_dir path "versions.yml" , emit: versions
could be turned into output like:
input: - meta: type: map description: | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] - placeholder1: # TODO provide a suitable variable name for this placeholder 'tmp_input/*' type: file description: "# TODO add description" - lineage: type: string description: "# TODO add description" - busco_lineages_path: type: file description: "# TODO add description" - config_file: type: file description: "# TODO add description" output: - meta: type: map description: | Groovy Map containing sample information e.g. [ id:'test', single_end:false ] - batch_summary: type: file description: "# TODO add description" pattern: "*-busco.batch_summary.txt" - short_summaries_txt: type: file description: "# TODO add description" pattern: "short_summary.*.txt" - short_summaries_json: type: file description: "# TODO add description" pattern: "short_summary.*.json" - busco_dir: type: file description: "# TODO add description" pattern: "*-busco" - versions: type: file description: File containing software versions pattern: "versions.yml"
The text was updated successfully, but these errors were encountered:
Related: #3011
Sorry, something went wrong.
Personally I prefer nf-core modules lint --fix rather than a new subcommand. See #2789 (comment)
nf-core modules lint --fix
I forgot I even made this. Yes, --fix is a good solution.
--fix
done, we now have nf-core modules lint --fix
No branches or pull requests
Description of feature
The meta.yml is currently updated manually, but the input and output fields could be auto-generated from the
main.nf
in the same directory.For example
could be turned into output like:
The text was updated successfully, but these errors were encountered: