allpy
view test/usecase2.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 | 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