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

BinDash 2.0 usage and build? #21

Open
jdwinkler opened this issue Aug 30, 2024 · 2 comments
Open

BinDash 2.0 usage and build? #21

jdwinkler opened this issue Aug 30, 2024 · 2 comments

Comments

@jdwinkler
Copy link

Thanks for your work on BinDash! I am interested in using BinDash2.0 as a replacement for Mash. Is there a particular commit I should build to try it? If it is possible for you to provide an example of the output format, that would be great as well.

Thank you in advance!

@jianshu93
Copy link
Contributor

jianshu93 commented Aug 30, 2024

Hi @jdwinkler,

You can use the bioconda version if you do not want to build from source. But this repo is the most recent version and is consistent with the bioconda version. Output format is exact the same with Mash, commands would be like:

### strep_small_name.txt is the query genome path (gz supported), sketch 188*64=12032, to be accurate at > 99.99% ANI
bindash sketch --kmerlen=16 --nthreads=32 --sketchsize64=188 --dens=2 --bbits=32 --minhashtype=2 --listfname=strep_small_name.txt --outfname=strep_small_k16_s500.bindash

### database_name.txt is the database genome path (gz supported)
bindash sketch --kmerlen=16 --nthreads=32 --sketchsize64=188 --dens=2 --bbits=32 --minhashtype=2 --listfname=database_name.txt --outfname=database.bindash

bindash dist --nthreads32 --outfname=S_bindash_new.txt strep_small_k16_s500.bindash database.bindash

Thank you for your interest in BinDash 1/2.

Jianshu & Xiaofei

@jdwinkler
Copy link
Author

Thank you!

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