Skip to main content

Plot genome track data

Project description

gtracks

plot genome track data (for example from bigWig files)

Installation

pip3 install gtracks

or

pip3 install --user gtracks

Usage

usage: gtracks [-h] [--genes <genes.bed.gz>]
               [--color-palette <#color> [<#color> ...]] [--max <float>]
               [--tmp-dir <temp/file/dir>] [--width <int>]
               [--genes-height <int>] [--gene-rows <int>]
               <{chr:start-end,GENE}> [<track.bw> [<track.bw> ...]]
               <path/to/output.{pdf,png,svg}

Plot bigWig signal tracks and gene annotations in a genomic region

positional arguments:
  <{chr:start-end,GENE}>
                        coordinates or gene name to plot
  <track.bw>            bigWig files containing tracks
  <path/to/output.{pdf,png,svg}>
                        path to output file

optional arguments:
  -h, --help            show this help message and exit
  --genes <genes.bed.gz>
                        compressed 6-column BED file or 12-column BED12 file
                        containing gene annotations
  --color-palette <#color> [<#color> ...]
                        color pallete for tracks
  --max <float>         max value of y-axis
  --tmp-dir <temp/file/dir>
                        directory for temporary files
  --width <int>         width of plot in cm
  --genes-height <int>  height of genes track
  --gene-rows <int>     number of gene rows

Examples

gtracks chr21:33031597-33041570 track1.bw track2.bw output.pdf
gtracks SOD1 track1.bw track2.bw output.png

export GTRACKS_TRACKS=track1.bw,track2.bw
gtracks SOD1 output.svg

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gtracks-1.0.12.tar.gz (7.7 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gtracks-1.0.12-py3-none-any.whl (10.3 MB view details)

Uploaded Python 3

File details

Details for the file gtracks-1.0.12.tar.gz.

File metadata

  • Download URL: gtracks-1.0.12.tar.gz
  • Upload date:
  • Size: 7.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for gtracks-1.0.12.tar.gz
Algorithm Hash digest
SHA256 435f579cfc4bc7c5703eb0b162a1071e9a0c3cabaf7bb71ddaeff56a6345de4f
MD5 fa2c84a26b2597a699c2bd0f9812505e
BLAKE2b-256 c71f526f7327fe0b44d31e29be7a63d25d74ff0f063bc087dc23266342cb9da8

See more details on using hashes here.

File details

Details for the file gtracks-1.0.12-py3-none-any.whl.

File metadata

  • Download URL: gtracks-1.0.12-py3-none-any.whl
  • Upload date:
  • Size: 10.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.4

File hashes

Hashes for gtracks-1.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 3d73e2b829375a00774bb375024cd97a05742041d912a2a1cd67988faac8bdbf
MD5 e3e15fe03bda2e8b803bae48273e038a
BLAKE2b-256 6a6934cfca347dcbd81e5c155f3fe2b7ab05cfaa51c6a70f4f155e02016d370b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page