File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/0f/a2015d9e722d5267a2d422a7a536ac/.command.sh
Size
958 bytes
Attempt
#!/bin/bash -euo pipefail
fusion_report run NTC_0001_0001_A23YTGFLT4_1 . fusion_report_db --arriba NTC_0001_0001_A23YTGFLT4_1.arriba.fusions.filtered_pass_only.tsv --starfusion NTC_0001_0001_A23YTGFLT4_1.starfusion.starfusion.fusion_predictions.filtered_pass_only.tsv  --allow-multiple-gene-symbols --tool-cutoff 1 --export csv 

mv fusion_list.tsv NTC_0001_0001_A23YTGFLT4_1.fusionreport.tsv
mv fusion_list_filtered.tsv NTC_0001_0001_A23YTGFLT4_1.fusionreport_filtered.tsv
mv index.html NTC_0001_0001_A23YTGFLT4_1_fusionreport_index.html
[ ! -f fusions.csv ] || mv fusions.csv NTC_0001_0001_A23YTGFLT4_1.fusions.csv
[ ! -f fusions.json ] || mv fusions.json NTC_0001_0001_A23YTGFLT4_1.fusions.json

cat <<-END_VERSIONS > versions.yml
"NFCORE_RNAFUSION:RNAFUSION:FUSIONREPORT_WORKFLOW:FUSIONREPORT":
    fusion_report: $(fusion_report --version | sed 's/fusion-report //')
    fusion_report DB retrieval: $(cat fusion_report_db/DB-timestamp.txt)
END_VERSIONS