Sebastian Uhrig
10/22/2025, 3:30 PMSvetlana L
10/22/2025, 3:42 PMSebastian Uhrig
10/22/2025, 6:07 PMIra Iosub
10/23/2025, 8:57 AMIra Iosub
11/06/2025, 5:06 PM--extra_ribowaltz_args happy to answer any q!Sebastian Uhrig
11/21/2025, 4:56 PMfastq_qc_trim_filter_setstrandedness subworkflow worries me in particular, because of how entangled it is with other nf-core pipelines. Conceptually, this is where RiboDetector belongs, since it performs the same job as SortMeRNA. But getting it there will take a considerable amount of time to ensure we don't break other pipelines or to convince users of the other pipelines that the tool is applicable in all places.Felix Krueger
11/21/2025, 7:18 PMBowtie2 command against those files in the past, where the mapping efficiency went up to >60%. Not exactly sure you are using the same file(s), but in my mind this is a very good starting point for the actual rRNA content. The command and efficiencies might have been reported further up in this channel.
@Maxime Garcia: What do you think about the concerns with getting the modules integrated into very popular (sub-)workflows?Ira Iosub
11/21/2025, 7:23 PMfull_test nf-core data for this pipeline, where it detects ~65-75% rRNA), for implementation, I wonder if the nf-core pattern of offering multiple tools might be a good fit here, similar to how trimmer selection works between Trim Galore! and fastp in the rnaseq and riboseq pipelines.
Implementation-wise, we could follow the same structure those pipelines use: keep --remove_ribo_rna (true/false) and introduce a new --rrna_removal_method param ( 'sortmerna' or 'ribodetector') and then have the subworkflow call the appropriate tool conditionally.
This might help with backwards compatibility and flexibility, requiring a little less coordination across multiple pipelines. Overall, it is a fantastic addition and many will benefit from it! 🙏Sebastian Uhrig
11/21/2025, 8:04 PMDoes RiboDetector use its own files or database to determine what makes a read count as rRNA, or did you feed it the same Silva db FastA files that SortMeRNA uses?It is a neural network. It has the database built into it's network as far as I understand. No need to feed a FastA reference.
I recall having used a simpleThanks for reminding me about this. I should add this to my comparison. Even the 30% detected by RiboDetector seems quite low. If in the end, bowtie2 is most effective at calling rRNA, I wouldn't even mind using this tool. Heck, it should actually be a pretty easy task to call rRNA, shouldn't it? I'm not an expert in this field, but intuitively I would have thought that a simple alignment should do the trick. Thanks for the implementation ideas, @Ira Iosub. I have implemented it similarly to what you suggest, i.e. give the users a choice as to what tool to use be means of a new parameter. I have removed the (what I thought to be a redundant) parametercommand against those files in the past, where the mapping efficiency went up to >60%.Bowtie2
--remove-ribo_rna, but you're making a good point about backwards compatibility. I should better add this back in.Ira Iosub
11/21/2025, 8:21 PMbowtie for pre-mapping to rRNA(+tRNA etc), which also gives the flexibility of providing your own contaminants fasta, which can also contain other common contaminants apart from rRNA. Also my pipeline riboseq-flow is using bowtie2 to premap and it works well (it's used in many riboseq papers also). so bowtie2 could be a nice option option for --rrna_removal_method . Yep, re --remove_ribo_rna, also having the option to not remove rRNA might be the desired option for some users/pipelinesJack Tierney
11/21/2025, 8:26 PMSebastian Uhrig
11/21/2025, 8:42 PMJonathan Manning
11/26/2025, 12:32 PMFelix Krueger
11/26/2025, 12:48 PMJonathan Manning
11/26/2025, 3:20 PMSebastian Uhrig
11/27/2025, 9:12 AMJonathan Manning
11/27/2025, 9:14 AMIra Iosub
11/27/2025, 9:14 AMSebastian Uhrig
11/27/2025, 9:51 AMJonathan Manning
11/27/2025, 10:24 AMSebastian Uhrig
11/27/2025, 3:58 PMSebastian Uhrig
11/28/2025, 9:15 AMsample type ribodetector sortmerna bowtie2
SRX11780879 rna 0.016376 0.015235 0.0062
SRX11780880 rna 0.018643 0.017312 0.0079
SRX11780881 rna 0.018057 0.016071 0.0073
SRX11780882 rna 0.018332 0.016826 0.0078
SRX11780883 rna 0.018402 0.017054 0.0081
SRX11780884 rna 0.019366 0.018621 0.0094
SRX11780885 ribo 0.720523 0.594232 0.7983
SRX11780886 ribo 0.676843 0.525669 0.7835
SRX11780887 ribo 0.710587 0.600073 0.7947
SRX11780888 ribo 0.714234 0.647662 0.7703
SRX11780889 ribo 0.796289 0.744790 0.8318
SRX11780890 ribo 0.789375 0.739528 0.8309
internal1 ribo 0.458959 0.095005* 0.5388
internal2 ribo 0.294509 0.059451* 0.5622
internal3 ribo 0.301996 0.053095* 0.5642
internal4 ribo 0.402143 0.013879* 0.6553
internal5 rna 0.569742 0.691147 0.6552
internal6 rna 0.688889 0.814442 0.7827
internal7 rna 0.704233 0.806061 0.7953
internal8 rna 0.687999 0.713427 0.7200
Without ground truth, hard to tell which is more accurate. Apart from SortMeRNA underestimating the rRNA content in our internal Ribo-seq data (marked with an asterisk), they all look reasonable, albeit there are differences between the tools.
Judging by these numbers, bowtie2 isn't a bad choice I would say. I like the fact that the numbers are pretty stable for this tool across samples from the same batch. The other tools have more variance, which probably means they have a higher misclassification rate?
Since we now have a working tool in the pipeline (RiboDetector), adding bowtie2 is not a priority for me though. I might find some time for it towards the end of the year after I have finished the other tasks on my to-do list.Jonathan Manning
11/28/2025, 9:19 AMJonathan Manning
11/28/2025, 9:19 AMFelix Krueger
11/28/2025, 9:19 AMFelix Krueger
11/28/2025, 9:32 AMJonathan Manning
11/28/2025, 9:34 AMFelix Krueger
11/28/2025, 9:35 AMJonathan Manning
11/28/2025, 9:35 AMJack Tierney
11/28/2025, 9:36 AMJonathan Manning
11/28/2025, 9:36 AMJack Tierney
11/28/2025, 9:37 AMFelix Krueger
11/28/2025, 9:38 AMFelix Krueger
11/28/2025, 9:39 AMJack Tierney
11/28/2025, 9:45 AMFelix Krueger
11/28/2025, 9:45 AMJonathan Manning
11/28/2025, 9:47 AMMaxime Borry
11/28/2025, 10:31 AMJonathan Manning
11/28/2025, 10:32 AMJonathan Manning
11/28/2025, 10:43 AMJonathan Manning
11/28/2025, 10:44 AMFelix Krueger
11/28/2025, 10:44 AMJonathan Manning
11/28/2025, 12:25 PMJack Tierney
11/28/2025, 12:28 PMJonathan Manning
11/28/2025, 12:36 PMJonathan Manning
11/28/2025, 12:39 PMJack Tierney
11/28/2025, 12:43 PMJonathan Manning
11/29/2025, 8:51 PMSebastian Uhrig
12/01/2025, 8:07 AMJonathan Manning
12/03/2025, 10:46 AMJonathan Manning
12/03/2025, 12:25 PMSebastian Uhrig
12/03/2025, 1:37 PM