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

Annotate and rank SNVs per family #502

Open
wants to merge 5 commits into
base: dev
Choose a base branch
from
Open
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
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#493](https://github.com/genomic-medicine-sweden/nallo/pull/493) - Refactored `nallo.nf` to remove many nested ifs and easier to follow logic
- [#493](https://github.com/genomic-medicine-sweden/nallo/pull/493) - Updated rank_variants dependencies with sv_annotation
- [#498](https://github.com/genomic-medicine-sweden/nallo/pull/498) - Updated CI to fix CI failures after merge
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Changed to annotating and ranking SNVs per family instead of per project
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Changed output documentation and structure to match `sample` and `family` for all variants
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Changed the way of validating the samplesheet to remove outputing false errors with `ifEmpty`

### `Removed`

Expand All @@ -98,6 +101,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#379](https://github.com/genomic-medicine-sweden/nallo/pull/379) - Removed VEP Plugins from testdata ([genomic-medicine-sweden/test-datasets#16](https://github.com/genomic-medicine-sweden/test-datasets/pull/16))
- [#388](https://github.com/genomic-medicine-sweden/nallo/pull/388) - Removed support for co-phasing SVs with HiPhase, as the officially supported caller (pbsv) is not in the pipeline
- [#412](https://github.com/genomic-medicine-sweden/nallo/pull/412) - Removed `bcftools/index`, as indexing is handled by other modules and no references remained. ([#377](https://github.com/genomic-medicine-sweden/nallo/issues/377))
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Removed support for automatically creating an echvar database with SNVs and INDELs
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Removed `containts_affected` logic from the snv-calling workflow, since this was previously changed to be checked before pipeline start

### `Fixed`

Expand All @@ -108,6 +113,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#402](https://github.com/genomic-medicine-sweden/nallo/pull/402) - Fixed double sample names in HiFiCNV output
- [#438](https://github.com/genomic-medicine-sweden/nallo/pull/438) - Fixed missing/malformed software versions in `ADD_FOUND_IN_TAG`, `ADD_MOST_SEVERE_CSQ`, `ADD_MOST_SEVERE_PLI`, `SAMPLESHEET_PED`, `SOMALIER_PED` and `TRGT`
- [#444](https://github.com/genomic-medicine-sweden/nallo/pull/444) - Fixed genmod assigning wrong models on chromosome X when named `chrX` ([#343](https://github.com/genomic-medicine-sweden/nallo/issues/343))
- [#502](https://github.com/genomic-medicine-sweden/nallo/pull/502) - Fixed genmod only scoring compounds in one family [#501](https://github.com/genomic-medicine-sweden/nallo/issues/501)

### Parameters

Expand Down
2 changes: 1 addition & 1 deletion conf/modules/call_svs.config
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ process {
'--write-index=tbi'
].join(' ')
publishDir = [
path: { "${params.outdir}/svs/single_sample/${meta.id}" },
path: { "${params.outdir}/svs/sample/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
Expand Down
23 changes: 4 additions & 19 deletions conf/modules/general.config
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ process {
withName: '.*:NALLO:BCFTOOLS_STATS' {
ext.prefix = { "${vcf}" }
publishDir = [
path: { "${params.outdir}/snvs/stats/single_sample" },
path: { "${params.outdir}/snvs/stats/sample" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
Expand All @@ -51,7 +51,7 @@ process {
'--write-index=tbi'
].join(' ') }
publishDir = [
path: { "${params.outdir}/snvs/multi_sample/${meta.id}" },
path: { "${params.outdir}/snvs/family/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
Expand All @@ -64,7 +64,7 @@ process {
'--write-index=tbi'
].join(' ')
publishDir = [
path: { "${params.outdir}/snvs/single_sample/" },
path: { "${params.outdir}/snvs/sample/" },
mode: params.publish_dir_mode,
// Can't use prefix as it would come from the original file
saveAs: { filename ->
Expand All @@ -88,7 +88,7 @@ process {
'--write-index=tbi'
].join(' ')
publishDir = [
path: { "${params.outdir}/svs/single_sample/" },
path: { "${params.outdir}/svs/sample/" },
mode: params.publish_dir_mode,
// Can't use prefix as it would come from the original file
saveAs: { filename ->
Expand All @@ -111,13 +111,6 @@ process {
]
}

withName: '.*:NALLO:SOMALIER_PED' {
publishDir = [
path: { "${params.outdir}/pedigree/project/" },
saveAs: { filename -> filename.equals('versions.yml') ? null : filename },
]
}

withName: '.*:NALLO:SOMALIER_PED_FAMILY' {
publishDir = [
path: { "${params.outdir}/pedigree/family/" },
Expand Down Expand Up @@ -198,14 +191,6 @@ process {
]
}

withName: '.*:NALLO:ECHTVAR_ENCODE' {
publishDir = [
path: { "${params.outdir}/databases/echtvar/encode/${meta.id}" },
mode: params.publish_dir_mode,
saveAs: { filename -> filename.equals('versions.yml') ? null : filename }
]
}

/*
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Summary
Expand Down
Loading
Loading