allpy
diff allpy/base.py @ 296:c0a4223dd4c4
Moved allpy.base.Alignment.secstr_has to allpy.pdb
author | Daniil Alexeyevsky <me.dendik@gmail.com> |
---|---|
date | Thu, 16 Dec 2010 18:30:43 +0300 |
parents | 8b4195912e56 |
children | be9c3cacd009 |
line diff
1.1 --- a/allpy/base.py Thu Dec 16 03:26:57 2010 +0300 1.2 +++ b/allpy/base.py Thu Dec 16 18:30:43 2010 +0300 1.3 @@ -339,12 +339,6 @@ 1.4 yield (column[indexes[original]], 1.5 dict([(s, column[indexes[s]]) for s in sequences])) 1.6 1.7 - def secstr(self, sequence, pdb_chain, gap='-'): 1.8 - """ Returns string representing secondary structure """ 1.9 - return ''.join([ 1.10 - (sequence.pdb_secstr[pdb_chain][m] if sequence.secstr_has(pdb_chain, m) else gap) 1.11 - for m in self.body[sequence]]) 1.12 - 1.13 class Block(object): 1.14 """ Block of alignment 1.15