Giter VIP home page Giter VIP logo

signal-element-stack's Introduction

  

  

signal-element-stack

stack/aggregrate signal around a set of elements/features

single-element-stack/
	single-element-stack.py - stack/aggregrate signal around a set of elements/features

Installation

The main requirements are numpy, scipy, matplotlib

You can install the dependencies with

for req in $(cat requirements.txt); do pip install $req; done

Full Documentation

Communication

What does it do?

single-element-stack can stack/aggregrate signal around a set of elements/features

Usage


$ python scripts/signal-element-stack.py --help
usage: signal-element-stack.py [-h] -i SIGNALTRACK -e ELEMENTTRACK -g GENOME
                               [-w PILEUPWIDTH] [-b NUM_BINS]
                               [-ya YAXISRANGE [YAXISRANGE ...]]
                               [-sc SIGNALCOLUMN] [-sm] [-mp] [-v] [--version]

signal pile up plot for bedGraph/wiggle tracks

optional arguments:
  -h, --help            show this help message and exit
  -i SIGNALTRACK, --input SIGNALTRACK
                        input bed/wiggle track to be used for the pile up
                        (default: None)
  -e ELEMENTTRACK, --element ELEMENTTRACK
                        element bed track for pile up (default: None)
  -g GENOME, --genome GENOME
                        genome chromosome length file (default: None)
  -w PILEUPWIDTH, --width PILEUPWIDTH
                        width of pile up plot (in BP) (default: 500)
  -b NUM_BINS, --num_bins NUM_BINS
                        number of num_bins for pile up plot width (default:
                        500)
  -ya YAXISRANGE [YAXISRANGE ...], --yaxisrange YAXISRANGE [YAXISRANGE ...]
                        y-axis for aggregrate plot (default: [0, 0])
  -sc SIGNALCOLUMN, --signalcolumn SIGNALCOLUMN
                        signal column number in bed/bedgraph/wig/tsv file
                        (default: 3)
  -sm, --sortMatrix     sort pile up matrix by total row signal, descending
                        (default: False)
  -mp, --midpointMode   use midpoint of element, otherwise will assume TSS
                        (default: False)
  -v, --verbose         Increase verbosity (specify multiple times for more)
                        (default: None)
  --version             show program's version number and exit                        
  

Usage Examples

Change Log

Bugs and Feedback

For bugs, questions and discussions please use the Github Issues.

LICENSE

Licensed under the Apache License, Version 2.0 (the 'License'); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an 'AS IS' BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

signal-element-stack's People

Contributors

blajoie 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.