Giter Club home page Giter Club logo

eztracks's Introduction

logo

ezTracks

ezTracks (easy tracks) plots a single GTF annotation followed by grouped bed files. ezTracks preprocesses the input tracks, allowing to change and render the plot faster. It's smart enough to detect all beds inside folders, and also to omit tracks when they result empty in the queried region.

The core of this tool is pyGenomeTracks.

With ezTracks you can generate three different views:

Plot genomic region

Check test/config.region.ini output plot

Query individual transcripts

Check test/config.trans.ini output plot

Transcript-relative annotation

Check test/config.trans_ni_ff.ini output plot


Setup

The program it's just the file eztracks.py. It works on Linux and Windows (Ubuntu WSL1) (I have not checked on Mac but it should work too).

I suggest to setup a conda environment (Python 3.6+) for installing ezTracks dependencies:

conda config --add channels defaults
conda config --add channels bioconda
conda config --add channels conda-forge

conda create -n eztracks --yes python=3
conda activate eztracks
conda install -c anaconda freetype
conda install -c bioconda bedtools
pip install git+https://github.com/deeptools/HiCMatrix.git
pip install git+https://github.com/deeptools/pyGenomeTracks.git

Note: if you are having problems activating the environment, probably you can replace the line

conda activate eztracks

with

source ~/anaconda3/etc/profile.d/conda.sh && conda activate eztracks

Micro tutorial

Introduction

ezTracks only needs a configuration file to work. The options implemented are the same as the sample file test/config.*.ini. To generate the first image shown above you just need to enter the test folder and run:

conda activate eztracks
python eztracks.py check test/config.region.ini
python eztracks.py prepare test/config.region.ini
python eztracks.py draw test/config.region.ini

The complete tutorial is located here. However, just keep in mind that the different modes are accessed via the configuration file in the [default] section: params


TODO

  • Update tutorial to cover all modes and explain parameters.
  • Accept arguments via command line and override configuration file.
  • Global configuration for PYGT template.

eztracks's People

Contributors

hugoguillen avatar

Stargazers

Dominik Meise avatar

Watchers

James Cloos avatar

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.