0.0.0 • Published 11 years ago

lga v0.0.0

Weekly downloads
5
License
-
Repository
-
Last release
11 years ago

lga

attempt to code local-global alignment as described here and here. lga scoring function is implemented explicitly as described in the first source. lcs cutoffs for the implementation are 1A, 2A, 5A. gdt cutoffs are 0.5A to 10A inclusively, with step equal to 0.5A. this module exposes single function, with signature (protein1, protein2, w), where:

  • protein1 and protein2 are arrays of protein coordinates, in format:
[
  [x1, y1, z1],
  [x2, y2, z2],
       ...
]
  • w is weight. processed lcs and gdt scores need to be multiplied by (1 - w) and w, respectively.

the output of this program is sole floating-point number - lga score.

please check your arguments before using it!