Closed alexyfyf closed 11 months ago
Hi @alexyfyf , given that you have run bambu without quantification, the returned output is a CompressedGrangesList object instead of a SummarizedExperiment object, so the way you extract the annotations is not correct.
You can just directly call se1
and it should already return you what you are looking for
and if you want to check the metadata you can call mcols(se1)
Hope this helps to solve your problem.
Thank you Regards, Ying
Hi @cying111 , thank you for your reply. Yes I know I can use mcols
.
But I want to output the transcripts as GTF file, and I'm not sure how to do that with mcols
.
Thank you!
Hi @alexyfyf , sorry I missed that part, to write it out, you can use this function instead:
writeToGTF(se1, file='SGNex_K562_cDNA_replicate3_run4.gtf')
Thank you so much, I thought it will break writeToGTF
as well. Seems only affecting writeBambuOutput
. I'll close the issue.
Hi team,
Thanks for developing this tool. I have encountered an error when I want to output the gtf. I have run bambu to output all novel transcript without quantification.
I have also tried to use
DelayedMatrixStats::rowRanges
andsparseMatrixStats::rowRanges
, and both showed the same error. I'm using the bambu 3.3.4 from devel branch. Thank you if you could look into this.Cheers, Alex