-
Notifications
You must be signed in to change notification settings - Fork 11
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
--full-matrix
doesn't work with --sparse
#32
Comments
Hi Antonio, Thanks for reaching out. It is intentional to not put in diagonal values (e.g. 100% ANI and 100% AF) for --sparse. The reason is kind of for backwards-compatibility with I think I can implement a --diagonal option or something like that, to give a diagonal both when --sparse is enabled and when it isn't. I'll get back to you. Thanks, |
Ohh, ok. I assumed that I guess that an additional parameter to enable the diagonal would solve this. |
i released v0.2.2 and now you can specify --diagonal to include diagonal entries (for even --sparse, CC @fplazaonate) |
Thanks, Jim! |
I'm experimenting with
skani
to cluster plasmid/virus genomes at scale (see here). To get diagonal values I started using--full-matrix
, but I noticed that those values are not showing up when using--sparse
. Is this intentional?Also, it could be useful if there was a parameter that enables the diagonal in the output. I understand why this is not enabled by default (#31), but there are some cases where it is useful to have it. For example:
In the example above, sequences that don't have ANI and AF higher than the thresholds for any other sequence in the FASTA will not be in the network at all and will be missing from the input. Of course there are other ways of including them, but having the diagonal values (in this case, using
--sparse
) would make things easier.The text was updated successfully, but these errors were encountered: