allpy
view allpy/fileio.py @ 506:936463fb68b2
fixed blocks3d()
* fix bug in continuous_blocks
it joined short batches to next batch
* blocks3d(): put monomers only of boundary columns
to the graph.
* reduce size of wide cliques
* optimization
this needs better solution
* corrected conversion clique -> blocks (result)
* fixed self-intersection of result blocks
(filled_columns)
* fixed infinite loop
* added temponary exclusion of shortest sequence
* sorting of cliques by height and by width
author | boris (kodomo) <bnagaev@gmail.com> |
---|---|
date | Wed, 23 Feb 2011 18:13:56 +0300 |
parents | 0bd118c2d72b |
children | 5dfb9b9761d5 |
line source
7 """ Base class providing alignment/sequence import and export
9 Data:
10 * file - file object
11 """
17 """ Saves given string to file
19 Splits long lines to substrings of length=long_line
20 To prevent this, set long_line=None
21 """
22 pass
25 """Parse fasta file, remove spaces and newlines from sequence bodies.
27 Return a list of tuples (name, description, sequence_body).
28 """
29 pass
32 """ return tuple (name, description, string) for sequence with name name """
38 """ Fasta import and export
40 Additional data:
41 * long_line - max length of file line while export
42 Splits long lines to substrings of length=long_line
43 To prevent this, set long_line=None
44 """
78 """ Msf import and export """