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

Release 2.2.0 #580

Merged
merged 165 commits into from
Sep 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
70ba186
typo
EmelineFavreau Jun 3, 2024
a7ab56a
bump-version 2.2.0dev
ramprasadn Jun 3, 2024
ff911cd
Merge branch 'dev' into em-typo
ramprasadn Jun 3, 2024
6aeecee
lint
ramprasadn Jun 3, 2024
d643bc6
Merge branch 'dev' into em-typo
ramprasadn Jun 3, 2024
b453a58
Merge pull request #562 from nf-core/em-typo
ramprasadn Jun 5, 2024
efb39f6
adds missinf citations for bwameme
jemten Jun 5, 2024
08f0514
Merge pull request #563 from nf-core/update_docs_for_meme
jemten Jun 10, 2024
c568ef7
change type and update container
ramprasadn Jun 18, 2024
73a561d
Merge branch 'master' of github.com:nf-core/raredisease into patch
ramprasadn Jun 18, 2024
bf98157
revert a change
ramprasadn Jun 18, 2024
16c2be0
fix typo
ramprasadn Jun 18, 2024
71c81b3
update bwameme
ramprasadn Jun 18, 2024
03a71f6
update bwameme
ramprasadn Jun 18, 2024
98ed2cd
remove readcount interval generation
ramprasadn Jun 20, 2024
27cf8fb
update module
ramprasadn Jun 20, 2024
481f9f5
add sort threads option
ramprasadn Jun 20, 2024
1163804
Merge branch 'dev' of github.com:nf-core/raredisease into patch
ramprasadn Jun 20, 2024
5296b87
update changelog
ramprasadn Jun 20, 2024
9c74555
update changelog
ramprasadn Jun 20, 2024
798a150
fix error [skip ci]
ramprasadn Jun 20, 2024
3cbe7a7
remove module
ramprasadn Jun 20, 2024
306d03b
skip repeat analysis
ramprasadn Jun 20, 2024
aa4c0e6
fix error
ramprasadn Jun 20, 2024
74087e2
add skip_snv_calling
ramprasadn Jun 20, 2024
a27392d
add to nextflow.config
ramprasadn Jun 21, 2024
e39c099
reorder
ramprasadn Jun 21, 2024
7cc4bda
reorder sv bits
ramprasadn Jun 21, 2024
ee2a11d
fix indents
ramprasadn Jun 21, 2024
ad13478
Merge branch 'modularize-everything-1' into modularize-everything-2
ramprasadn Jun 21, 2024
62206ae
Update CHANGELOG.md
ramprasadn Jun 21, 2024
d2e1aa7
wes updates
ramprasadn Jun 22, 2024
4def482
review suggestions
ramprasadn Jun 24, 2024
1ffcaa1
review suggestions
ramprasadn Jun 24, 2024
e896500
Merge branch 'patch' of github.com:nf-core/raredisease into patch
ramprasadn Jun 24, 2024
ca4cdad
prettier
ramprasadn Jun 24, 2024
a8e86f5
Merge branch 'patch' into modularize-everything-1
ramprasadn Jun 24, 2024
744b841
Merge pull request #570 from nf-core/patch
ramprasadn Jun 24, 2024
1043128
Merge branch 'dev' of github.com:nf-core/raredisease into modularize-…
ramprasadn Jun 24, 2024
db74304
update changelog
ramprasadn Jun 24, 2024
07ff9d3
review suggestions
ramprasadn Jun 24, 2024
277c054
Merge pull request #571 from nf-core/modularize-everything-1
ramprasadn Jun 24, 2024
cd7cd00
Merge branch 'dev' of github.com:nf-core/raredisease into modularize-…
ramprasadn Jun 24, 2024
90fad32
fix logic
ramprasadn Jun 24, 2024
f1ab55d
changelog
ramprasadn Jun 24, 2024
31e8f2e
fix error
ramprasadn Jun 24, 2024
010da06
Merge pull request #572 from nf-core/modularize-everything-2
ramprasadn Jun 24, 2024
1e6a122
Merge branch 'dev' of github.com:nf-core/raredisease into wes
ramprasadn Jun 24, 2024
66f4e48
update call sv workflow
ramprasadn Jun 24, 2024
8e13411
fix error
ramprasadn Jun 24, 2024
0ccf239
update changelog
ramprasadn Jun 24, 2024
27fde73
Merge pull request #573 from nf-core/wes
ramprasadn Jun 24, 2024
4d74baf
remove skip_eklipse
ramprasadn Jun 24, 2024
d425660
Merge branch 'dev' of github.com:nf-core/raredisease into change-down…
ramprasadn Jun 24, 2024
a58d5ef
remove skip_haplocheck
ramprasadn Jun 24, 2024
cd583e4
remove skip_qualimap
ramprasadn Jun 24, 2024
38edf8a
remove skip_fastqc
ramprasadn Jun 24, 2024
391f8c9
add skip_smncopynumbercaller
ramprasadn Jun 24, 2024
937250d
update module
ramprasadn Jun 25, 2024
8101033
add skip for repeat annotation
ramprasadn Jun 26, 2024
427cbef
Merge pull request #574 from nf-core/change-download-ci
ramprasadn Jun 26, 2024
1493afe
Merge branch 'dev' into updatepeddy
ramprasadn Jun 26, 2024
877a37b
Update CHANGELOG.md
ramprasadn Jun 26, 2024
2e6c1f8
Merge pull request #576 from nf-core/updatepeddy
ramprasadn Jun 26, 2024
65b35cf
update citations
ramprasadn Jun 26, 2024
9c9c17a
Merge branch 'dev' of github.com:nf-core/raredisease into citations
ramprasadn Jun 26, 2024
7962dfd
changelog
ramprasadn Jun 26, 2024
e58f034
Merge pull request #577 from nf-core/citations
ramprasadn Jun 27, 2024
3cff43a
move versions into conditionals
ramprasadn Jul 1, 2024
bcc23b2
CHANGELOG
ramprasadn Jul 1, 2024
ea493a7
Merge pull request #578 from nf-core/wes_fix
ramprasadn Jul 1, 2024
a8dc0aa
make bcftools roh skippable for cases without affected samples
ramprasadn Jul 1, 2024
f87c76e
add warning message
ramprasadn Jul 2, 2024
89f1995
update changelog
ramprasadn Jul 2, 2024
7c5d486
Merge branch 'dev' of github.com:nf-core/raredisease into bcftools_ro…
ramprasadn Jul 2, 2024
cccad16
prettier
ramprasadn Jul 2, 2024
dd8dd88
Merge pull request #579 from nf-core/bcftools_roh_update
ramprasadn Jul 2, 2024
ae446ec
adds channels to meme mt align
jemten Jul 4, 2024
af42f38
Merge pull request #582 from nf-core/fix_mt_meme
jemten Jul 4, 2024
11324e9
fix: added publishDir mode in raredisease.config
Jul 25, 2024
9a0feb1
Merge branch 'dev' into add_missing_publishDir_mode
ramprasadn Aug 1, 2024
e58664e
Merge pull request #584 from irliampa/add_missing_publishDir_mode
ramprasadn Aug 1, 2024
5f7deeb
scatter count
ramprasadn Aug 2, 2024
b15321f
Merge branch 'dev' into vcfanno-split
ramprasadn Aug 2, 2024
8179ce9
Changelog
ramprasadn Aug 2, 2024
7fb30a4
Merge branch 'vcfanno-split' of github.com:nf-core/raredisease into v…
ramprasadn Aug 2, 2024
8c452ff
Update annotate_genome_snvs.nf
ramprasadn Aug 6, 2024
511fd3f
Merge pull request #585 from nf-core/vcfanno-split
ramprasadn Aug 6, 2024
9546ba2
fix [skip ci]
ramprasadn Aug 7, 2024
ec39dd1
update changelog
ramprasadn Aug 7, 2024
a9f2b09
Merge pull request #586 from nf-core/fix-wes-error
ramprasadn Aug 8, 2024
b175df1
update module
ramprasadn Aug 8, 2024
ec16d8d
update changelog
ramprasadn Aug 8, 2024
8c6b6ac
Merge pull request #587 from nf-core/deepvariant-update
ramprasadn Aug 8, 2024
9542a38
add extra resource
ramprasadn Aug 8, 2024
7f3e648
update changelog
ramprasadn Aug 9, 2024
c8c71ed
Merge branch 'dev' into dynamic-anno-res
ramprasadn Aug 9, 2024
05707c0
Update nextflow_schema.json
ramprasadn Aug 9, 2024
d1894b5
Update annotate_mt_snvs.nf
ramprasadn Aug 9, 2024
5bd184a
Update prepare_references.nf
ramprasadn Aug 9, 2024
6bbc927
Update annotate_genome_snvs.nf
ramprasadn Aug 9, 2024
99805a4
Update prepare_references.nf
ramprasadn Aug 9, 2024
08302de
Update prepare_references.nf
ramprasadn Aug 9, 2024
fb9d2ef
Merge pull request #588 from nf-core/dynamic-anno-res
ramprasadn Aug 9, 2024
ad9a16f
add feature
ramprasadn Aug 9, 2024
d5f4b88
Merge pull request #589 from nf-core/tabix-vcfanno
ramprasadn Aug 12, 2024
6dd5f0a
Corrects usage docs
ramprasadn Aug 13, 2024
0c5b700
update changelog
ramprasadn Aug 13, 2024
151e909
fix lint
ramprasadn Aug 13, 2024
f63d810
makes 0 an allowed value for sex
jemten Aug 14, 2024
af1406d
Merge pull request #595 from genomic-medicine-sweden/update_allowed_sex
jemten Aug 14, 2024
3185ade
change lane to string type
ramprasadn Aug 14, 2024
01a7b42
Merge branch 'dev' into update-docs
ramprasadn Aug 14, 2024
35104b8
lint
ramprasadn Aug 14, 2024
3e4a3a3
Merge branch 'dev' of github.com:nf-core/raredisease into update-docs
ramprasadn Aug 14, 2024
ad98b97
Merge pull request #594 from nf-core/update-docs
ramprasadn Aug 14, 2024
dae475a
Merge branch 'dev' of github.com:nf-core/raredisease into update-docs
ramprasadn Aug 14, 2024
cbcb055
update usage
ramprasadn Aug 14, 2024
75a8065
update module
ramprasadn Aug 14, 2024
a6b13a1
update config
ramprasadn Aug 14, 2024
c18bd5f
add option to supply par bed
ramprasadn Aug 14, 2024
9ac6dde
update changelog
ramprasadn Aug 14, 2024
f99aa9e
update changelog
ramprasadn Aug 14, 2024
5ce1f18
Merge pull request #597 from nf-core/update-docs
ramprasadn Aug 14, 2024
5efd020
Merge branch 'dev' into deepvar_udpate
ramprasadn Aug 14, 2024
57ce078
update usage
ramprasadn Aug 15, 2024
a2c568c
Merge branch 'deepvar_udpate' of github.com:nf-core/raredisease into …
ramprasadn Aug 15, 2024
24b2b42
lint
ramprasadn Aug 15, 2024
b712e0c
Merge pull request #598 from nf-core/deepvar_udpate
ramprasadn Aug 15, 2024
06a136f
revert some changes
ramprasadn Aug 19, 2024
0c8af9a
Update CHANGELOG.md
ramprasadn Aug 19, 2024
ceb1730
remove config.config
ramprasadn Aug 19, 2024
be1c2a2
Merge branch 'mito-update' of github.com:nf-core/raredisease into mit…
ramprasadn Aug 19, 2024
af33552
review suggestions
ramprasadn Aug 20, 2024
243c4b1
Merge pull request #600 from nf-core/mito-update
ramprasadn Aug 20, 2024
58cf126
Updating Sentieon DNAscope ml-model to v1.1 in test-configs
asp8200 Aug 20, 2024
fbf2d4f
Updating changelog
asp8200 Aug 20, 2024
d635171
Merge pull request #601 from asp8200/update_sentieon_dnascope_model
ramprasadn Aug 21, 2024
97c0ef6
first attempt
ramprasadn Aug 23, 2024
f27d33e
properly remove references to bwameme in mt subworkflows
ramprasadn Aug 26, 2024
818f7af
issue when aligner and mt_aligner has different values
ramprasadn Aug 27, 2024
21becd6
updaet changelog
ramprasadn Aug 27, 2024
ca688e5
Update raredisease.nf
ramprasadn Aug 27, 2024
92e0d64
Merge pull request #605 from nf-core/bugfix
ramprasadn Aug 27, 2024
67d4607
update cytosure conditional
ramprasadn Aug 27, 2024
40178f0
add csi option
ramprasadn Aug 30, 2024
6b7a8b3
update changelog
ramprasadn Aug 30, 2024
d513968
Merge pull request #606 from nf-core/index_managed_variants
ramprasadn Aug 30, 2024
68133d6
tiny fix
ramprasadn Sep 11, 2024
36a957e
Merge pull request #607 from nf-core/smallfix
ramprasadn Sep 11, 2024
7354184
bump version
ramprasadn Sep 13, 2024
eb0fde7
vep110-112
ramprasadn Sep 13, 2024
0f41135
update changelog
ramprasadn Sep 13, 2024
866038c
Merge pull request #609 from nf-core/updatevep
ramprasadn Sep 13, 2024
ef73852
Update CHANGELOG.md
ramprasadn Sep 13, 2024
d540dc7
Apply suggestions from code review
ramprasadn Sep 13, 2024
8efb0d3
Update conf/modules/prepare_references.config
ramprasadn Sep 13, 2024
8d7d36e
Update nextflow_schema.json
ramprasadn Sep 13, 2024
56b6b48
Update docs/usage.md
ramprasadn Sep 13, 2024
dc568ff
Update docs/output.md
ramprasadn Sep 13, 2024
4438537
Update subworkflows/local/align.nf
ramprasadn Sep 13, 2024
7cec124
Update annotate_genome_snvs.nf
ramprasadn Sep 13, 2024
36ab790
Update annotate_mt_snvs.nf
ramprasadn Sep 13, 2024
fbbd1ea
Update annotate_mt_snvs.nf
ramprasadn Sep 13, 2024
fb77d3f
fix lint
ramprasadn Sep 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/download_pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,3 @@ jobs:

- name: Inspect download
run: tree ./${{ env.REPOTITLE_LOWERCASE }}

- name: Run the downloaded pipeline (stub)
id: stub_run_pipeline
continue-on-error: true
env:
NXF_SINGULARITY_CACHEDIR: ./
NXF_SINGULARITY_HOME_MOUNT: true
run: nextflow run ./${{ env.REPOTITLE_LOWERCASE }}/$( sed 's/\W/_/g' <<< ${{ env.REPO_BRANCH }}) -stub -profile test,singularity --outdir ./results
70 changes: 70 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,76 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.2.0 - Dogmatix [2024-09-13]

### `Added`

- A new parameter `mt_aligner` to control which aligner is used to align reads to mitochondria [#600](https://github.com/nf-core/raredisease/pull/600)
- A new parameter `par_bed` to pass a PAR bed files to deepvariant [#598](https://github.com/nf-core/raredisease/pull/598)
- A new functionality to pass gzipped resources to vcfanno_extra_resources [#589](https://github.com/nf-core/raredisease/pull/589)
- A new parameter `vcfanno_extra_resources` to pass an extra resource to vcfanno [#588](https://github.com/nf-core/raredisease/pull/588)
- A new parameter `scatter_count` to control how many interval files are created from a genome (used to parallelize annotations) [#585](https://github.com/nf-core/raredisease/pull/585)
- Print warning messages if user intends to perform ranking when there are no affected samples [#579](https://github.com/nf-core/raredisease/pull/579)
- Two new parameters `skip_repeat_annotation` and `skip_repeat_calling` to skip calling and annotation of repeat expansions [#574](https://github.com/nf-core/raredisease/pull/574)
- A new parameter `skip_smncopynumbercaller` to skip smncopynumbercaller module [#574](https://github.com/nf-core/raredisease/pull/574)
- A new parameter `skip_sv_calling` to skip sv calling workflow [#572](https://github.com/nf-core/raredisease/pull/572)
- Two new parameters `skip_snv_calling` and `skip_repeat_analysis` to skip snv calling and repeat analysis respectively [#571](https://github.com/nf-core/raredisease/pull/571)
- Two new parameters `mbuffer_mem` and `samtools_sort_threads` to control resources given to mbuffer and samtools sort in the bwameme module [#570](https://github.com/nf-core/raredisease/pull/570)

### `Changed`

- Update default vep container from v110-v112 [#609](https://github.com/nf-core/raredisease/pull/609)
- Default index for vcfanno extra annotation files from tbi to csi [#606](https://github.com/nf-core/raredisease/pull/606)
- Updated the model for Sentieon DNAScope to v1.1 [#601](https://github.com/nf-core/raredisease/pull/601)
- bwameme can no longer be used to align mitochondrial reads [#600](https://github.com/nf-core/raredisease/pull/600)
- Males' X and Y chromosomes will be treated as haploids during variant calling by deepvariant [#598](https://github.com/nf-core/raredisease/pull/598)
- Acceptable type for lane field in the samplesheet from number to string [#597](https://github.com/nf-core/raredisease/pull/597)
- Allow `0` as a valid value for `sex` in the samplesheet [#595](https://github.com/nf-core/raredisease/pull/595)
- Updated deepvariant to version 1.6.1 [#587](https://github.com/nf-core/raredisease/pull/587)
- Parallelized vcfanno [#585](https://github.com/nf-core/raredisease/pull/585)
- Skip ROH calling with bcftools if there are no affected samples [#579](https://github.com/nf-core/raredisease/pull/579)
- Refactored tool citation list [#577](https://github.com/nf-core/raredisease/pull/577)
- Removed `skip_repeat_analysis` added in #571 [#574](https://github.com/nf-core/raredisease/pull/574)
- Remove several skip parameters that had been included in the pipeline to avoid failed CI tests (see parameters table below) [#574](https://github.com/nf-core/raredisease/pull/574)
- `readcount_intervals` parameter is now mandatory for running germlinecnvcaller. [#570](https://github.com/nf-core/raredisease/pull/570)
- Turn off CNVnator, TIDDIT, SMNCopyNumberCaller, Gens, and Vcf2cytosure for targeted analysis [#573](https://github.com/nf-core/raredisease/pull/573)

### `Fixed`

- Issues that cropped up when `aligner` and `mt_aligner` were different [#605](https://github.com/nf-core/raredisease/pull/605)
- Update docs to show 'vep_plugin_files' as a mandatory parameter for SNV annotation [#594](https://github.com/nf-core/raredisease/pull/594)
- Error in SVDB merge when only a single SV caller is run [#586](https://github.com/nf-core/raredisease/pull/586)
- Errors due to misplaced version statements [#578](https://github.com/nf-core/raredisease/pull/578)
- Stub crashes due to peddy reported in [#566](https://github.com/nf-core/raredisease/issues/566) [#576](https://github.com/nf-core/raredisease/pull/576]
- Docker manifest error from gnu-wget container [#570](https://github.com/nf-core/raredisease/pull/570)
- Citations for bwameme [#563](https://github.com/nf-core/raredisease/pull/563)

### Parameters

| Old parameter | New parameter |
| --------------- | ------------------------ |
| | mbuffer_mem |
| | mt_aligner |
| | samtools_sort_threads |
| | skip_repeat_calling |
| | skip_snv_calling |
| | skip_sv_calling |
| skip_eklipse | |
| skip_fastqc | |
| skip_haplocheck | |
| skip_qualimap | |
| | skip_smncopynumbercaller |
| | skip_repeat_annotation |
| | scatter_count |
| | vcfanno_extra_resources |

### Tool updates

| Tool | Old version | New version |
| ----------- | ----------- | ----------- |
| Deepvariant | 1.5.0 | 1.6.1 |
| ensemblvep | 110 | 112 |

## 2.1.0 - Obelix [2024-05-29]

### `Added`
Expand Down
4 changes: 4 additions & 0 deletions CITATIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@

> Vasimuddin Md, Misra S, Li H, Aluru S. Efficient Architecture-Aware Acceleration of BWA-MEM for Multicore Systems. In: 2019 IEEE International Parallel and Distributed Processing Symposium (IPDPS). IEEE; 2019:314-324. doi:10.1109/IPDPS.2019.00041

- [BWA-MEME](https://academic.oup.com/bioinformatics/article/38/9/2404/6543607)

> Jung Y, Han D. BWA-MEME: BWA-MEM emulated with a machine learning approach. Bioinformatics. 2022;38(9):2404-2413. doi:10.1093/bioinformatics/btac137

- [CADD<sup>1</sup>](https://genomemedicine.biomedcentral.com/articles/10.1186/s13073-021-00835-9)<sup>,</sup> [<sup>2</sup>](https://academic.oup.com/nar/article/47/D1/D886/5146191)

> Rentzsch P, Schubach M, Shendure J, Kircher M. CADD-Splice—improving genome-wide variant effect prediction using deep learning-derived splice scores. Genome Med. 2021;13(1):31. doi:10.1186/s13073-021-00835-9
Expand Down
4 changes: 2 additions & 2 deletions assets/multiqc_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ custom_logo_url: https://github.com/nf-core/raredisease/
custom_logo_title: "nf-core/raredisease"

report_comment: >
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.1.0" target="_blank">nf-core/raredisease</a>
This report has been generated by the <a href="https://github.com/nf-core/raredisease/releases/tag/2.2.0" target="_blank">nf-core/raredisease</a>
analysis pipeline. For information about how to interpret these results, please see the
<a href="https://nf-co.re/raredisease/2.1.0/docs/output" target="_blank">documentation</a>.
<a href="https://nf-co.re/raredisease/2.2.0/docs/output" target="_blank">documentation</a>.
report_section_order:
"nf-core-raredisease-methods-description":
order: -1000
Expand Down
7 changes: 4 additions & 3 deletions assets/schema_input.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@
"errorMessage": "Sample name must be provided and cannot contain spaces"
},
"lane": {
"type": "number",
"meta": ["lane"]
"type": "string",
"meta": ["lane"],
"pattern": "^\\S+$"
},
"fastq_1": {
"type": "string",
Expand All @@ -42,7 +43,7 @@
"sex": {
"type": "string",
"meta": ["sex"],
"enum": ["1", "2", "other"],
"enum": ["1", "2", "0", "other"],
"errorMessage": "Sex must be provided and cannot contain spaces"
},
"phenotype": {
Expand Down
12 changes: 0 additions & 12 deletions conf/modules/align_MT.config
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,6 @@ process {
ext.prefix = { "${meta.id}_sorted" }
}

withName: '.*ALIGN_MT:BWAMEME_MEM_MT' {
ext.args = { "-7 -M -K 100000000 -R ${meta.read_group}" }
ext.args2 = { "-T ./samtools_sort_tmp" }
ext.prefix = { "${meta.id}_sorted" }
}

withName: '.*ALIGN_MT:BWA_MEM_MT' {
ext.args = { "-M -K 100000000 -R ${meta.read_group}" }
ext.args2 = { "-T ./samtools_sort_tmp" }
Expand Down Expand Up @@ -80,12 +74,6 @@ process {
ext.prefix = { "${meta.id}_sorted_shifted" }
}

withName: '.*ALIGN_MT_SHIFT:BWAMEME_MEM_MT' {
ext.args = { "-7 -M -K 100000000 -R ${meta.read_group}" }
ext.args2 = { "-T ./samtools_sort_tmp" }
ext.prefix = { "${meta.id}_sorted_shifted" }
}

withName: '.*ALIGN_MT_SHIFT:SENTIEON_BWAMEM_MT' {
ext.args = { "-M -K 10000000 -R ${meta.read_group}" }
ext.args2 = { "-T ./samtools_sort_tmp" }
Expand Down
14 changes: 8 additions & 6 deletions conf/modules/annotate_genome_snvs.config
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
process {

withName: '.*ANNOTATE_GENOME_SNVS:BCFTOOLS_ROH' {
ext.when = { meta.probands.size()>0 }
ext.args = { "--samples ${meta.probands.unique().first()} --skip-indels " }
ext.prefix = { "${meta.id}_roh" }
}
Expand All @@ -30,13 +31,18 @@ process {
ext.prefix = { "${input.simpleName}" }
}

withName: '.*ANNOTATE_GENOME_SNVS:GATK4_SELECTVARIANTS' {
ext.prefix = { "${vcf.simpleName}_${intervals.simpleName}" }
}

withName: '.*ANNOTATE_GENOME_SNVS:VCFANNO' {
ext.prefix = { "${vcf.simpleName}_vcfanno" }
ext.prefix = { "${meta.prefix}_vcfanno_${meta.scatterid}" }
}

withName: '.*ANNOTATE_GENOME_SNVS:UPD_SITES' {
ext.prefix = { "${vcf.simpleName}_upd_sites" }
ext.args = {"--af-tag GNOMADAF --proband ${meta.upd_child} --mother ${meta.mother} --father ${meta.father} sites"}
ext.when = { !(workflow.profile.tokenize(',').intersect(['test', 'test_one_sample']).size() >= 1) || workflow.stubRun }
}

withName: '.*ANNOTATE_GENOME_SNVS:UPD_REGIONS' {
Expand Down Expand Up @@ -73,14 +79,10 @@ process {
}

withName: '.*ANNOTATE_GENOME_SNVS:BCFTOOLS_VIEW' {
ext.prefix = { "${vcf.simpleName}_filter" }
ext.prefix = { "${meta.prefix}_filter_${meta.scatterid}" }
ext.args = { '--output-type z --exclude "INFO/GNOMADAF > 0.70 | INFO/GNOMADAF_popmax > 0.70" ' }
}

withName: '.*ANNOTATE_GENOME_SNVS:GATK4_SELECTVARIANTS' {
ext.prefix = { "${vcf.simpleName}_${intervals.simpleName}" }
}

withName: '.*ANNOTATE_GENOME_SNVS:ENSEMBLVEP_SNV' {
ext.prefix = { "${meta.prefix}_vep_${meta.scatterid}" }
ext.args = { [
Expand Down
41 changes: 41 additions & 0 deletions conf/modules/annotate_repeat_expansions.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Config file for defining DSL2 per module options and publishing paths
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Available keys to override module options:
ext.args = Additional arguments appended to command in module.
ext.args2 = Second set of arguments appended to command in module (multi-tool modules).
ext.args3 = Third set of arguments appended to command in module (multi-tool modules).
ext.prefix = File name prefix for output files.
ext.when = Conditional clause
----------------------------------------------------------------------------------------
*/

//
// Repeat expansion calling options
//

process {

withName: '.*ANNOTATE_REPEAT_EXPANSIONS:STRANGER' {
ext.prefix = { "${meta.id}_stranger" }
}

withName: '.*ANNOTATE_REPEAT_EXPANSIONS:COMPRESS_STRANGER' {
ext.prefix = { "${meta.id}_repeat_expansion_stranger" }
ext.args = '--output-type z'
publishDir = [
path: { "${params.outdir}/repeat_expansions" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

withName: '.*ANNOTATE_REPEAT_EXPANSIONS:INDEX_STRANGER' {
publishDir = [
path: { "${params.outdir}/repeat_expansions" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}
}
21 changes: 0 additions & 21 deletions conf/modules/call_repeat_expansions.config
Original file line number Diff line number Diff line change
Expand Up @@ -58,25 +58,4 @@ process {
ext.args = {"--notag"}
}

withName: '.*CALL_REPEAT_EXPANSIONS:STRANGER' {
ext.prefix = { "${meta.id}_stranger" }
}

withName: '.*CALL_REPEAT_EXPANSIONS:COMPRESS_STRANGER' {
ext.prefix = { "${meta.id}_repeat_expansion_stranger" }
ext.args = '--output-type z'
publishDir = [
path: { "${params.outdir}/repeat_expansions" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

withName: '.*CALL_REPEAT_EXPANSIONS:INDEX_STRANGER' {
publishDir = [
path: { "${params.outdir}/repeat_expansions" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}
}
5 changes: 4 additions & 1 deletion conf/modules/call_snv_deepvariant.config
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ process {
}

withName: '.*CALL_SNV_DEEPVARIANT:DEEPVARIANT' {
ext.args = { "--model_type=${params.analysis_type.toUpperCase()}" }
ext.args = { [
"--model_type=${params.analysis_type.toUpperCase()}",
meta.sex == "1" ? params.genome == 'GRCh37' ? '--haploid_contigs="X,Y"' : '--haploid_contigs="chrX,chrY"' : ''
].join(' ') }
ext.prefix = { "${meta.id}_deepvar" }
}

Expand Down
42 changes: 13 additions & 29 deletions conf/modules/prepare_references.config
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,32 @@ process {
}

withName: '.*PREPARE_REFERENCES:BWAMEM2_INDEX_GENOME' {
ext.when = {!params.bwamem2 && params.aligner == "bwamem2"}
ext.when = {!params.bwamem2 && (params.aligner == "bwamem2" || params.mt_aligner == "bwamem2")}
}

withName: '.*PREPARE_REFERENCES:BWAMEME_INDEX_GENOME' {
ext.args = '-a meme'
ext.when = {!params.bwameme && params.aligner == "bwameme"}
}

withName: '.*PREPARE_REFERENCES:BWAMEM2_INDEX_MT_SHIFT' {
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.aligner == "bwamem2"}
withName: '.*PREPARE_REFERENCES:BWA_INDEX_GENOME' {
ext.when = {!params.bwa && (!(params.aligner == "sentieon") || params.mt_aligner == "bwa")}
}

withName: '.*PREPARE_REFERENCES:BWAMEME_INDEX_MT_SHIFT' {
ext.args = '-a meme'
ext.when = { !(params.analysis_type == "wes") && params.aligner == "bwameme"}
withName: '.*PREPARE_REFERENCES:SENTIEON_BWAINDEX_GENOME' {
ext.when = {!params.bwa && (params.aligner == "sentieon" || params.mt_aligner == "sentieon")}
}

withName: '.*PREPARE_REFERENCES:SENTIEON_BWAINDEX_GENOME' {
ext.when = {!params.bwa && params.aligner == "sentieon"}
withName: '.*PREPARE_REFERENCES:BWAMEM2_INDEX_MT_SHIFT' {
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.mt_aligner == "bwamem2"}
}

withName: '.*PREPARE_REFERENCES:SENTIEON_BWAINDEX_MT_SHIFT' {
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.aligner == "sentieon"}
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.mt_aligner == "sentieon"}
}

withName: '.*PREPARE_REFERENCES:BWA_INDEX_MT_SHIFT' {
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.aligner == "bwa"}
}

withName: '.*PREPARE_REFERENCES:BWA_INDEX_GENOME' {
ext.when = {!params.bwa && (!(params.aligner == "sentieon") || params.aligner == "bwa")}
ext.when = { (params.analysis_type.equals("wgs") || params.run_mt_for_wes) && params.mt_aligner == "bwa"}
}

withName: '.*PREPARE_REFERENCES:SAMTOOLS_FAIDX_GENOME' {
Expand Down Expand Up @@ -105,6 +100,10 @@ process {
ext.when = { !params.target_bed.equals(null) && !params.target_bed.endsWith(".gz") }
}

withName: '.*PREPARE_REFERENCES:TABIX_BGZIPINDEX_VCFANNOEXTRA' {
ext.args2 = '--csi'
}

withName: '.*PREPARE_REFERENCES:GATK_BILT' {
ext.when = { !params.target_bed.equals(null) }
ext.prefix = { "${meta.id}_target" }
Expand All @@ -124,19 +123,4 @@ process {
ext.when = { (params.vep_cache && params.vep_cache.endsWith("tar.gz")) }
}

withName: '.*PREPARE_REFERENCES:GATK_PREPROCESS_WGS' {
ext.args = { [
'--padding 0',
'--interval-merging-rule OVERLAPPING_ONLY',
"--exclude-intervals ${params.mito_name}",
"--tmp-dir ./"
].join(' ') }
ext.when = { params.analysis_type.equals("wgs") && !params.readcount_intervals }
}

withName: '.*PREPARE_REFERENCES:GATK_PREPROCESS_WES' {
ext.args = { "--bin-length 0 --interval-merging-rule OVERLAPPING_ONLY --exclude-intervals ${params.mito_name}" }
ext.when = { params.analysis_type.equals("wes") && !params.readcount_intervals }
}

}
6 changes: 2 additions & 4 deletions conf/modules/qc_bam.config
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,8 @@ process {
ext.prefix = { "${meta.id}_hsmetrics" }
}

if (!params.skip_qualimap) {
withName: '.*QC_BAM:QUALIMAP_BAMQC' {
ext.prefix = { "${meta.id}_qualimap" }
}
withName: '.*QC_BAM:QUALIMAP_BAMQC' {
ext.prefix = { "${meta.id}_qualimap" }
}

withName: '.*QC_BAM:TIDDIT_COV' {
Expand Down
2 changes: 2 additions & 0 deletions conf/modules/raredisease.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ process {
ext.args = '--quiet --dir ./'
publishDir = [
path: { "${params.outdir}/fastqc/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}
Expand Down Expand Up @@ -67,6 +68,7 @@ process {
withName: '.*RAREDISEASE:CREATE_PEDIGREE_FILE' {
publishDir = [
path: { "${params.outdir}/pedigree" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}
Expand Down
2 changes: 1 addition & 1 deletion conf/modules/scatter_genome.config
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process {
}

withName: '.*SCATTER_GENOME:GATK4_SPLITINTERVALS' {
ext.args = { "--subdivision-mode BALANCING_WITHOUT_INTERVAL_SUBDIVISION --scatter-count 22" }
ext.args = { "--scatter-count ${params.scatter_count}" }
ext.when = { !params.skip_snv_annotation }
ext.prefix = { "${meta.id}_genome_intervals" }
publishDir = [
Expand Down
Loading
Loading