-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* wip * working * fix snv annotation * docs and split * update docs * add back regulatory * review suggestions * prettier
- Loading branch information
Showing
34 changed files
with
749 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "https://json-schema.org/draft/2020-12/schema", | ||
"$id": "https://raw.githubusercontent.com/nf-core/raredisease/master/assets/mobile_element_references_schema.json", | ||
"title": "Schema for SVDB query - VCF", | ||
"description": "Schema for the SVDB query database input, VCF version", | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"filename": { | ||
"type": "string", | ||
"format": "file-path", | ||
"exists": true, | ||
"pattern": "^\\S+\\.vcf?(\\.gz)?$", | ||
"errorMessage": "Path to query database cannot contain spaces and must be a vcf file" | ||
}, | ||
"in_freq_info_key": { | ||
"type": "string", | ||
"pattern": "^\\S+$", | ||
"errorMessage": "In frequency key cannot contain spaces" | ||
}, | ||
"in_allele_count_info_key": { | ||
"type": "string", | ||
"pattern": "^\\S+$", | ||
"errorMessage": "In allele count key cannot contain spaces" | ||
}, | ||
"out_freq_info_key": { | ||
"type": "string", | ||
"pattern": "^\\S+$", | ||
"errorMessage": "Out frequency key must be provided and cannot contain spaces" | ||
}, | ||
"out_allele_count_info_key": { | ||
"type": "string", | ||
"pattern": "^\\S+$", | ||
"errorMessage": "Out allele count key must be provided and cannot contain spaces" | ||
} | ||
}, | ||
"required": ["filename", "out_freq_info_key", "out_allele_count_info_key"] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
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. | ||
---------------------------------------------------------------------------------------- | ||
*/ | ||
|
||
process { | ||
|
||
/* | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
Annotate SVs | ||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
*/ | ||
|
||
withName: '.*:ANNOTATE_SVS:.*' { | ||
publishDir = [ | ||
enabled: false, | ||
] | ||
} | ||
|
||
withName: '.*ANNOTATE_SVS:ENSEMBLVEP_SV' { | ||
ext.args = { [ | ||
"${params.extra_vep_options}", | ||
"--dir_plugins .", | ||
'--plugin pLI,pLI_values.txt', | ||
'--appris --biotype --buffer_size 100 --canonical --cache --ccds', | ||
'--compress_output bgzip --distance 5000 --domains', | ||
'--exclude_predicted --force_overwrite --format vcf', | ||
'--hgvs --humdiv --max_sv_size 248387328', | ||
'--no_progress --numbers --per_gene --polyphen p', | ||
'--protein --offline --sift p --regulatory', | ||
'--symbol --tsl --uniprot --vcf', | ||
'--no_stats' | ||
].join(' ') } | ||
ext.prefix = { "${meta.id}_svs_annotated" } | ||
publishDir = [ | ||
path: { "${params.outdir}/svs/multi_sample/${meta.id}" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename } | ||
] | ||
} | ||
|
||
withName: '.*ANNOTATE_SVS:TABIX_ENSEMBLVEP_SV' { | ||
publishDir = [ | ||
path: { "${params.outdir}/svs/multi_sample/${meta.id}" }, | ||
mode: params.publish_dir_mode, | ||
saveAs: { filename -> filename.equals('versions.yml') ? null : filename } | ||
] | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.