curl -o branchwater -L https://github.com/sourmash-bio/branchwater/releases/latest/download/branchwater-client-aarch64-apple-darwin
chmod +x branchwater
curl -o branchwater -L https://github.com/sourmash-bio/branchwater/releases/latest/download/branchwater-client-x86_64-apple-darwin
chmod +x branchwater
curl -o branchwater -L https://github.com/sourmash-bio/branchwater/releases/latest/download/branchwater-client-arm-unknown-linux-gnueabihf
chmod +x branchwater
curl -o branchwater -L https://github.com/sourmash-bio/branchwater/releases/latest/download/branchwater-client-x86_64-unknown-linux-musl
chmod +x branchwater
Invoke-WebRequest -Uri 'https://github.com/sourmash-bio/branchwater/releases/latest/download/branchwater-client-x86_64-pc-windows-msvc.exe' -OutFile branchwater
./branchwater sequences.fa.gz > matches.csv
cat sequences.fa | ./branchwater -o matches.csv -
Note: sig needs to be built using k=21
, scaled=1000
./branchwater --sig -o matches.csv \
<(curl -sL https://wort.sourmash.bio/v1/view/genomes/GCF_000195915.1)
USAGE:
branchwater [OPTIONS] <SEQUENCES>
ARGS:
<SEQUENCES> Input file. Can be:
- sequences (FASTA/Q, compressed or not)
- an existing signature (use with --sig)
- a single dash ("-") for reading from stdin
OPTIONS:
-h, --help Print help information
-o, --output <OUTPUT> Save results to this file. Default: stdout
--sig Input file is already a signature
-V, --version Print version information