Giter Site home page Giter Site logo

gitter-badger / mango Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bigdatagenomics/mango

0.0 1.0 0.0 321 KB

Visualization tools for genomic data. Apache 2 licensed.

License: Apache License 2.0

Python 1.80% Shell 6.09% Scala 34.12% CSS 1.37% JavaScript 56.63%

mango's Introduction

#mango A set of genomic visualization tools built on top of the ADAM genomics processing engine. Apache 2 licensed.

mango visualizes reads, variants, and features using D3.

Overall View

Frequency View

Getting Started

Installation

You will need to have Maven installed in order to build mango.

Note: The default configuration is for Hadoop 2.2.0. If building against a different version of Hadoop, please edit the build configuration in the <properties> section of the pom.xml file.

$ git clone https://github.com/bigdatagenomics/mango.git 
$ cd mango
$ mvn clean package -DskipTests

Running mango

mango is packaged via appassembler and includes all necessary dependencies.

Run the mango-submit script as follows:

bin/mango-submit REFERENCE_FILE.fa -read_file READS_FILE.bam -ref_name REFERENCE NAME -var_file VARIANTS_FILE.vcf -feat_file FEATURES_FILE.bed

For help launching the script, run bin/mango-submit -h

$ bin/mango-submit -h
Spark assembly has been built with Hive, including Datanucleus jars on classpath
 reference                                                       : The reference file to view, required
 -feat_file VAL                                                  : The feature file to view
 -h (-help, --help, -?)                                          : Print help
 -parquet_block_size N                                           : Parquet block size (default = 128mb)
 -parquet_compression_codec [UNCOMPRESSED | SNAPPY | GZIP | LZO] : Parquet compression codec
 -parquet_disable_dictionary                                     : Disable dictionary encoding
 -parquet_logging_level VAL                                      : Parquet logging level (default = severe)
 -parquet_page_size N                                            : Parquet page size (default = 1mb)
 -port N                                                         : The port to bind to for visualization. The default is 8080.
 -print_metrics                                                  : Print metrics to the log on completion
 -read_file VAL                                                  : The reads file to view
 -ref_name VAL                                                   : The name of the reference we're looking at
 -var_file VAL                                                   : The variants file to view

Now view the mango genomics browser at localhost:8080 or the port specified:

View the visualization at: 8080
Frequency visualization at: /freq
Overlapping reads visualization at: /reads
Variant visualization at: /variants
Feature visualization at /features
Overall visualization at: /overall

mango's People

Contributors

erictu avatar fnothaft avatar

Watchers

 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.