#!/bin/bash -euo pipefail # Predict contamination from VAF features predict_contamination.py \ "tih_rna_sample_00569_B23MVV7LT4_1.features.csv" \ --output "tih_rna_sample_00569_B23MVV7LT4_1.predictions.csv" \ --threshold 0.9999 \ cat <<-END_VERSIONS > versions.yml "NFCORE_RNAFUSION:RNAFUSION:RNA_CONTAMINATION_DETECTION_WORKFLOW:PREDICT_CONTAMINATION": python: $(python3 --version | sed 's/Python //g') predict_contamination: 1.0.0 END_VERSIONS