Closed nkliutx closed 4 months ago
Hi,
yes, some of the plots assume that you have a particular structural category, in this case, ISM, and when the SC is not present it can crash. We are working to avoid this kind of crash, but is not a priority. You can comment those lines in the SQANTI3_report.R and it should work. If you have used polyA motifs it may also crash there.
Sorry for the inconvenience, Alejandro
Is there an existing issue for this?
Have you loaded the SQANTI3.env conda environment?
Problem description
I'm running sqanti3_qc.py, and it cannot generate full report files. I ran the command below to reproduce the error. It seems like no ism found caused this error.
Code sample
/usr/bin/Rscript /home/bio/data2/ovseqs/longread/sqanti3/SQANTI3/utilities//report_qc/SQANTI3_report.R /home/bio/data2/ovseqs/longread/sqanti3/SQANTI3/result/bambu/bam_classification.txt /home/bio/data2/ovseqs/longread/sqanti3/SQANTI3/result/bambu/bam_junctions.txt /home/bio/data2/ovseqs/longread/sqanti3/SQANTI3/result/bambu/bam.params.txt /home/bio/data2/ovseqs/longread/sqanti3/SQANTI3/utilities True both
Error
Warning message: The
size
argument ofelement_line()
is deprecated as of ggplot2 3.4.0. ℹ Please use thelinewidth
argument instead. Warning message: Usingsize
aesthetic for lines was deprecated in ggplot2 3.4.0. ℹ Please uselinewidth
instead. Warning message: A numericlegend.position
argument intheme()
was deprecated in ggplot2 3.5.0. ℹ Please use thelegend.position.inside
argument oftheme()
instead.summarise()
has grouped output by 'lenCat'. You can override using the.groups
argument.summarise()
has grouped output by 'associated_transcript'. You can override using the.groups
argument.summarise()
has grouped output by 'associated_transcript'. You can override using the.groups
argument. [[1]][[1]] NULL
[[1]]
[[1]]
[[1]]
[[1]]
[[1]]
[[1]]
[[1]]
[[1]] NULL
[[1]] NULL
[[1]] NULL
[[1]] NULL
[[1]] NULL
[[1]] NULL
[[1]]
[[1]]
[1] "SQANTI3 report successfully generated!" In addition: There were 11 warnings (use warnings() to see them)
processing file: SQANTI3_report.Rmd |................ | 66% [unnamed-chunk-31] Quitting from lines 884-912 [unnamed-chunk-31] (SQANTI3_report.Rmd) Error in
ans[ypos] <- rep(yes, length.out = len)[ypos]
: ! replacement has length zero Backtrace:Anything else?
This is the classfication.txt 35 antisense 37202 full-splice_match 11 fusion 13 genic 11 genic_intron 438 intergenic 319 novel_in_catalog 193 novel_not_in_catalog 1 structural_category