-
Notifications
You must be signed in to change notification settings - Fork 1
feat: Add cadd for indels #59
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
Changes from 14 commits
f7d2a3d
638bcf1
f07a7e3
45cb012
adb445b
8b6b8a0
73774a1
eafa726
57d56ee
1448d88
175639a
e640c7c
728f2b9
8e0d785
217fd8d
a2c2174
fd0522c
2b31fc4
342ea0c
1a8e7f9
99819f0
1359abb
1a6e857
dcb9352
a83477f
02d46a0
ca5aae7
82bcd85
3c5e89a
4bafb21
eab435a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ##INFO=<ID=CADD,Number=1,Type=Float,Description="PHRED-like scaled CADD score."> |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,49 @@ | ||
| /* | ||
| Annotate with CADD | ||
| */ | ||
|
|
||
|
|
||
| process { | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:.*' { | ||
| publishDir = [ | ||
| enabled: false | ||
| ] | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:RENAME_CHR_CADD' { | ||
| ext.args = { "--output-type z" } | ||
| ext.prefix = { "${input.simpleName}_indels" } | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:BCFTOOLS_VIEW' { | ||
| ext.args = { "--output-type z --types indels,other" } | ||
| ext.prefix = { "${vcf.simpleName}_indels" } | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:CADD' { | ||
| ext.args = { "-g ${params.genome}" } | ||
| ext.prefix = { "${vcf.simpleName}_cadd" } | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:TABIX_CADD' { | ||
| ext.args = { "--force --sequence 1 --begin 2 --end 2" } | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:CADD_TO_REFERENCE_CHRNAMES' { | ||
| ext.args2 = '\'{original=$1; sub("chr","",$1); print $1, original}\'' | ||
| ext.prefix = "cadd_to_reference" | ||
| ext.suffix = "txt" | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:REFERENCE_TO_CADD_CHRNAMES' { | ||
| ext.args2 = '\'{original=$1; sub("chr","",$1); print original, $1}\'' | ||
| ext.prefix = "reference_to_cadd" | ||
| ext.suffix = "txt" | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:ANNOTATE_INDELS' { | ||
| ext.args = { "--columns Chrom,Pos,Ref,Alt,-,CADD --output-type z --write-index=tbi" } | ||
| ext.prefix = { "${input.simpleName}_ann" } | ||
| } | ||
| } | ||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Uh oh!
There was an error while loading. Please reload this page.