-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from BertGalle/vcf-convert
VCF convert + VEP
- Loading branch information
Showing
53 changed files
with
1,731 additions
and
198 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,53 @@ | ||
# Use --skip 1 with this config | ||
chrom: | ||
value: $6 | ||
|
||
pos: | ||
value: $4 | ||
|
||
id: | ||
value: $7 | ||
|
||
ref: | ||
value: "." | ||
|
||
alt: | ||
value: ~if $2 == deletion <DEL> <DUP> | ||
|
||
filter: | ||
value: "." | ||
|
||
info: | ||
- name: SVTYPE | ||
value: ~if $2 == deletion DEL DUP | ||
number: 1 | ||
type: string | ||
description: Type of structural variant | ||
- name: END | ||
value: $5 | ||
type: integer | ||
description: End position of structural variant | ||
- name: BF | ||
value: $8 | ||
type: float | ||
description: Bayes factor | ||
- name: NEXONS | ||
value: $3 | ||
type: integer | ||
description: Number of exons | ||
- name: READSEXP | ||
value: $9 | ||
type: integer | ||
description: Expected reads | ||
- name: READSOBS | ||
value: $10 | ||
type: integer | ||
description: Observed reads | ||
- name: READRATIO | ||
value: $11 | ||
type: float | ||
description: Ratio observed/expected reads | ||
- name: EXONSENS | ||
value: $12 | ||
type: string | ||
description: Exons |
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 |
---|---|---|
|
@@ -59,7 +59,5 @@ process { | |
errorStrategy = 'retry' | ||
maxRetries = 2 | ||
} | ||
withName:CUSTOM_DUMPSOFTWAREVERSIONS { | ||
cache = false | ||
} | ||
|
||
} |
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,10 @@ | ||
name: exomedepth_cnv_call | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
|
||
dependencies: | ||
- r=3.6=r36_1003 | ||
- r-optparse=1.6.4=r36h6115d3f_0 | ||
- r-exomedepth:1.1.16--r43hfb3cda0_3 |
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,7 @@ | ||
name: coreutils | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- anaconda::coreutils=9.3 |
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,43 @@ | ||
//MERGE CNV CALL FILES | ||
process CNV_MERGE { | ||
tag "$meta" | ||
|
||
container "${ workflow.containerEngine == 'singularity' && !task.ext.singularity_pull_docker_container ? | ||
'https://depot.galaxyproject.org/singularity/coreutils:9.3' : | ||
'biocontainers/coreutils:9.3' }" | ||
conda "${moduleDir}/environment.yml" | ||
|
||
publishDir "$params.outdir/exomedepth/cnv_call", mode: 'copy' | ||
|
||
input: | ||
tuple val(meta), path(auto), path(chrx) | ||
|
||
output: | ||
tuple val(meta), path("*.txt"), emit:merge | ||
path "versions.yml", emit:versions | ||
|
||
script: | ||
def prefix = task.ext.prefix ?: "${meta}_CNVs_ExomeDepth" | ||
""" | ||
cp $auto "${prefix}.txt" | ||
tail +2 $chrx >> "${prefix}.txt" | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
tail: \$(tail --version | sed '1!d; s/tail (GNU coreutils) //') | ||
cp: \$(cp --version | sed '1!d; s/cp (GNU coreutils) //') | ||
END_VERSIONS | ||
""" | ||
|
||
stub: | ||
def prefix = task.ext.prefix ?: "${meta}_CNVs_ExomeDepth" | ||
""" | ||
touch ${prefix}.txt | ||
cat <<-END_VERSIONS > versions.yml | ||
"${task.process}": | ||
tail: \$(tail --version | sed '1!d; s/tail (GNU coreutils) //') | ||
cp: \$(cp --version | sed '1!d; s/cp (GNU coreutils) //') | ||
END_VERSIONS | ||
""" | ||
} |
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,7 @@ | ||
name: coreutils | ||
channels: | ||
- conda-forge | ||
- bioconda | ||
- defaults | ||
dependencies: | ||
- anaconda::coreutils=9.3 |
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
Oops, something went wrong.