allpy
view allpy/fileio.py @ 610:ee2c10aa74b8
paired_cores/score.py: change method of score evaluation
Boundary positions of blocks are not considered.
Columns represented with one sequence or pure gap columns are not considered.
Calculate weighted average of number of connected components in columns.
Weight of column = l / sum(l)
(l = number of sequnces representing column)
author | boris (kodomo) <bnagaev@gmail.com> |
---|---|
date | Tue, 05 Apr 2011 23:11:41 +0400 |
parents | ab3f5300bf4e |
children | 2a119d110ff6 |
line source
6 """Automatical file IO."""
14 """Fasta parser & writer."""
21 """Append one sequence to file."""
34 """Write sequences to file.
36 Sequences are given as list of tuples (string, name, description).
37 """
52 """Parser & writer for file formats supported by EMBOSS."""
59 """Write sequences to file."""
60 # XXX: in case of exceptions files are not closed, nor unlinked
68 """EMBOSS does not permit : in file names. Fix sequences for that."""
73 """Read sequences from file."""
74 # XXX: in case of exceptions files are not closed, nor unlinked
82 # vim: set et ts=4 sts=4 sw=4: