Skip to content

Commit

Permalink
🔧 ensure samtools split uses cram ref if cram ref given
Browse files Browse the repository at this point in the history
  • Loading branch information
migbro committed Aug 22, 2022
1 parent 637e33f commit 95c6003
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 4 additions & 2 deletions subworkflows/kfdrc_process_bam.cwl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
cwlVersion: v1.0
cwlVersion: v1.2
class: Workflow
id: kfdrc_process_bam
requirements:
Expand Down Expand Up @@ -27,7 +27,9 @@ steps:
run: ../tools/samtools_split.cwl
in:
input_bam: input_bam
reference: indexed_reference_fasta
reference:
source: [cram_reference, indexed_reference_fasta]
pickValue: first_non_null
out: [bam_files] #+1 Nesting File[]

realign_split_bam:
Expand Down
4 changes: 3 additions & 1 deletion workflows/kfdrc_sentieon_alignment_wf.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,9 @@ steps:
scatter: [input_bam]
in:
input_bam: input_bam_list
reference: untar_reference/indexed_fasta
reference:
source: [cram_reference, untar_reference/indexed_fasta]
pickValue: first_non_null
max_memory: samtools_split_max_memory
cores: samtools_split_cores
out: [bam_files]
Expand Down

0 comments on commit 95c6003

Please sign in to comment.