-
Notifications
You must be signed in to change notification settings - Fork 0
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 #4 from dbmi-bgm/v2
v2
- Loading branch information
Showing
55 changed files
with
1,256 additions
and
182 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
cnv |
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 |
---|---|---|
@@ -1 +1 @@ | ||
v1 | ||
v2 |
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,45 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
|
||
class: CommandLineTool | ||
|
||
requirements: | ||
- class: InlineJavascriptRequirement | ||
|
||
hints: | ||
- class: DockerRequirement | ||
dockerPull: ACCOUNT/cnv:VERSION | ||
|
||
baseCommand: [python3, /usr/local/bin/SV_cytoband.py] | ||
|
||
inputs: | ||
- id: input | ||
type: File | ||
inputBinding: | ||
prefix: -i | ||
doc: expect the path to the vcf file | ||
|
||
- id: outputfile | ||
type: string | ||
default: "output.vcf" | ||
inputBinding: | ||
prefix: -o | ||
doc: name of the output file | ||
|
||
- id: cytoband | ||
type: File | ||
inputBinding: | ||
prefix: -c | ||
doc: expect the path to the cytoband reference file | ||
|
||
outputs: | ||
- id: output | ||
type: File | ||
outputBinding: | ||
glob: $(inputs.outputfile + ".gz") | ||
secondaryFiles: | ||
- .tbi | ||
|
||
doc: | | ||
run SV_cytoband.py to add cytoband annotations for each SV breakpoint |
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,43 @@ | ||
#!/usr/bin/env cwl-runner | ||
|
||
cwlVersion: v1.0 | ||
|
||
class: CommandLineTool | ||
|
||
requirements: | ||
- class: InlineJavascriptRequirement | ||
|
||
hints: | ||
- class: DockerRequirement | ||
dockerPull: ACCOUNT/cnv:VERSION | ||
|
||
baseCommand: [granite, SVqcVCF] | ||
|
||
inputs: | ||
- id: input_vcf | ||
type: File | ||
inputBinding: | ||
prefix: -i | ||
doc: expect the path to the vcf gz file | ||
|
||
- id: outputfile | ||
type: string | ||
default: "output.json" | ||
inputBinding: | ||
prefix: -o | ||
doc: name of the output file | ||
|
||
- id: samples | ||
type: string[] | ||
inputBinding: | ||
prefix: --samples | ||
doc: samples to collect metrics for | ||
|
||
outputs: | ||
- id: qc_json | ||
type: File | ||
outputBinding: | ||
glob: $(inputs.outputfile) | ||
|
||
doc: | | ||
run granite SVqcVCF |
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
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,52 @@ | ||
cwlVersion: v1.0 | ||
|
||
class: Workflow | ||
|
||
requirements: | ||
MultipleInputFeatureRequirement: {} | ||
|
||
inputs: | ||
- id: input_vcf | ||
type: File | ||
doc: expect the path to the sample vcf gz file | ||
|
||
- id: output_vcf | ||
type: string | ||
default: "output.vcf" | ||
doc: base name of output vcf gz file | ||
|
||
- id: cytoband | ||
type: File | ||
doc: expect the path to the cytoband reference file | ||
|
||
outputs: | ||
cytoband_SV_vcf: | ||
type: File | ||
outputSource: SV_cytoband/output | ||
|
||
vcf-check: | ||
type: File | ||
outputSource: integrity-check/output | ||
|
||
steps: | ||
SV_cytoband: | ||
run: SV_cytoband.cwl | ||
in: | ||
input: | ||
source: input_vcf | ||
outputfile: | ||
source: output_vcf | ||
cytoband: | ||
source: cytoband | ||
out: [output] | ||
|
||
integrity-check: | ||
run: vcf-integrity-check.cwl | ||
in: | ||
input: | ||
source: SV_cytoband/output | ||
out: [output] | ||
|
||
doc: | | ||
run SV_cytoband.py to add cytoband annotations for each SV breakpoint | | ||
run an integrity check on the output vcf gz |
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,34 @@ | ||
cwlVersion: v1.0 | ||
|
||
class: Workflow | ||
|
||
requirements: | ||
MultipleInputFeatureRequirement: {} | ||
|
||
inputs: | ||
- id: input_vcf | ||
type: File | ||
doc: expect the path to the vcf gz file | ||
|
||
- id: samples | ||
type: string[] | ||
doc: samples to collect metrics for | ||
|
||
outputs: | ||
qc_json: | ||
type: File | ||
outputSource: granite-SVqcVCF/qc_json | ||
|
||
steps: | ||
granite-SVqcVCF: | ||
run: granite-SVqcVCF.cwl | ||
in: | ||
input_vcf: | ||
source: input_vcf | ||
samples: | ||
source: samples | ||
out: [qc_json] | ||
|
||
|
||
doc: | | ||
run granite SVqcVCF |
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.