allpy
view lib/sequence.py @ 111:62e38970ffa2
broken: lib::project::column -- new returning value
sequence::pdb_chain_chain_add completed
| author | boris <bnagaev@gmail.com> |
|---|---|
| date | Sat, 23 Oct 2010 12:57:07 +0400 |
| parents | b43daeb9d767 |
| children | 32b9f4fadd35 |
line source
1 #!/usr/bin/python
12 """
13 Mandatory data:
14 * name -- str with the name of sequence
15 * description -- str with description of the sequence
16 * monomers -- list of monomer objects (aminoacids or nucleotides)
17 * pdb_chains -- list of Bio.PDB.Chain's
19 TODO: class Protein: container of multiple Sequences,
20 class ProteinMononer: container of multiple Monomers
21 """
44 """
45 Reads Pdb chain from file
46 and align each Monomer with PDB.Residue (TODO)
47 """
56 #~ pdb_monomer.pdb_residue_add(self.pdb_chain,
57 # FIXME: align and map
59 @staticmethod
64 @staticmethod
66 """
67 chain is Bio.PDB.Chain
68 returns Sequence with Monomers with link to Bio.PDB.Residue
69 """
