Source code for silvio.extensions.records.gene.gene

"""
The Gene component stores the:
 - ORF and Promoter sequences (enhancers in future?)
 - a name as designation
 - (annotations in future - all that what biopython brings to the table)
"""

from __future__ import annotations
from abc import ABC, abstractmethod

from Bio.Seq import Seq

from ....record import Record



[docs]class Gene ( Record, ABC ) : def __init__ ( self ) : pass # @abstractmethod # def clone ( self ) -> Gene : # pass @property @abstractmethod def name ( self ) -> str : pass @property @abstractmethod def prom ( self ) -> Seq : pass @property @abstractmethod def orf ( self ) -> Seq : pass