-
Notifications
You must be signed in to change notification settings - Fork 3
transfer parameter definitions from deepmutscan.nf to nextflow.config #18
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
base: dev
Are you sure you want to change the base?
Conversation
|
Warning Newer version of the nf-core template is available. Your pipeline is using an old version of the nf-core template: 3.1.2. For more documentation on how to update your pipeline, please see the nf-core documentation and Synchronisation documentation. |
| }, | ||
| "sliding_window_size": { | ||
| "type": "integer", | ||
| "description": "To flatten graphs in plots (e.g. GLOBAL_POS_BIASES_COUNTS function)", |
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.
| "description": "To flatten graphs in plots (e.g. GLOBAL_POS_BIASES_COUNTS function)", | |
| "description": "To flatten graphs in plots (e.g. `GLOBAL_POS_BIASES_COUNTS` function)", |
you can use markdown syntax for the description
| "mutagenesis_type": { | ||
| "type": "string", | ||
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'", | ||
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'. Default library is set to nnk", |
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.
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'. Default library is set to nnk", | |
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'.", |
we usually show the default value in all the relevant places already.
| "type": "string", | ||
| "format": "file-path", | ||
| "description": "Path to a comma-separated .txt file listing custom codons (e.g., 'AAA,AAC,AAG,...'). Required when mutagenesis_type is 'custom'." | ||
| "description": "Path to a comma-separated .txt file listing custom codons (e.g., 'AAA,AAC,AAG,...'). Required when mutagenesis_type is set to 'custom'." |
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.
is a comma-separated .txt file, not a .csv file?
| "description": "Path to a comma-separated .txt file listing custom codons (e.g., 'AAA,AAC,AAG,...'). Required when mutagenesis_type is set to 'custom'." | |
| "description": "Path to a comma-separated .txt file listing custom codons (e.g., 'AAA,AAC,AAG,...'). Required when mutagenesis_type is set to `custom`." |
| "aimed_cov": { | ||
| "type": "integer", | ||
| "description": "aimed coverage (assuming equal spread) to visualize threshold in plots", | ||
| "default": 100 |
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.
one can set minimum and maximum values in json schema: https://json-schema.org/understanding-json-schema/reference/numeric#range , to help with some parameter validation
| "mutagenesis_type": { | ||
| "type": "string", | ||
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'", | ||
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'. Default library is set to nnk", |
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.
using enums simplifies parameter validation
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'. Default library is set to nnk", | |
| "description": "Type of mutagenic primers. Choose from nnk, nns, max_diff_to_wt, custom. When using 'custom', also provide the parameter 'custom_codon_library'. Default library is set to nnk", | |
| "enum": ["nnk", "nns", "max_diff_to_wt", "custom"], |
| "type": "boolean", | ||
| "default": false, | ||
| "description": "Enable DiMSum execution." | ||
| "description": "Run DiMSum for fitness/functionality scores from grwoth-based selection input & output samples" |
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.
| "description": "Run DiMSum for fitness/functionality scores from grwoth-based selection input & output samples" | |
| "description": "Run DiMSum for fitness/functionality scores from growth-based selection input & output samples" |
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).