allpy
view lib/monomer.py @ 101:5091fef2ad88
lib::MonomerType operator== consider only one letter code
align -- additional check of monomer equality
fix bug with missing __ne__ where __eq__ present
| author | boris <bnagaev@gmail.com> |
|---|---|
| date | Thu, 21 Oct 2010 00:39:57 +0400 |
| parents | 581c1f71c4ea |
| children | 6479950a9ee3 |
line source
1 #!/usr/bin/python
12 """
13 Monomer type
14 name -- string like "Valine"
15 code1 -- one-letter code (in upper case)
16 code3 -- three-letter code (in upper case)
17 is_modified -- True of False
18 """
28 @staticmethod
31 @staticmethod
35 # TO DISCUSS
44 """
45 monomer_type -- link to monomer_type
46 pdb_residues -- dictionary like {Bio.PDB.Chain: Bio.PDB.Residue}
47 """
67 @staticmethod
75 """
76 Amino acid
77 """
78 pass
81 # prepare all aminoacids
