Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

foldseek createtsv on a clustering result outputs a tsv file where representatives are outliers, not centroids #400

Open
shiraz-shah opened this issue Dec 17, 2024 · 2 comments

Comments

@shiraz-shah
Copy link

shiraz-shah commented Dec 17, 2024

Expected Behavior

For createtsv on a cluster db to return a clusters where representatives (column 1) are more representative of the full cluster (column 2).

This could be a centroid or at least a sequence with bidirectional hits to relatively many different cluster members.

Current Behavior

The createtsv tsv file often selects outliers as representatives.

Steps to Reproduce (for bugs)

After a successful foldseek cluster result, execute:
foldseek createtsv DB DB DB_C DB_C.tsv

Context

Current behaviour is problematic for two reasons:

  • When clustering is used to reduce redundancy, the non-redundant set becomes a poor representative of the full set
  • When outputing cluster MSAs with result2msa the msas are bad quality because of the outlier a3m reference
  • Both of the above lead to excessive information-loss as a result of clustering, which can be avoided by selecting a more appropriate cluster representative.
@shiraz-shah shiraz-shah changed the title foldseek createtsv for a cluster db outputs a tsv file where cluster "representatives" are often outliers instead of centroids foldseek createtsv on a clustering result outputs a tsv file where "representatives" are outliers, not centroids Dec 17, 2024
@shiraz-shah shiraz-shah changed the title foldseek createtsv on a clustering result outputs a tsv file where "representatives" are outliers, not centroids foldseek createtsv on a clustering result outputs a tsv file where representatives are outliers, not centroids Dec 17, 2024
@martin-steinegger
Copy link
Collaborator

We currently do lot provide this. Do you want to have a more central representative based on alignment score?

@shiraz-shah
Copy link
Author

Yes, please. That would be a huge improvement!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants