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

Fatal error, distance matrix is too sparse #16

Open
pweigele opened this issue Nov 28, 2024 · 4 comments
Open

Fatal error, distance matrix is too sparse #16

pweigele opened this issue Nov 28, 2024 · 4 comments

Comments

@pweigele
Copy link

How can I rectify output from command:
muscle -super7 ThyAs.mega -distmxin ThyAs.distmx -reseek -output ThyAs.afa
producing
---Fatal error---
Distance matrix too sparse
?

@rcedgar
Copy link
Owner

rcedgar commented Nov 28, 2024

This means that the distance matrix does not have enough information to build a guide tree. Try using the -sensitive or -verysensitve option for reseek when making the matrix. If that doesn't work either, the structures are highly divergent and you probably won't get a meaningful MStA.

@pweigele
Copy link
Author

pweigele commented Nov 28, 2024 via email

@rcedgar
Copy link
Owner

rcedgar commented Nov 29, 2024

Something like this

usearch -cluster_fast pdb.fasta -id 0.5 -centroids centroids.fasta
grep '^>' centroids.fasta | tr -d '>' > pdbids.txt
for label in `cat pdbids.txt`
do
  mv -v $label.pdb ../some_other_directory
done

@pweigele
Copy link
Author

pweigele commented Nov 30, 2024 via email

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