File Info

Filename
.command.sh
Full Path
s3://natera-rnd-pltf-dev-nextflow-scratch-01/work/2d/d7a4344b2d5abe9493b272e04b6dc0/.command.sh
Size
1.0 KB
Attempt
#!/bin/bash -euo pipefail
fusion_report run GM24385_0001_RNA_0001_23H5VFLT4_s32 . fusion_report_db --arriba GM24385_0001_RNA_0001_23H5VFLT4_s32.arriba.fusions.filtered_pass_only.tsv --starfusion GM24385_0001_RNA_0001_23H5VFLT4_s32.starfusion.starfusion.fusion_predictions.filtered_pass_only.tsv  --allow-multiple-gene-symbols --tool-cutoff 1 --export csv 

mv fusion_list.tsv GM24385_0001_RNA_0001_23H5VFLT4_s32.fusionreport.tsv
mv fusion_list_filtered.tsv GM24385_0001_RNA_0001_23H5VFLT4_s32.fusionreport_filtered.tsv
mv index.html GM24385_0001_RNA_0001_23H5VFLT4_s32_fusionreport_index.html
[ ! -f fusions.csv ] || mv fusions.csv GM24385_0001_RNA_0001_23H5VFLT4_s32.fusions.csv
[ ! -f fusions.json ] || mv fusions.json GM24385_0001_RNA_0001_23H5VFLT4_s32.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