Commit cb7fb088 authored by Nicholas Panos's avatar Nicholas Panos

mRNA and AAC object classes

parent c9b10f86
class AminoAcidChain:
def __init__(self,seq:str):
self.sequence:str = seq
self.length:int = len(seq)
self.postTranslationalModificationSites:list[tuple] = []
\ No newline at end of file
class mRNA :
def __init__(self,cd:str,og:str,pal:int):
self.code: str = cd
self.originGene:str = og
self.polyALength:int = pal
self.kozakStrengths:list[float] = []
self.leakyScanStrengths:list[float] = []
self.localisationSequences:list[tuple] = []
self.hairpins:list[tuple] = []
self.IREs:list[tuple] = []
self.uORFs:list[tuple] = []
self.processedBy:list[str] = []
def getReadingFrame(self,start:int) -> str:
return self.code[start:]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment