#!/bin/bash -euo pipefail
vcf_collect.py \
--fusioninspector KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.FusionInspector.fusions.abridged.tsv.annotated.coding_effect \
--fusionreport KG1_FFPE_01_RNA_0003_B23LG7FLT4_2_fusionreport_index.html \
--fusioninspector_gtf KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.tsv \
--fusionreport_csv KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.fusions.csv \
--hgnc hgnc_complete_set.txt \
--sample KG1_FFPE_01_RNA_0003_B23LG7FLT4_2 \
--out KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.fusion_data.vcf \
--arriba_fusions KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.arriba.fusions.filtered_pass_only.tsv \
--use_chr_prefix
sort_fusion_vcf_mateid.py \
--input KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.fusion_data.vcf
bgzip KG1_FFPE_01_RNA_0003_B23LG7FLT4_2.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