Skip to content

fast sketch for DNA or normal sequence data (MinHash WeightedMinHash OrderMinHash and hyperloglog)

License

Notifications You must be signed in to change notification settings

ZekunYin/RabbitSketch

Repository files navigation

RabbitSketch

Getting Started

A Linux system on a recent x86_64 CPU is required.

Installing (C++ interface)

cd RabbitSketch
mkdir build
cd build
cmake -DCXXAPI=ON .. -DCMAKE_INSTALL_PREFIX=.
make
make install
export LD_LIBRARY_PATH=`pwd`/lib:$LD_LIBRARY_PATH

Testing (C++)

cd ../examples/
#default install dir: ../build/
make 
./minhash genome1.fna genome2.fna

We will get the value of jaccard and distance.

PYTHON bind

pip install:

cd RabbitSketch
pip3 install . --user

or

#pypi available (not up to date)
#pip3 install rabbitsketch --user

cmake install

cd RabbitSketch
mkdir build
cd build
cmake .. #default with pybind support
make

test using bpython or python

cd examples
time python3 test.py #fastx is required

About

fast sketch for DNA or normal sequence data (MinHash WeightedMinHash OrderMinHash and hyperloglog)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages