view lib/sequence.py @ 11:693943fed7b0
Sandbox: another failed attempt at using python+tk+text for rendering.
author |
Danya Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
date |
Thu, 10 Jun 2010 15:03:09 +0400 |
parents |
757f2a1f8732 |
children |
892e54d16419 217d83a617c3 |
line source
4 class Sequence(object):
7 * name -- str with the name of sequence
8 * description -- str with description of the sequence
9 * monomers -- list of monomer objects (aminoacids or nucleotides)
11 def __init__(self, name, description, monomers):
13 self.description=description
14 self.monomers=monomers