-
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
Merged
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
f7d2a3d
add cadd -raw
kristinebilgrav 638bcf1
Merge branch 'dev' into add-cadd
kristinebilgrav f07a7e3
Merge branch 'dev' into add-cadd
kristinebilgrav 45cb012
update
kristinebilgrav adb445b
Merge branch 'dev' of github.com:Clinical-Genomics/oncorefiner into a…
kristinebilgrav 8b6b8a0
commit update
kristinebilgrav 73774a1
fixing subwf
kristinebilgrav eafa726
update subwf and test
kristinebilgrav 57d56ee
Merge branch 'dev' into add-cadd
kristinebilgrav 1448d88
fixing inputs
kristinebilgrav 175639a
update test
kristinebilgrav e640c7c
merge dev
kristinebilgrav 728f2b9
fix so default test does not run cadd
kristinebilgrav 8e0d785
changelog and small fixes
kristinebilgrav 217fd8d
fix
kristinebilgrav a2c2174
add publishdir
kristinebilgrav fd0522c
fix
kristinebilgrav 2b31fc4
merge dev
kristinebilgrav 342ea0c
fix merge bug
kristinebilgrav 1a8e7f9
improving CHANGELOG comment
kristinebilgrav 99819f0
update citations
kristinebilgrav 1359abb
merge dev
kristinebilgrav 1a6e857
moving tabix to subworkflow
kristinebilgrav dcb9352
review changes and update of snapshot
kristinebilgrav a83477f
add citations
kristinebilgrav 02d46a0
update process_svs test
kristinebilgrav ca5aae7
updating snapshot
kristinebilgrav 82bcd85
Review implementations
kristinebilgrav 3c5e89a
update citations
kristinebilgrav 4bafb21
update snapshot
kristinebilgrav eab435a
Merge branch 'dev' into add-cadd
kristinebilgrav File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 @@ | ||
| ##INFO=<ID=CADD,Number=1,Type=Float,Description="PHRED-like scaled CADD score."> |
This file contains hidden or 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,65 @@ | ||
| /* | ||
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | ||
| 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. | ||
| ext.when = Conditional clause | ||
| ---------------------------------------------------------------------------------------- | ||
| */ | ||
|
kristinebilgrav marked this conversation as resolved.
|
||
|
|
||
| // | ||
| // Annotate with CADD | ||
| // | ||
|
|
||
|
|
||
| process { | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:.*' { | ||
| publishDir = [ | ||
| enabled: false | ||
| ] | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:BCFTOOLS_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:GAWK_CADD_TO_REF_CHRNAMES' { | ||
| ext.args2 = '\'{original=$1; sub("chr","",$1); print $1, original}\'' | ||
| ext.prefix = "cadd_to_reference" | ||
| ext.suffix = "txt" | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:GAWK_REF_TO_CADD_CHRNAMES' { | ||
| ext.args2 = '\'{original=$1; sub("chr","",$1); print original, $1}\'' | ||
| ext.prefix = "reference_to_cadd" | ||
| ext.suffix = "txt" | ||
| } | ||
|
|
||
| withName: '.*:ANNOTATE_CADD:BCFTOOLS_ANNOTATE_INDELS' { | ||
| ext.args = { "--columns Chrom,Pos,Ref,Alt,-,CADD --output-type z --write-index=tbi" } | ||
| ext.prefix = { "${input.simpleName}_ann" } | ||
| publishDir = [ | ||
| path: { "${params.outdir}/annotations" }, | ||
|
beatrizsavinhas marked this conversation as resolved.
|
||
| mode: params.publish_dir_mode ] | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.