Skip to content

Commit 5f9ce30

Browse files
committed
Add cytobands to inputs
1 parent 76b3032 commit 5f9ce30

3 files changed

Lines changed: 7 additions & 3 deletions

File tree

src/sv_shell/gather_batch_evidence.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ cnmops_inputs_json="$(realpath "${output_dir}/cnmops_inputs.json")"
186186
cnmops_outputs_json="$(realpath "${output_dir}/cnmops_outputs.json")"
187187

188188
jq -n \
189+
--slurpfile inputs "${input_json}" \
189190
--arg r1 "3" \
190191
--arg r2 "10" \
191192
--arg batch "${batch}" \
@@ -213,7 +214,8 @@ jq -n \
213214
"allo_file": $allo_file,
214215
"ref_dict": $ref_dict,
215216
"prefix": $prefix,
216-
"stitch_and_clean_large_events": $stitch_and_clean_large_events
217+
"stitch_and_clean_large_events": $stitch_and_clean_large_events,
218+
"cytobands": $inputs[0].cytobands
217219
}' > "${cnmops_inputs_json}"
218220

219221
bash /opt/sv_shell/cnmops.sh "${cnmops_inputs_json}" "${cnmops_outputs_json}"

src/sv_shell/sample_inputs/gather_batch_evidence.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,5 +520,6 @@
520520
"wham_vcfs": [
521521
"/inputs/NA12878.wham.vcf.gz"
522522
],
523-
"min_svsize": 50
523+
"min_svsize": 50,
524+
"cytobands": "/inputs/cytobands_hg38.bed.gz"
524525
}

src/sv_shell/single_sample_pipeline.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,8 @@ jq -n \
319319
run_module_metrics: $inputs[0].run_batchevidence_metrics,
320320
median_cov_mem_gb_per_sample: $inputs[0].median_cov_mem_gb_per_sample,
321321
ref_panel_median_cov: $inputs[0].ref_panel_median_cov,
322-
sample_median_cov: $eqc_outputs[0].bincov_median
322+
sample_median_cov: $eqc_outputs[0].bincov_median,
323+
"cytobands": $inputs[0].cytobands,
323324
}' > "${gather_batch_evidence_inputs_json_filename}"
324325

325326
bash /opt/sv_shell/gather_batch_evidence.sh \

0 commit comments

Comments
 (0)