Skip to content
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

Open
wants to merge 14 commits into
base: dev
Choose a base branch
from

Conversation

nf-core-bot
Copy link
Member

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.

Copy link

github-actions bot commented Oct 17, 2024

nf-core pipelines lint overall result: Passed ✅

Posted for pipeline commit 05b743f

+| ✅ 281 tests passed       |+

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.2
  • Run at 2024-10-22 12:38:20

@LilyAnderssonLee
Copy link
Contributor

A full test was run locally and it passed.

Copy link
Member

@jfy133 jfy133 left a 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
Copy link
Member

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!

Copy link
Contributor

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.

CITATIONS.md Outdated Show resolved Hide resolved
@@ -28,7 +27,6 @@
},
"db_name": {
Copy link
Member

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

Copy link
Contributor

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.

@@ -8,13 +8,12 @@
"type": "object",
"properties": {
"sample": {
"type": "string",
"type": ["string", "integer"],
"errorMessage": "Sample name must be provided and cannot contain spaces",
Copy link
Member

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."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

conf/modules.config Outdated Show resolved Hide resolved
// Limit resources so that this can run on GitHub Actions
resourceLimits = [
cpus: 2,
memory: '6.GB',
Copy link
Member

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

Copy link
Contributor

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.

nextflow.config Outdated Show resolved Hide resolved
LilyAnderssonLee and others added 5 commits October 22, 2024 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants