diff --git a/README.md b/README.md index dfbd3a9..6811c66 100644 --- a/README.md +++ b/README.md @@ -74,10 +74,17 @@ bindash sketch --outfname=genomeA.sketch genomeA.fasta bindash sketch --outfname=genomeB.sketch genomeB.fasta bindash dist genomeA.sketch genomeB.sketch # print to stdout -### or if you have a list of genomes, one genome per line in a list file. +### or if you have a list of genomes, one genome per line in a list file. All versus all ls *.fasta > name.txt bindash sketch --listfname=name.txt --outfname=genome_sketch bindash dist --outfname=dist.txt genome_sketch + +### query against database genomes +ls *_query.fasta > query.txt +ls *_db.fasta > db.txt +bindash sketch --listfname=query.txt --outfname=genome_query_sketch +bindash sketch --listfname=db.txt --outfname=genome_db_sketch +bindash dist --outfname=dist.txt genome_query_sketch genome_db_sketch ``` The output of "bindash dist" consists of several lines. diff --git a/src/commands.hpp b/src/commands.hpp index b9c2cad..3b053d5 100644 --- a/src/commands.hpp +++ b/src/commands.hpp @@ -76,7 +76,7 @@ class Sketchargs { std::string listfname = "-"; size_t kmerlen = 16; int minhashtype = 2; - int dens = 1; + int dens = 2; size_t nthreads = std::thread::hardware_concurrency(); std::string outfname = ""; uint64_t randseed = 41; //0x3355557799AACCULL;