allpy
view test/usecase2.py @ 491:27e866560087
allpy/structure: add blocks3d method to BlockMixin
* reimplement blocks finding algorithm in method BlockMinix.blocks3d
* add methods BlockMixin.monomers() and BlockMixin.continuous_blocks()
monomers() returns all monomers inside block
continuous_blocks() returns list of continuous blocks (using alignment)
* add defaults of blocks3d to allpy/config.py
author | boris (netbook) <bnagaev@gmail.com> |
---|---|
date | Mon, 21 Feb 2011 17:53:04 +0300 |
parents | 0411fa851bba |
children | cc1959669928 |
line source
1 # Fragments are in pair_repeat.fasta
7 """Helper to mark column (given as dict) by identity."""
18 """Helper to mark column of 2 sequences (given as list) by identity."""
26 """Fund long positive runs.
28 This obscure and probably broken function has nothing to do with allpy,
29 so it's presence in the example is unnecessary.
30 """
39 continue
54 continue