I've seen several threads about how to use the rna...
# rnaseq
w
I've seen several threads about how to use the rnaseq pipeline for prokaryotic RNA-Seq. I see there is a section Prokaryotic genome annotations in the documentation, but it mentions nothing about how to tweak parameters for alignment. The pipeline has 3 aligner options "star_rsem", "star_salmon", and "hisat2". Which one is best for prokaryotic RNA-Seq and what parameters should I use (e.g. to disable splicing)? There is a slack thread about this. In addition, I've been using EDGE-Pro to get gene read counts from prokaryotic RNA-Seq BAMs because this tool can "assign reads aligning to overlapping gene regions accurately. 15% or more of bacterial genes overlap other genes, making this a significant problem for bacterial RNA-seq, one that is generally ignored by programs designed for eukaryotic RNA-seq experiments." As far as I know, featurecounts does not handle this issue and it by default discards the reads that are mapped to multiple genes. Wanted to learn how other people are analyzing prokaryotic RNA-Seq and whether there is a best-practice protocol. Any help/advice will be appreciated!
t
Matthias certainly knows more about this than I do, but even without tweaks STAR should work just fine (there are no splice sites, so even without penalty it won't be tempted; I think I used it once many years ago, and it looked fine), and it is trivial to pass these extra parameters. But what you are really worried about would be the counting step, not the mapping. Unlike
featureCounts
, RSEM and Salmon don't discard ambiguous reads, but they "split" the counts, which is a big advantage here. Also, the "overlapping" gene areas you are talking about are pretty small typically (maybe 10% of less of the current standard read length of 150 nt), so I would not worry about that. If you want to worry about something, consider that operons are single transcripts that are (almost artificially, from a transcriptomics point of view) divided into genes. So you'll end up with plenty of reads of that are half in one gene, half in the other, because the transcript that broke into fragments that were sequenced knows no gene boundaries. But given the the "fractional count" allocation, I think that's perfectly fine. Ideally, though, you would annotate operons (which is harder though, because "genes" are simply ORFs, which are often homologous to known ORFs from other strains and species) and count those, which would avoid the problem. (If you are interested in expression differences/gradients of front vs back, you can plot the coverage for a given operon afterwards. Gene boundaries are again arbitrary for that purpose.) These are just my thoughts as someone who has trained as a microbiologist and now analyzes mostly human/mouse data. From the questions here, I predict you main issue may be finding/building a GTF that conforms to the conventions of the tools that were developed with eukaryotes in mind (splicing, multiple transcripts per genes, rather than multiple genes per transcript, long UTR, etc.). Most bacterial GTFs have no "exons" or even "transcripts", which are the basic foundation of what eukaryotic tools use. If you are lucky and can find an Ensembl annotation of your bug, that might work, otherwise you might have to forge ORFs into exons and transcripts yourself.🤞
m
I warmly recommend this issue on the pipeline repository, which is actually not an issue, but an amazing effort by a team in Denmark to explore the optimal settings and required additional tools for the pipeline to use prokaryotic data. I am unsure what the state of their work is, but maybe they are happy for collaborators? The problem with such large features is usually that developing it without an actual need or in-depth knowledge on the peculiarities is hard.
j
FWIW, for my data disabling splicing made a difference and was clearly necessary. You've seen my threads, so you know which issues I had, and basically they're all addressed in the Github post Matthias mentioned. The main issue, and I can't stress this enough, is having an annotation in the correct format. If your genome is on Ensembl, use that, it won't require any "fixing". If you want to know which parameters exactly I used, let me know. Things might be different with a different version of the pipeline of course.
Filtering rRNA with SortMeRNA was also extremely necessary in my case, as the library was prepared with the Illumina RiboZero Plus kit, which depletes rRNA only for some eukaryotes, E. coli and B. subtilis. There is a different kit (RiboZero Plus Microbiome) which is supposed to work for more prokaryotic species, although I can't be sure that it would have made a difference for our species of course. But I suppose NGI doesn't have that kit. I was not aware of its existence until recently. Now I have no option but to work with the data I got. SortMeRNA was a lifesaver.
w
Thanks so much for all the helpful recommendations!
👍 1