-
Notifications
You must be signed in to change notification settings - Fork 751
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
[DO NOT MERGE] Test PR to see how the template would look like when creating a new modules #7430
base: master
Are you sure you want to change the base?
Conversation
modules/nf-core/fastqc/meta.yml
Outdated
description: raw_sequence file | ||
pattern: "*.{fastq-like,sam,fastq,bam}" | ||
ontologies: | ||
- edam: "http://edamontology.org/data_0848" |
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.
For each of these, it might be nice to have a comment saying which one they are for - makes it easier for people to copy and paste very common ones (fastq, fasta, bam etc)
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.
yes! it's planned, I forgot to implement it now 😄 thanks for the suggestion!
modules/nf-core/fastqc/main.nf
Outdated
// TODO nf-core: List required Conda package(s). | ||
// Software MUST be pinned to channel (i.e. "bioconda"), version (i.e. "1.10"). | ||
// For Conda, the build (i.e. "h9402c20_2") must be EXCLUDED to support installation on different operating systems. |
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.
This TODO should be in environment.yml?
// TODO nf-core: Where possible, a command MUST be provided to obtain the version number of the software e.g. 1.10 | ||
// If the software is unable to output a version number on the command-line then it can be manually specified | ||
// e.g. https://github.com/nf-core/modules/blob/master/modules/nf-core/homer/annotatepeaks/main.nf | ||
// Each software used MUST provide the software name and version number in the YAML version file (versions.yml) |
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.
Could we explain how we do this when this is NOT possible?
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.
It is already explained, we mention it can be added manually. Would you rephrase it?
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.
Hmm, yes, it is on the line below, not sure why I said this, maybe I completely missed the following line.
We don't have great consistency where that VERSION string ends up in the file though, maybe it would be helpful to have it somewhere in the template.
modules/nf-core/fastqc/meta.yml
Outdated
input: | ||
- - meta: | ||
type: map | ||
description: | | ||
Groovy Map containing sample information | ||
e.g. [ id:'test', single_end:false ] | ||
- reads: | ||
e.g. `[ id:'sample1', single_end:false ]` |
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.
Can we remove this from the template? It isn't often required and gets left and clutters things up.
e.g. `[ id:'sample1', single_end:false ]` | |
e.g. `[ id:'sample1]` |
modules/nf-core/fastqc/meta.yml
Outdated
- "*.zip": | ||
e.g. `[ id:'sample1', single_end:false ]` | ||
- sequence_report: | ||
# TODO nf-core: Update the information obtained form bio.tools and make sure that it is correct |
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: Update the information obtained form bio.tools and make sure that it is correct | |
# TODO nf-core: Update the information obtained from bio.tools and make sure that it is correct |
Example for tools PR adding EDAM ontologies nf-core/tools#3418
The information from bio.tools is used to generate meta.yml and main.nf information when a module is created.