Skip to content

Inconsistent number of matching hashes #165

Open

Description

@durrantmm

I wanted to try calculating mash distances using my own code. I exported the hashes as integers for two .msh files using the mash info -d command. When I run mash dist on the two files, it says that 3/1000 minhashes match. When I do the calculation manually on the hash integers, I find that 9/1000 match. Any idea what might be going on?

Activity

  1. durrantmm commented on Sep 23, 2021

    @durrantmm
    Author

    Oh I see, you calculate the jaccard similarity using a merge-sort approach. Couldn't you also just take the jaccard similarity of the two hash sets?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions