-
Notifications
You must be signed in to change notification settings - Fork 37
Added optional Bwa index parameter to skip bwamem2 index for a faster output #132
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
Changes from 26 commits
c7867ab
b8b638f
16cad1b
f96e208
c11a49d
567a431
8a20d2d
d5ae511
6417907
257ff2d
8527ccd
d23962a
5eeac1a
2b6c91d
3aef3c6
2649b29
db1437e
7855613
b7cbd8e
457e19b
df0f9c0
16f508a
e8ac39a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
maxulysse marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,72 @@ | ||
| process { | ||
|
|
||
|
|
||
| // TODO nf-core: Check the defaults for all processes | ||
| cpus = { 1 * task.attempt } | ||
| memory = { 6.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
|
|
||
| errorStrategy = { task.exitStatus in ((130..145) + 104) ? 'retry' : 'finish' } | ||
| maxRetries = 2 | ||
| maxErrors = '-1' | ||
|
|
||
|
|
||
| // Subsampling reads | ||
| withName: 'SEQTK_SAMPLE' { | ||
| cpus = 6 | ||
| memory = { 4.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
|
|
||
| // Quality control | ||
| withName: 'FASTQC' { | ||
| cpus = 2 | ||
| memory = { 36.GB * task.attempt } | ||
| time = { 8.h * task.attempt } | ||
| } | ||
| withName: 'SEQFU_STATS' { | ||
| cpus = 6 | ||
| memory = { 4.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
| withName: 'FASTQSCREEN_FASTQSCREEN' { | ||
| cpus = 6 | ||
| memory = { 36.GB * task.attempt } | ||
| time = { 8.h * task.attempt } | ||
| } | ||
|
|
||
| // Reference genome processing | ||
| withName: 'BWAMEM2_INDEX' { | ||
| cpus = 12 | ||
| memory = { 72.GB * task.attempt } | ||
| time = { 16.h * task.attempt } | ||
| } | ||
| withName: 'BWAMEM2_MEM' { | ||
| cpus = 6 | ||
| memory = { 35.GB * task.attempt } | ||
| time = { 16.h * task.attempt } | ||
| } | ||
| withName: 'SAMTOOLS_INDEX' { | ||
| cpus = 6 | ||
| memory = { 4.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
| withName: 'SAMTOOLS_FAIDX' { | ||
| cpus = 6 | ||
| memory = { 6.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
| // Picard metrics | ||
| withName: 'PICARD_COLLECTMULTIPLEMETRICS' { | ||
| cpus = 4 | ||
| memory = { 8.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
|
|
||
| // MultiQC aggregation | ||
| withName: 'MULTIQC_GLOBAL|MULTIQC_PER_TAG' { | ||
| cpus = 4 | ||
| memory = { 4.GB * task.attempt } | ||
| time = { 4.h * task.attempt } | ||
| } | ||
| } |
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so for me bwa and other indexes should be fetch using getGenomeAttribute at this level from the igenomes.config file around L17 |
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -16,10 +16,10 @@ params { | |
| skip_tools = '' | ||
| // References | ||
| genome = null | ||
| fasta = null | ||
| igenomes_base = 's3://ngi-igenomes/igenomes/' | ||
| igenomes_ignore = false | ||
| sort_bam = true | ||
| bwa_index = null | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. that should not be needed |
||
|
|
||
| // Fastqscreen options | ||
| fastq_screen_references = "${projectDir}/assets/example_fastq_screen_references.csv" | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -51,7 +51,7 @@ | |
| "skip_tools": { | ||
| "type": "string", | ||
| "description": "Comma-separated string of tools to skip", | ||
| "pattern": "^((fastqc|fastqscreen|seqfu_stats|seqtk_sample|bwamem2_index|bwamem2_mem|picard_collectmultiplemetrics|samtools_faidx|samtools_index)?,?)*(?<!,)$" | ||
| "pattern": "^((fastqc|fastqscreen|seqfu_stats|seqtk_sample|bwamem2_index|bwamem2_mem)?,?)*(?<!,)$" | ||
| } | ||
| } | ||
| }, | ||
|
|
@@ -94,7 +94,7 @@ | |
| }, | ||
| "fastq_screen_references": { | ||
| "type": "string", | ||
| "default": "${projectDir}/assets/example_fastq_screen_references.csv", | ||
| "default": "/Users/agrimabhatt/seqinspector/assets/example_fastq_screen_references.csv", | ||
maxulysse marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| "fa_icon": "fas fa-search", | ||
| "description": "A .csv of reference genomes to be mapped against by FastQ Screen" | ||
| } | ||
|
|
@@ -214,7 +214,8 @@ | |
| "modules_testdata_base_path": { | ||
| "type": "string", | ||
| "description": "Base path / URL for data used in the modules", | ||
| "hidden": true | ||
| "hidden": true, | ||
| "default": "s3://ngi-igenomes/testdata/nf-core/modules/" | ||
| }, | ||
| "multiqc_config": { | ||
| "type": "string", | ||
|
|
@@ -270,5 +271,10 @@ | |
| { | ||
| "$ref": "#/$defs/generic_options" | ||
| } | ||
| ] | ||
| ], | ||
| "properties": { | ||
| "bwa_index": { | ||
| "type": "string" | ||
| } | ||
| } | ||
|
||
| } | ||
Uh oh!
There was an error while loading. Please reload this page.