Page MenuHomec4science

protein_sequence.py
No OneTemporary

File Metadata

Created
Sat, Jul 12, 23:11

protein_sequence.py

#!/usr/bin/env python
# -*- coding: utf-8 -*-
" module containing class ProteinSequence"
##########################################################################
from sequence import Sequence
##########################################################################
class ProteinSequence(Sequence):
"""
class ProteinSequence: to be implemented, will store information about sequences of type protein
"""
# ------------------------------------------------------------------ #
# Constructors/Destructors #
# ------------------------------------------------------------------ #
def __init__(self, ID, sample, sequence):
"""__init__: is the same as the mother class 'Sequence' __init__"""
Sequence.__init__(self, ID, sample, sequence)
def __del__(self):
"""__del__: not implemented """
pass
def printSequence(self, cluster_info = False):
""" printSequence : print information about the object of type protein"""
Sequence.printSequence(self, cluster_info = False)
##########################################################################
if __name__ == '__main__':
test = ProteinSequence('protein_test_sequence','test_sample','VLPTG')

Event Timeline