#!/bin/bash -euo pipefail
vcf_collect.py \
--fusioninspector GM24385_0001_RNA_0001_23H5VFLT4_s40.FusionInspector.fusions.abridged.tsv.annotated.coding_effect \
--fusionreport GM24385_0001_RNA_0001_23H5VFLT4_s40_fusionreport_index.html \
--fusioninspector_gtf GM24385_0001_RNA_0001_23H5VFLT4_s40.tsv \
--fusionreport_csv GM24385_0001_RNA_0001_23H5VFLT4_s40.fusions.csv \
--hgnc hgnc_complete_set.txt \
--sample GM24385_0001_RNA_0001_23H5VFLT4_s40 \
--out GM24385_0001_RNA_0001_23H5VFLT4_s40.fusion_data.vcf \
--arriba_fusions GM24385_0001_RNA_0001_23H5VFLT4_s40.arriba.fusions.filtered_pass_only.tsv \
--use_chr_prefix
sort_fusion_vcf_mateid.py \
--input GM24385_0001_RNA_0001_23H5VFLT4_s40.fusion_data.vcf
bgzip GM24385_0001_RNA_0001_23H5VFLT4_s40.fusion_data.vcf
cat <<-END_VERSIONS > versions.yml
"NFCORE_RNAFUSION:RNAFUSION:FUSIONINSPECTOR_WORKFLOW:VCF_COLLECT":
python: $(python --version | sed 's/Python //g')
HGNC DB retrieval: $(cat HGNC-DB-timestamp.txt)
END_VERSIONS