Giter Club home page Giter Club logo

find-tfbs-demo's Introduction

find-tfbs use case

This project shows how to use find-tfbs to find associations between blood traits and variation in TFBS counts. The search is performed over the open chromatin regions of several hematopoietic cell types.

How to install the required packages

Option 1: Install the Nix package manager, then run:

$ nix-shell

This will download and install all requirements automatically and enter a new shell where these packages are available. This method is perfectly reproducible.

Option 2: Install the packages manually. The requirements for EPACTS and find-tfbs are described in epacts.nix and find-tfbs.nix

$ git clone https://github.com/statgen/EPACTS.git
$ cd EPACTS/; 
$ sed -i 's/1.14/1.15/g' configure;
sed -i 's/--foreign/--foreign --add-missing --force-missing/g' Makefile;
sed -i 's/--foreign/--foreign --add-missing --force-missing/g' Makefile.in;
$ ./configure --prefix `pwd`/epacts
$ make -j 4
$ make install -j 4
$ git clone [email protected]:Helkafen/find-tfbs.git
$ cd find-tfbs
$ git ckeckout fd728386872b28f64308873158a4c32f41ef7e57
$ ./build_static.sh
$ cp target/x86_64-unknown-linux-musl/release/find-tfbs ..
$ cd ..

How to run the pipeline

On a SLURM cluster:

snakemake --cluster sbatch -A <cluster account id> -t {resources.runtime} --mem-per-cpu {resources.mem} -J TFBS --jobs 4 all

In the current shell session:

snakemake --jobs 4 all

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.