Skip to content

Commit

Permalink
Merge pull request #480 from umccr/update-rnasum-params
Browse files Browse the repository at this point in the history
Update rnasum input parameters
  • Loading branch information
skanwal authored Apr 5, 2024
2 parents 576a3ea + e9d5eec commit 5754733
Show file tree
Hide file tree
Showing 3 changed files with 102 additions and 63 deletions.
11 changes: 4 additions & 7 deletions config/project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@ projects:
linked_projects:
- dc8e6ba9-b744-437b-b070-4cf014694b3d
- c9173925-a838-4394-9fc6-61cb93c252a1
tenant_id:
YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tenant_id: YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tools:
- name: samtools-merge
path: samtools-merge
Expand Down Expand Up @@ -474,7 +473,7 @@ projects:
- name: 0.5.0
path: 0.5.0/rnasum__0.5.0.cwl
ica_workflow_version_name: 0.5.0
modification_time: 2024-01-04T01:02:49UTC
modification_time: 2024-04-05T00:48:41UTC
run_instances: []
- name: samtools-stats
path: samtools-stats
Expand Down Expand Up @@ -1056,8 +1055,7 @@ projects:
- 20b42a71-1ebc-4e7b-b659-313f2f4524c3
- c9173925-a838-4394-9fc6-61cb93c252a1
- dc8e6ba9-b744-437b-b070-4cf014694b3d
tenant_id:
YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tenant_id: YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tools:
- name: dragen-build-reference-tarball
path: dragen-build-reference-tarball
Expand Down Expand Up @@ -3315,8 +3313,7 @@ projects:
production: false
linked_projects:
- 30f09dfb-10e3-43b4-9056-07c8623b96a3
tenant_id:
YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tenant_id: YXdzLXVzLXBsYXRmb3JtOjEwMDAwNTM3OjBiYTU5YWUxLWZkYWUtNDNiYS1hM2I1LTRkMzY3YTQzYWJkNQ
tools:
- name: custom-create-tso500-samplesheet
path: custom-create-tso500-samplesheet
Expand Down
2 changes: 1 addition & 1 deletion config/tool.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ tools:
md5sum: 8b05e1c40c2ff0befb56df0b31560c04
- name: 0.5.0
path: 0.5.0/rnasum__0.5.0.cwl
md5sum: dc500a423a94d396bfd84155570779e7
md5sum: 81ecc826d2909bc215249864b2ff3422
categories: []
- name: samtools-stats
path: samtools-stats
Expand Down
152 changes: 97 additions & 55 deletions tools/rnasum/0.5.0/rnasum__0.5.0.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -39,42 +39,72 @@ hints:

baseCommand: [ "rnasum.R" ]

arguments:
- position: -5
valueFrom: "--batch_rm"
- position: -4
valueFrom: "--filter"
- position: -3
valueFrom: "--log"
- position: -2
valueFrom: "--save_tables"
- position: -1
valueFrom: "--pcgr_splice_vars"

inputs:
# Input folders
dragen_transcriptome_directory:
dragen_wts_dir:
label: dragen transcriptome directory
doc: |
Location of the results from Dragen RNA-seq pipeline
type: Directory?
inputBinding:
prefix: "--dragen_wts_dir"
arriba_directory:
dragen_mapping_metrics:
label: dragen fusions
doc: |
Location of the mapping metrics from Dragen RNA-seq pipeline
type: File?
inputBinding:
prefix: "--dragen_mapping_metrics"
dragen_fusions:
label: dragen fusions
doc: |
Location of the fusion output from Dragen RNA-seq pipeline
type: File?
inputBinding:
prefix: "--dragen_fusions"
salmon:
label: salmom
doc: |
Location of the quantification output from salmon
type: File?
inputBinding:
prefix: "--salmon"
arriba_dir:
label: arriba directory
doc: |
Location of the arriba outputs directory
type: Directory?
inputBinding:
prefix: "--arriba_dir"
umccrise_directory:
arriba_pdf:
label: arriba pdf
doc: |
Location of the pdf output from arriba
type: File?
inputBinding:
prefix: "--arriba_pdf"
arriba_tsv:
label: arriba tsv
doc: |
Location of the tsv output from arriba
type: File?
inputBinding:
prefix: "--arriba_tsv"
umccrise:
label: umccrise directory
doc: |
The umccrise output directory
type: Directory?
inputBinding:
prefix: "--umccrise"
report_directory:
manta_tsv:
label: manta tsv
doc: |
Location of the tsv output from manta
type: File?
inputBinding:
prefix: "--manta_tsv"
report_dir:
label: report dir
doc: |
Desired location for the outputs
Expand Down Expand Up @@ -128,6 +158,20 @@ inputs:
type: boolean?
inputBinding:
prefix: "--immunogram"
pcgr_tiers_tsv:
label: pcgr tiers tsv
doc: |
Location of the tsv output from pcgr
type: File?
inputBinding:
prefix: "--pcgr_tiers_tsv"
purple_gene_tsv:
label: purple gene tsv
doc: |
Location of the tsv output from purple
type: File?
inputBinding:
prefix: "--purple_gene_tsv"
pcgr_tier:
label: pcgr tier
default: 4
Expand All @@ -136,13 +180,6 @@ inputs:
type: int?
inputBinding:
prefix: "--pcgr_tier"
pcgr_splice_vars:
label: pcgr splice vars
doc: |
Include non-coding splice region variants reported in PCGR.
type: boolean?
inputBinding:
prefix: "--pcgr_splice_vars"
cn_loss:
label: cn loss
default: 5
Expand All @@ -159,20 +196,6 @@ inputs:
type: int?
inputBinding:
prefix: "--cn_gain"
clinical_info:
label: clinical info
doc: |
xslx file with clinical information.
type: File?
inputBinding:
prefix: "--clinical_info"
clinical_id:
label: clinical id
doc: |
ID required to match sample with the subject clinical information (specified in flag --clinical_info).
type: string?
inputBinding:
prefix: "--clinical_id"
subject_id:
label: subject id
doc: |
Expand Down Expand Up @@ -211,50 +234,69 @@ inputs:
type: int?
inputBinding:
prefix: "--top_genes"
hide_code_btn:
label: hide code btn
doc: |
Hide the "Code" button allowing to show/hide code chunks in the final HTML report.
type: boolean?
inputBinding:
prefix: "--hide_code_btn"
grch_version:
label: grch version
doc: |
Human reference genome version used for genes annotation.
type: int?
inputBinding:
prefix: "--grch_version"
dataset:
label: dataset
label: dataset
default: "PANCAN"
doc: |
Reference dataset selection from https://github.com/umccr/RNAsum/blob/master/TCGA_projects_summary.md
type: string
inputBinding:
prefix: "--dataset"
batch_rm:
label: batch rm
default: TRUE
doc: |
Remove batch-associated effects between datasets. Available options are: "TRUE" (default) and "FALSE"
type: boolean?
inputBinding:
prefix: "--batch_rm"
filter:
label: filter
default: TRUE
doc: |
Filtering out low expressed genes. Available options are: "TRUE" (default) and "FALSE"
type: boolean?
inputBinding:
prefix: "--filter"
log:
label: log
default: TRUE
doc: |
Log (base 2) transform data before normalisation. Available options are: "TRUE" (default) and "FALSE"
type: boolean?
inputBinding:
prefix: "--log"
save_tables:
label: save tables
default: TRUE
doc: |
save tables
Save interactive summary tables as HTML. Available options are: "TRUE" (default) and "FALSE"
type: boolean?
inputBinding:
prefix: "--save_tables"
pcgr_splice_vars:
label: PCGR splice vars
default: TRUE
doc: |
Include non-coding splice region variants reported in PCGR. Available options are: "TRUE" (default) and "FALSE"
type: boolean?
inputBinding:
prefix: "--pcgr_splice_vars"

outputs:
rnasum_output_directory:
label: RNAsum output directory
doc: Output directory containing all outputs of the RNAsum run
type: Directory
outputBinding:
glob: "$(inputs.report_directory)"
glob: "$(inputs.report_dir)"
rnasum_html:
label: rnasum html
doc: |
The HTML report output of RNAsum
type: File
outputBinding:
glob: "$(inputs.report_directory)/$(inputs.sample_name).RNAseq_report.html"
glob: "$(inputs.report_dir)/$(inputs.sample_name).RNAseq_report.html"

successCodes:
- 0

0 comments on commit 5754733

Please sign in to comment.