-
Notifications
You must be signed in to change notification settings - Fork 34
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
Important! Template update for nf-core/tools v3.0.2 #545
base: dev
Are you sure you want to change the base?
Conversation
|
A full test was run locally and it passed. |
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 would be good to make a few broken samplesheets and upload to the test-data repo so we can double check the schema is working like I did here: nf-core/test-datasets#1350
Did you also check that all our meta condition checks like meta.<xxx> == null
or !meta.<xxx>
for optional meta fields are OK, and tags look OK, no random []
empty strings, given https://nfcore.slack.com/archives/C056RQB10LU/p1729069030926369?
I
.nf-core.yml
Outdated
repository_type: pipeline | ||
nf_core_version: "2.14.1" | ||
template: | ||
author: James A. Fellows Yates, Sofia Stamouli, Moritz E. Beber, and the nf-core/taxprofiler |
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.
You definitely need to add yourself here @LilyAnderssonLee ! and I think also needs to go in the nextflow.config
and license!
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.
I also added myself in the README
.
@@ -28,7 +27,6 @@ | |||
}, | |||
"db_name": { |
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.
I wonder if this should also be made unique per tool too
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.
I think "uniqueEntries": ["tool", "db_name"]
is sufficient. Different databases can be used with the same tool. This could be useful for certain purposes, for instance database validations.
assets/schema_input.json
Outdated
@@ -8,13 +8,12 @@ | |||
"type": "object", | |||
"properties": { | |||
"sample": { | |||
"type": "string", | |||
"type": ["string", "integer"], | |||
"errorMessage": "Sample name must be provided and cannot contain spaces", |
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.
We don't have a regex corresponding to this errorMessage, should e added
"errorMessage": "Sample name must be provided and cannot contain spaces", | ||
"meta": ["id"] | ||
}, | ||
"run_accession": { | ||
"type": "string", | ||
"unique": ["sample"], | ||
"type": ["string", "integer"], | ||
"errorMessage": "Run accession must be provided and cannot contain spaces." |
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.
Same here
// Limit resources so that this can run on GitHub Actions | ||
resourceLimits = [ | ||
cpus: 2, | ||
memory: '6.GB', |
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.
Should be synced with teh test.config
values, e.g. memory should be 15.GB
etc
And applies across all configs
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.
I will update the memory limit in all test configs to 15. GB.
Co-authored-by: James A. Fellows Yates <[email protected]>
Co-authored-by: James A. Fellows Yates <[email protected]>
Co-authored-by: James A. Fellows Yates <[email protected]>
Version
3.0.2
of nf-core/tools has just been released with updates to the nf-core template. This automated pull-request attempts to apply the relevant updates to this pipeline.Please make sure to merge this pull-request as soon as possible, resolving any merge conflicts in the
nf-core-template-merge-3.0.2
branch (or your own fork, if you prefer). Once complete, make a new minor release of your pipeline.For instructions on how to merge this PR, please see https://nf-co.re/docs/contributing/sync/.
For more information about this release of nf-core/tools, please see the
v3.0.2
release page.