Git Product home page Git Product logo

peak-type-summary's Introduction

peak-type-summary

ChIPSeeker peaks plotting and summarizing script

R script to run the ChIPSeeker peak annotation and summary plotting pipeline on .bed files.

[ Example output files can be seen here ]

[ Example report output can be seen here]

Usage

To run the basic script on selected files:

./peak-summary.R /path/to/Sample1_peaks.bed /path/to/Sample2_peaks.bed 

To compile a report on a directory of files:

./compile-peak-type-summary-report.R -d example-data

Options

  • -d, --dir: Dir mode; treat input items as directories in which to search for .bed files
  • -id-dirname: Use the directory name of each input file as the sample ID, instead of the filename
  • --out-dir: Parent directory to save the output to
  • --tss-dist: TSS region distance

Examples

Annotate & plot .bed files

$ ./peak-summary.R example-data/Sample1.bed example-data/Sample2.bed

Annotate all .bed files in a directory, and save results to a different output directory

$ ./peak-summary.R example-data/ -d --out-dir example-output

Software

  • Tested with R version 3.2.3 and 3.3.0, with the following packages:
    • ChIPseeker_1.6.7
    • clusterProfiler_2.4.3
    • TxDb.Hsapiens.UCSC.hg19.knownGene_3.2.2
    • optparse_1.3.2

peak-type-summary's People

Contributors

stevekm avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

nyu-bfx

peak-type-summary's Issues

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.