get_clusters#
- biotite.application_v2.mmseqs.get_clusters(app: T, cluster_db: ClusterDatabase[T]) dict[str, list[str]][source]#
Extract the clusters from a cluster database.
- Parameters:
- appMMseqsApp or FoldseekApp
The application to use.
- cluster_dbClusterDatabase
The database to read.
- Returns:
- clustersdict (str -> list of str)
The identifier of each representative sequence mapped to the identifiers of its cluster members. The representative is the first member of its own cluster.