File Info

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

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