Allele clustering service
The allele clustering service subscribes to the Redis database and listens for jobs on the allele_clustering queue. The exposed functions are located in tasks.py.
Tasks
- allele_cluster_service.tasks.cluster(profile: str, method: str) str
Cluster multiple sample on their allele profiles.
- Parameters:
str (method) – a string representation of a tsv table of the allele profiles
str – the MStree clustering method
- Raises:
ValueError – raises an exception if the method is not a valid MSTree clustering method.
- Returns:
cluster in newick format
- Return type: