-
Notifications
You must be signed in to change notification settings - Fork 94
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
Conversation
|
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.
Nice, just a few questions
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 this be here? If so, does it need to be added to nextflow.config?
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.
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 }, | |||
] | |||
} | |||
|
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.
Keep the space
|
||
```yaml | ||
```yaml title="params.yaml" |
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.
Maybe it's just my browser, but how do you see this title?
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 don't see it, I think that is intentional, but indeed a bit weird
// | ||
// 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) | ||
} | ||
} | ||
} | ||
|
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 this not needed anymore?
Version Please use #504 to merge in the new changes from the nf-core template as soon as possible. |
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.