umccr / RNAsum

Pipeline for generating RNAseq-based cancer patient reports
https://umccr.github.io/RNAsum/
Other
7 stars 4 forks source link

Bug when no SV TSV provided #176

Closed pdiakumis closed 3 weeks ago

pdiakumis commented 3 weeks ago

From user report:

Quitting from lines 1518-1547 [goi_summary_update] (rnasum.Rmd)
Error in `dplyr::filter()`:
ℹ In argument: `.data$reported_fusion | .data$geneA_dna_support | .data$geneB_dna_support`.
ℹ In row 1.
Caused by error in `.data$geneA_dna_support`:
! Column `geneA_dna_support` not found in `.data`

This is due to the geneA_dna_support/geneB_dna_support columns only created in the fusions_and_sv_data_prep chunk which evaluates upon runSVsChunk being TRUE (which is not the case when the sv_tsv param is NULL).