#!/bin/bash -euo pipefail junction_annotation.py \ -i tih_rna_sample_00722_B23MVV7LT4_1.Aligned.sortedByCoord.out.bam tih_rna_sample_00722_B23MVV7LT4_1.Aligned.sortedByCoord.out.bam.bai \ -r ref_annot.bed \ -o tih_rna_sample_00722_B23MVV7LT4_1 \ \ 2> >(grep -v 'E::idx_find_and_load' | tee tih_rna_sample_00722_B23MVV7LT4_1.junction_annotation.log >&2) cat <<-END_VERSIONS > versions.yml "NFCORE_RNAFUSION:RNAFUSION:QC_WORKFLOW:BAM_RSEQC:RSEQC_JUNCTIONANNOTATION": rseqc: $(junction_annotation.py --version | sed -e "s/junction_annotation.py //g") END_VERSIONS