You are reading the documentation for version 1.5 of OpenStructure. You may also want to read the documentation for: 1.1 1.2 1.3 1.4 1.6 1.7 1.7.1 1.8 1.9 1.10 1.11 2.0 2.1 2.2 devel

kclust - Perform fast and sensitive clustering

kClust(sequences, clustering_thresh=30, create_alignments=False)

Uses kClust to generate clusters of amino acid sequences.

  • sequences (ost.seq.SequenceList) – All sequences you want to cluster.
  • clustering_thres – Sequence identity threshold to build clusters. Note, that clustering_thresh is more a rule of thumb, since compositional bias in the sequence can also play a role. The value gets transformed in a bitscore, that is used as an input parameter of kClust
  • create_alignments – Flag, wether the alignments of the clusters get calculated. Requires clustalw in the path.

A list of cluster instances


FileNotFound if kClust could not be located.

class cluster(sequences, representative_id)

Holds the information of one cluster


SequenceList containing all sequences of the cluster


a string, that contains the name of the representative sequence of the cluster as estimated by kClust.


alignment handle containing a multiple sequence alignment of all sequences of the cluster. Gets only calculated when binding is called with appropriate flag.



Enter search terms or a module, class or function name.

Previous topic

hbplus - Perform hydrogen bond analysis

Next topic

naccess - Calculate accessible area of a molecule

You are here