Документ взят из кэша поисковой машины. Адрес оригинального документа : http://kodomo.fbb.msu.ru/hg/allpy/file/3a712982ceb8/allpy/protein.py
Дата изменения: Unknown
Дата индексирования: Mon Feb 4 05:54:47 2013
Кодировка:
allpy: 3a712982ceb8 allpy/protein.py

allpy

view allpy/protein.py @ 843:3a712982ceb8

blocks3d/wt: use vector instead of list as container for tasks Actions are needed from this container: * remove_if * size * push_back list should have constant size(), but it has linear size in some implementations (for example, in g++).
author boris <bnagaev@gmail.com>
date Wed, 20 Jul 2011 02:42:04 +0200
parents 387f692e2356
children 4a9b4503a027
line source
1 import base
2 import data.codes
4 import protein
6 class Monomer(base.Monomer):
7 """Protein monomers: aminoacids."""
8 type = 'protein'
9 types = protein
10 by_code1 = {}
11 by_code3 = {}
12 by_name = {}
13 Monomer._initialize(data.codes.protein)
15 class Protein(list):
16 """User defined protein; list of protein_sequences."""
17 pass
19 class Sequence(base.Sequence):
20 types = protein
22 class Alignment(base.Alignment):
23 types = protein
25 class Block(Alignment, base.Block):
26 pass
28 # vim: set ts=4 sts=4 sw=4 et: