Skip to content

Instantly share code, notes, and snippets.

@dvanatta
dvanatta / alg.txt
Created November 29, 2012 01:20 — forked from rmcgibbo/alg.txt
make an empty list called medoids
for cluster i:
let t be a trajectory containing all of the structures assigned to cluster i
let D = the full len(t) x len(t) pairwise RMSD distance matrix
set medoid[i] = argmin( rowsums (D) )
Actual Code:
#!/home/dvanatta/epd-7.3-1-rh5-x86_64/bin/python
@dvanatta
dvanatta / alg.txt
Created November 29, 2012 01:20 — forked from rmcgibbo/alg.txt
make an empty list called medoids
for cluster i:
let t be a trajectory containing all of the structures assigned to cluster i
let D = the full len(t) x len(t) pairwise RMSD distance matrix
set medoid[i] = argmin( rowsums (D) )
@dvanatta
dvanatta / alg.txt
Created November 29, 2012 00:41 — forked from rmcgibbo/alg.txt
make an empty list called medoids
for cluster i:
let t be a trajectory containing all of the structures assigned to cluster i
let D = the full len(t) x len(t) pairwise RMSD distance matrix
set medoid[i] = argmin( rowsums (D) )