Skip to content

Commit

Permalink
default to faster densification
Browse files Browse the repository at this point in the history
  • Loading branch information
jianshu93 committed Apr 12, 2024
1 parent 169ed12 commit 200b5b6
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion src/commands.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 200b5b6

Please sign in to comment.