The gsc-weighting package
In their 1994 paper "Volume Changes in Protein Evolution", Gerstein, Sonnhammer and Chothia developed a weighting procedure for protein sequences to avoid over-represented sequences in the appendix "A Method to Weight Protein Sequences to Correct for Unequal Representation". Although their method was developed for protein sequences, it is readily extended to work on any measurable set.
This package calculates GSC weights for any reasonable dendrogram. If you want to recreate their algorithm, then just use UPGMA as linkage and residue identity as distance function when creating the dendrogram.
Changes in version 0.2:
Updated to work with hierarchical-clustering 0.4.
Changes in version 0.1.1.1:
Use an stricter upper bound on hierachical-clustering.
Changes in version 0.1.1:
Now works even when some (or all) branches have distance zero (i.e. elements below that branches are all equal with respect to distance metric that was used to create the dendrogram).
|Versions||0.1, 0.1.0.1, 0.1.0.2, 0.1.1, 0.1.1.1, 0.2, 0.2.1, 0.2.2|
|Dependencies||base (==4.*), hierarchical-clustering (==0.4.*) [details]|
|Author||Felipe Almeida Lessa|
|Source repository||head: git clone https://github.com/meteficha/gsc-weighting|
|Uploaded||Tue Jul 21 22:24:46 UTC 2015 by FelipeLessa|
|Downloads||1482 total (9 in the last 30 days)|
|Status||Docs available [build log]
Last success reported on 2015-07-21 [all 1 reports]
For package maintainers and hackage trustees