-
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.
Revert "Merge branch 'dev' into add-found-in-cnv"
- Loading branch information
Showing
11 changed files
with
153 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/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', | ||
'--fork 4 --hgvs --humdiv --max_sv_size 248387328', | ||
'--no_progress --numbers --per_gene --polyphen p', | ||
'--protein --offline --sift p', // Add back regulatory with VEP 113 | ||
'--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_VEP' { | ||
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