Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
stevekm committed Apr 20, 2021
2 parents 35c951e + ab5cc2e commit 2569626
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 1 addition & 1 deletion cwl/facets-suite-workflow.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ outputs:
hisens_rds: # Tumor1.Normal1_hisens.rds
type: File?
outputSource: check_results/hisens_rds
annotated_maf: # Tumor1.Normal1_hisens.ccf.maf
annotated_maf: # Tumor1.Normal1_hisens.ccf.maf ; _hisens.ccf.portal.maf
type: File?
outputSource: check_results/annotated_maf
output_dir:
Expand Down
6 changes: 3 additions & 3 deletions examples/pairs.tsv
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
tumor_id normal_id pair_id pair_maf snp_pileup
Sample6 Sample5 Sample6.Sample5 /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/maf/Sample6.Sample5.muts.maf /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/facets/Sample5.rg.md.abra.printreads__Sample6.rg.md.abra.printreads.dat.gz
Sample1 Sample2 Sample1.Sample2 /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/maf/Sample1.Sample2.muts.maf /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/facets/Sample2.rg.md.abra.printreads__Sample1.rg.md.abra.printreads.dat.gz
tumor_id normal_id pair_id pair_maf snp_pileup tumor_bam normal_bam
Sample6 Sample5 Sample6.Sample5 /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/maf/Sample6.Sample5.muts.maf /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/facets/Sample5.rg.md.abra.printreads__Sample6.rg.md.abra.printreads.dat.gz /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/bam/Sample6.rg.md.abra.printreads.bam /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/bam/Sample5.rg.md.abra.printreads.bam
Sample1 Sample2 Sample1.Sample2 /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/maf/Sample1.Sample2.muts.maf /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/facets/Sample2.rg.md.abra.printreads__Sample1.rg.md.abra.printreads.dat.gz /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/bam/Sample1.rg.md.abra.printreads.bam /juno/work/ci/helix_filters_01/fixtures/Proj_08390_G/bam/Sample2.rg.md.abra.printreads.bam
1 change: 1 addition & 0 deletions operators/workflow_with_facets.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ def generate_input_data(self): # **kwargs
bool_keys = ['is_impact'],
File_keys = [
'IMPACT_gene_list',
'microsatellites_file',
'data_clinical_file',
'sample_summary_file',
'targets_list',
Expand Down
7 changes: 4 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -261,8 +261,8 @@ def main():
_workflow_with_facets.add_argument('--data-clinical', dest = 'data_clinical_file', required = True)
_workflow_with_facets.add_argument('--sample-summary', dest = 'sample_summary_file', required = True)
# optional file samplesheets
_workflow_with_facets.add_argument('--mutation-svs-txts', dest = 'mutation_svs_txt_files') # mutation_svs.txt; Sample1.Sample2.svs.pass.vep.portal.txt
_workflow_with_facets.add_argument('--mutation-svs-mafs', dest = 'mutation_svs_maf_files') # mutation_svs_mafs.txt; Sample1.Sample2.svs.pass.vep.maf
_workflow_with_facets.add_argument('--mutation-svs-txts', dest = 'mutation_svs_txt_files', help = "A .txt file with filepaths to mutation_svs.txt files (.svs.pass.vep.portal.txt), one per line") # mutation_svs.txt; Sample1.Sample2.svs.pass.vep.portal.txt
_workflow_with_facets.add_argument('--mutation-svs-mafs', dest = 'mutation_svs_maf_files', help = "A .txt file with filepaths to mutation_svs_mafs.txt files (.svs.pass.vep.maf), one per line") # mutation_svs_mafs.txt; Sample1.Sample2.svs.pass.vep.maf
# optional args
_workflow_with_facets.add_argument('--cancer-study-identifier', dest = 'cancer_study_identifier')
_workflow_with_facets.add_argument('--project-name', dest = 'project_name')
Expand All @@ -277,9 +277,10 @@ def main():
_workflow_with_facets.add_argument('--targets-list', dest = 'targets_list')
_workflow_with_facets.add_argument('--known-fusions', dest = 'known_fusions_file')
_workflow_with_facets.add_argument('--print-input', dest = 'print_input', action = 'store_true')
_workflow_with_facets.add_argument('--microsatellites-file', dest = 'microsatellites_file', required = True)
_workflow_with_facets.set_defaults(func = WorkflowWithFacets._run)
"""
$ ./run.py workflow_with_facets --assay-coverage 100000 --project-id Project1 --cancer-type MEL --pairs examples/pairs.tsv --data-clinical examples/data_clinical.txt --sample-summary examples/sample_summary.txt --mutation-svs-txts examples/mutation_svs.txt --mutation-svs-mafs examples/mutation_svs_mafs.txt --print-input
$ ./run.py workflow_with_facets --assay-coverage 100000 --project-id Project1 --cancer-type MEL --pairs examples/pairs.tsv --data-clinical examples/data_clinical.txt --sample-summary examples/sample_summary.txt --mutation-svs-txts examples/mutation_svs.txt --mutation-svs-mafs examples/mutation_svs_mafs.txt --microsatellites-file /work/ci/resources/request_files/msisensor/microsatellites.list
"""

args = parser.parse_args()
Expand Down

0 comments on commit 2569626

Please sign in to comment.