Giter VIP home page Giter VIP logo

jaccard-ctf's Introduction

Build instructions

This tool uses Cyclops Tensor Framework (CTF) routines. CTF is a distributed memory library that delivers routines for contraction and summation of sparse and dense tensors.

Download and build CTF: https://github.com/cyclops-community/ctf.

Easiest way to do above is to install CTF with ./configure --no-dynamic && make install globally with sudo make install, but local build would also work fine.

To compile this tool provide include and lib path to CTF in config.mk and run make.

Run instructions

To test with default parameters, just run ./jaccard or mpirun -np 4 ./jaccard.

To run, use e.g. ./jaccard -m 4000 -n 100 -p .01 -nbatch 10, which would generate a 4000-by-100 k-mer bit matrix with 1% nonzeros, then compute a 100-by-100 similarity matrix by accumulating batches of 400 rows at a time.

To compute Jaccard index using k-mer files, run

mpirun -np 4 ./jaccard -f "Path to directory that contains k-mer files" -lfile "List of k-mer files. Each file contains a data sample/read (One column of the input matrix, n)" -m "number of rows" -n "number of columns" -nbatch "number of batches"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.