allpy
view allpy/fasta.py @ 388:02c4cfd12d4c
allpy.base: code cleanup
- removed Alignment._column_at(i) in favour of Alignment._pad_to_width(n)
- cleaned up code around usage of _column_at to make it more readable
author | Daniil Alexeyevsky <dendik@kodomo.fbb.msu.ru> |
---|---|
date | Wed, 02 Feb 2011 21:28:18 +0300 |
parents | 6ad74e2ba3d2 |
children | 695c8a42bf1e |
line source
4 """Parse fasta file, remove spaces and newlines from sequence bodies.
6 Return a list of tuples (name, description, sequence_body).
7 """
20 """ Saves given string to out_file in fasta_format
22 Splits long lines to substrings of length=long_line
23 To prevent this, set long_line=None
24 """
35 """ Returns maximum sequence line length in fasta file """
43 # vim: set ts=4 sts=4 sw=4 et: