-
Notifications
You must be signed in to change notification settings - Fork 0
Make sigrap (HRDetect, MutationalPatterns) individual process #16
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 41 commits
Commits
Show all changes
42 commits
Select commit
Hold shift + click to select a range
85823ae
fix sigrap.R path
qclayssen 7577061
fix chord output and version script call
qclayssen 76e12a1
change to a sigrap subworkflow
qclayssen 43a9ee0
fix hrdetect output file
qclayssen 8f0ee76
smlv somatic subworkflow
qclayssen 8ded6ae
add chord container
qclayssen 5da0555
add back missing channel
qclayssen 6293cd4
add back sigrap process
qclayssen a3f4b4e
fix channels names
qclayssen 8340e60
fix channel
qclayssen 4335ad0
test fix sigrap process
qclayssen edecc03
remove subworkflow
qclayssen f288d1f
update input workflow to include chord prediction from OA
qclayssen c6a9a76
refactor: restore publishDir for SIGRAP processes and update chord fi…
qclayssen d4eba39
fix and test chord
qclayssen 31b917d
test fix channel
qclayssen 0ee6ed0
remove debug commands
qclayssen 08b5205
fix output MUTPAT
qclayssen 3d8da0f
Chord result from OA
qclayssen 958988e
fix chord output and version script call
qclayssen b1ad52a
change to a sigrap subworkflow
qclayssen 618545f
smlv somatic subworkflow
qclayssen b792933
add chord container
qclayssen 811473f
add back missing channel
qclayssen d289a07
add back sigrap process
qclayssen c606a81
fix channels names
qclayssen 3b281af
fix channel
qclayssen 215a9f4
test fix sigrap process
qclayssen 709c935
remove subworkflow
qclayssen d55d120
update input workflow to include chord prediction from OA
qclayssen 29dce69
refactor: restore publishDir for SIGRAP processes and update chord fi…
qclayssen 1468de1
fix and test chord
qclayssen fdbfe00
test fix channel
qclayssen 60c4233
remove debug commands
qclayssen 1d82571
fix output MUTPAT
qclayssen c233595
Chord result from OA
qclayssen 433756c
add mutpat option rainfall and strand-bia plots
qclayssen 896097c
change sigrap meta and config match standar
qclayssen 94e54ea
linting
qclayssen 22ba7c6
linting
qclayssen e14d068
remove subworkflow
qclayssen aab3f51
remove deprecated output dir from stub
qclayssen 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
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,38 @@ | ||
| process SIGRAP_CHORD { | ||
| tag "${meta.id}" | ||
| label 'process_low' | ||
|
|
||
| container 'ghcr.io/umccr/sigrap:0.2.0' | ||
|
|
||
| input: | ||
| tuple val(meta), path(chord_prediction_tsv) | ||
|
|
||
| output: | ||
| tuple val(meta), path('chord.json.gz') , emit: chord_json | ||
| path 'versions.yml' , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
|
|
||
| """ | ||
| sigrap.R chord \\ | ||
| --sample ${meta.subject_id} \\ | ||
| --chord ${chord_prediction_tsv} \\ | ||
| --out chord.json.gz | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| sigrap: \$(sigrap.R --version | sed 's/^.*version //') | ||
| END_VERSIONS | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| mkdir -p output/ | ||
| touch chord.json.gz | ||
| echo -e '${task.process}:\\n stub: noversions\\n' > versions.yml | ||
| """ | ||
| } | ||
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,39 @@ | ||
| process SIGRAP_HRDETECT { | ||
| tag "${meta.id}" | ||
| label 'process_low' | ||
|
|
||
| container 'ghcr.io/umccr/sigrap:0.2.0' | ||
|
|
||
| input: | ||
| tuple val(meta), path(smlv_somatic_vcf), path(sv_somatic_vcf), path(cnv_somatic_tsv) | ||
|
|
||
| output: | ||
| tuple val(meta), path('hrdetect.json.gz') , emit: hrdetect_json | ||
| path 'versions.yml' , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
|
|
||
| """ | ||
| sigrap.R hrdetect \\ | ||
| --sample ${meta.subject_id} \\ | ||
| --snv ${smlv_somatic_vcf} \\ | ||
| --sv ${sv_somatic_vcf} \\ | ||
| --cnv ${cnv_somatic_tsv} \\ | ||
| --out hrdetect.json.gz | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| sigrap: \$(sigrap.R --version | sed 's/^.*version //') | ||
| END_VERSIONS | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| touch hrdetect.json.gz | ||
| echo -e '${task.process}:\\n stub: noversions\\n' > versions.yml | ||
| """ | ||
| } |
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,40 @@ | ||
| process SIGRAP_MUTPAT { | ||
| tag "${meta.id}" | ||
| label 'process_low' | ||
|
|
||
| container 'ghcr.io/umccr/sigrap:0.2.0' | ||
|
|
||
| input: | ||
| tuple val(meta), path(smlv_somatic_vcf) | ||
|
|
||
| output: | ||
| tuple val(meta), path('mutpat/') , emit: mutpat_output | ||
| path 'versions.yml' , emit: versions | ||
|
|
||
| when: | ||
| task.ext.when == null || task.ext.when | ||
|
|
||
| script: | ||
| def args = task.ext.args ?: '' | ||
|
|
||
| """ | ||
| sigrap.R mutpat \\ | ||
| --sample ${meta.subject_id} \\ | ||
| --snv ${smlv_somatic_vcf} \\ | ||
| --rainfall \\ | ||
| --strand-bias \\ | ||
| --out mutpat/ | ||
|
|
||
| cat <<-END_VERSIONS > versions.yml | ||
| "${task.process}": | ||
| sigrap: \$(sigrap.R --version | sed 's/^.*version //') | ||
| END_VERSIONS | ||
| """ | ||
|
|
||
| stub: | ||
| """ | ||
| mkdir -p sigrap/mutpat/ | ||
| touch sigrap/mutpat/stub_output | ||
| echo -e '${task.process}:\\n stub: noversions\\n' > versions.yml | ||
| """ | ||
| } |
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
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.