GithubHelp home page GithubHelp logo

tseemann / fripan Goto Github PK

View Code? Open in Web Editor NEW

This project forked from drpowell/fripan

0.0 3.0 0.0 2.73 MB

Interactive, web tool for exploring pan-genome of bacterial strains

Home Page: drpowell.github.io/FriPan

Makefile 0.43% Python 0.46% HTML 1.73% CSS 2.03% Shell 0.07% CoffeeScript 30.52% JavaScript 64.76%

fripan's Introduction

FriPan

Introduction

FriPan is a web-based tool for exploring the pan-genome of multiple bacterial genomes. FriPan does not perform the ortholog clustering itself, but it can import data from ProteinOrtho5 output files. Each isolate/strain is a row, and there is a columnar position for each gene cluster. You can zoom/scroll through the pan-proteome, and hover over sections to see a description of the gene.

Installation

Ensure you have browserify installed:

npm install -g browserify

Install the code and build

git clone https://github.com/drpowell/FriPan
cd FriPan
npm install webworkify coffeeify
make compile

Run the demo code: make demo ./server.sh firefox http://localhost:8030/pan.html

Instead of using the provided Python-based server in server.sh you can put it all in your public_html folder if you are running Apache already.

make install  # will put in $HOME/public_html/fripan
firefox http://localhost/~user/fripan/pan.html

Input file

An example ProteinOrtho5 result is provided: pan.proteinortho.example and pan.descriptions.example .

To view results just rename them pan.proteinortho and pan.descriptions. You can view other files by naming them with a consistent stem, for example my-pan1.proteinortho and my-pan1.descriptions. Then you view them by using the url pan.html?my-pan1. Note the suffix of the filenames are important.

It is also possible to give arbitrary information on strains for sorting or colouring. See the pan.strains.example file for an example. This is expected to be a tab separated file with the first column named "ID" with the strain names matching those in pan.proteinortho. Create such a tab separated file and put name it pan.strains.

Development

While developing code, it is useful to enable coffee in "watch" mode and with source maps. Run the following:

coffee -c -w -m *.coffee

Source

fripan's People

Contributors

drpowell avatar tseemann avatar

Watchers

 avatar James Cloos avatar  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.