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

Update modules #449

Merged
merged 8 commits into from
Nov 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix "there is no process matching config selector warnings" [#435](https://github.com/nf-core/raredisease/pull/435)
- New parameters to skip fastqc and haplocheck (`--skip_fastqc` and `--skip_haplocheck`) [#438](https://github.com/nf-core/raredisease/pull/438)
- CNVnator for copy number variant calling [#438](https://github.com/nf-core/raredisease/pull/434)
- A new parameter `svdb_query_bedpedbs` to provide bedpe files as databases for SVDB query [#449](https://github.com/nf-core/raredisease/pull/449)

### `Changed`

Expand Down
10 changes: 8 additions & 2 deletions conf/modules/annotate_structural_variants.config
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,14 @@ process {
]
}

withName: '.*ANNOTATE_STRUCTURAL_VARIANTS:SVDB_QUERY' {
ext.prefix = { "${meta.id}_svdbquery" }
withName: '.*ANNOTATE_STRUCTURAL_VARIANTS:SVDB_QUERY_BEDPE' {
ext.when = {!params.svdb_query_bedpedbs.equals(null)}
ramprasadn marked this conversation as resolved.
Show resolved Hide resolved
ext.prefix = { "${meta.id}_bedpedb" }
}

withName: '.*ANNOTATE_STRUCTURAL_VARIANTS:SVDB_QUERY_DB' {
ext.when = {!params.svdb_query_dbs.equals(null)}
ramprasadn marked this conversation as resolved.
Show resolved Hide resolved
ext.prefix = { "${meta.id}_vcfdb" }
}

withName: '.*ANNOTATE_STRUCTURAL_VARIANTS:PICARD_SORTVCF' {
Expand Down
18 changes: 9 additions & 9 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -242,15 +242,15 @@ no header and the following columns: `CHROM POS REF_ALLELE ALT_ALLELE AF`. Sampl

##### 8. SV annotation & Ranking

| Mandatory | Optional |
| -------------------------- | ------------------ |
| genome | reduced_penetrance |
| svdb_query_dbs<sup>1</sup> | |
| vep_cache_version | vep_filters |
| vep_cache | |
| score_config_sv | |

<sup>1</sup> A CSV file that describes the databases (VCFs) used by SVDB for annotating structural variants. Sample file [here](https://github.com/nf-core/test-datasets/blob/raredisease/reference/svdb_querydb_files.csv). Information about the column headers can be found [here](https://github.com/J35P312/SVDB#Query).
| Mandatory | Optional |
| ---------------------------------------------- | ------------------ |
| genome | reduced_penetrance |
| svdb_query_dbs/svdb_query_bedpedbs<sup>1</sup> | |
| vep_cache_version | vep_filters |
| vep_cache | |
| score_config_sv | |

<sup>1</sup> A CSV file that describes the databases (VCFs or BEDPEs) used by SVDB for annotating structural variants. Sample file [here](https://github.com/nf-core/test-datasets/blob/raredisease/reference/svdb_querydb_files.csv). Information about the column headers can be found [here](https://github.com/J35P312/SVDB#Query).

##### 9. Mitochondrial annotation

Expand Down
4 changes: 2 additions & 2 deletions modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@
},
"eklipse": {
"branch": "master",
"git_sha": "39656f68219340420f03bd54a68e111c86e107e6",
"git_sha": "0031772de29283811deb989a5b42d0310d35ec22",
"installed_by": ["modules"]
},
"ensemblvep/filtervep": {
Expand Down Expand Up @@ -417,7 +417,7 @@
},
"svdb/query": {
"branch": "master",
"git_sha": "911696ea0b62df80e900ef244d7867d177971f73",
"git_sha": "2a35cf4643135d51284236bc2835ee8b810c971d",
"installed_by": ["modules"]
},
"tabix/bgzip": {
Expand Down
7 changes: 7 additions & 0 deletions modules/nf-core/eklipse/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion modules/nf-core/eklipse/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 2 additions & 3 deletions modules/nf-core/eklipse/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions modules/nf-core/eklipse/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 11 additions & 0 deletions modules/nf-core/eklipse/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions modules/nf-core/eklipse/tests/tags.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions modules/nf-core/svdb/query/environment.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 14 additions & 10 deletions modules/nf-core/svdb/query/main.nf

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 8 additions & 2 deletions modules/nf-core/svdb/query/meta.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions modules/nf-core/svdb/query/tests/main.nf.test

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 30 additions & 0 deletions modules/nf-core/svdb/query/tests/main.nf.test.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions modules/nf-core/svdb/query/tests/tags.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions nextflow.config
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ params {
cadd_resources = null
platform = 'illumina'

// File params
svdb_query_bedpedbs = null
svdb_query_dbs = null

// Alignment
aligner = 'bwamem2'
rmdup = false
Expand Down
10 changes: 9 additions & 1 deletion nextflow_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -288,11 +288,19 @@
"pattern": "^\\S+\\.dict$",
"description": "Path to the genome dictionary file"
},
"svdb_query_bedpedbs": {
"type": "string",
"exists": true,
"format": "file-path",
"description": "Databases used for structural variant annotation in chrA-posA-chrB-posB-type-count-frequency format.",
"fa_icon": "fas fa-file-csv",
"help_text": "Path to comma-separated file containing information about the databases used for structural variant annotation."
},
"svdb_query_dbs": {
"type": "string",
"exists": true,
"format": "file-path",
"description": "Databases used for structural variant annotation.",
"description": "Databases used for structural variant annotation in vcf format.",
"fa_icon": "fas fa-file-csv",
"help_text": "Path to comma-separated file containing information about the databases used for structural variant annotation."
},
Expand Down
Loading