#!/bin/bash -Ceuo pipefail
analyze \
--tumor-bam Sig_18_tissue.recalibrated.bam \
--normal-bam normal/reference-NA12878-downsampled-500k.bam \
--case-id positive_somatic_control_2 \
--save \
--save-location . \
--save-format both \
--name positive_somatic_control_2 \
--cores 16 \
--coverage 100 \
--confidence-interval 0.95 \
--microsatellites-list 1500_dropped_panel_with_boosted_msi_regions.tsv --model mi_msi_v0_4_0_200x_attn.model --use-attention
mimsi_results_to_json.py positive_somatic_control_2_results.txt positive_somatic_control_2_results.json
cat <<-END_VERSIONS > versions.yml
"DAQ:CONTROL_VARIANT_CALLING:CONTROL_SOMATIC_VC:MIMSI_ANALYZE":
mimsi: $(analyze --version 2>&1 | sed 's/.*version - //; s/ .*//' || echo 'unknown')
END_VERSIONS