Prior to performing this analysis, footprint assignment must be completed meaning that each ribosome protected fragment (RPF) has been mapped to a transcript specific position as a function of the fragment length and counts have been normalized by sequencing depth.
Each transcript is saved as a list with each position representing a nucleotide
The variable name is: exonsplicedcounts
For example, a 9 nucleotide transcript (x) with 3 ribosomes could look like: x = [ 0, 0, 0, 0, 2, 0, 0, 1, 0]
A key step in the protocol is trimming regions of each transcript. To trim the last 3 nucleotides of this transcript, you could use: x = x[:-3] Now this transcript has a length of 6 and 2 total counts [ 0, 0, 0, 0, 2, 0 ]
I set a dictionary with insets (nucleotides to be trimmed from each region) defaultInsets = { 'utr5Inset3' : 6, 'cdsInset5' : 18, 'cdsInset3' : 15, 'utr3Inset5' : 6 }
Iterate through all transcripts in the transcriptome annotation and perform the following steps:
Remove transcripts with 5’UTR length of zero
Remove transcripts with 3’UTR length of zero
Define the CDS start and end:
cdsstart = utr5len
cdsend = len(exonsplicedcounts) - utr3len
Verify transcripts have a CDS length greater than zero
Modify 5’UTR, 3’UTR, CDS and mRNA region lengths to exclude start codon and stop codon peaks from calculation.
utr5len = utr5len – 6
cdslen = cdslen – 18 – 15
utr3len = utr3len – 6
mrnalen = utr5len + cdslen +utr3len
calculate adjusted 3’UTR length (utr3LenAdj) based on the position of the first inframe stop codon
Wangen, J. R. and Green, R.(2020). Stop codon context influences genome-wide stimulation of termination codon readthrough by aminoglycosides. eLife. DOI: 10.7554/eLife.52611
Post your question to gather feedback from the community. We will also invite the authors of this
article to respond.
0/150
Tips for asking effective questions
+ Description
Write a detailed description. Include all information that will help others answer your question including experimental processes, conditions, and relevant images.
Spinning
Post a Question
0 Q&A
Spinning
This protocol preprint was submitted via the "Request
a Protocol" track.