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.1 #502

Closed
wants to merge 12 commits into from

Conversation

nf-core-bot
Copy link
Member

Version 3.0.1 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.1 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.1 release page.

Copy link

github-actions bot commented Oct 9, 2024

nf-core pipelines lint overall result: Passed ✅ ⚠️

Posted for pipeline commit 7025882

+| ✅ 220 tests passed       |+
#| ❔   2 tests were ignored |#
!| ❗   1 tests had warnings |!

❗ Test warnings:

❔ Tests ignored:

  • files_unchanged - File ignored due to lint config: .github/CONTRIBUTING.md
  • files_unchanged - File ignored due to lint config: .github/PULL_REQUEST_TEMPLATE.md

✅ Tests passed:

Run details

  • nf-core/tools version 3.0.1
  • Run at 2024-10-10 11:07:34

@rannick rannick self-assigned this Oct 11, 2024
Copy link
Contributor

@fellen31 fellen31 left a comment

Choose a reason for hiding this comment

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

Nice, just a few questions

Copy link
Contributor

Choose a reason for hiding this comment

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

Should this be here? If so, does it need to be added to nextflow.config?

Copy link
Contributor

Choose a reason for hiding this comment

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

There's also a files_exist - File not found: conf/igenomes.config warning in the linting - should it be added to the ignore list?

@@ -129,7 +129,6 @@ process {
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Keep the space


```yaml
```yaml title="params.yaml"
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe it's just my browser, but how do you see this title?

Copy link
Collaborator

@rannick rannick Oct 16, 2024

Choose a reason for hiding this comment

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

I don't see it, I think that is intentional, but indeed a bit weird

Comment on lines -247 to -268
//
// Function to generate an error if contigs in genome fasta file > 512 Mbp
//
def checkMaxContigSize(fai_file) {
def max_size = 512000000
fai_file.eachLine { line ->
def lspl = line.split('\t')
def chrom = lspl[0]
def size = lspl[1]
if (size.toInteger() > max_size) {
def error_string = "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n" +
" Contig longer than ${max_size}bp found in reference genome!\n\n" +
" ${chrom}: ${size}\n\n" +
" Provide the '--bam_csi_index' parameter to use a CSI instead of BAI index.\n\n" +
" Please see:\n" +
" https://github.com/nf-core/rnaseq/issues/744\n" +
"~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
error(error_string)
}
}
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Is this not needed anymore?

@nf-core-bot
Copy link
Member Author

Version 3.0.2 of the nf-core/tools pipeline template has just been released. This pull-request is now outdated and has been closed in favour of #504

Please use #504 to merge in the new changes from the nf-core template as soon as possible.

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