GithubHelp home page GithubHelp logo

lookseq's Introduction

LookSeq

This is a fork of Magnus Manske's LookSeq web application for viewing BAM files. See http://sourceforge.net/projects/lookseq/ for the truth.

Local Installation

The instructions below are for installation on a local computer running Ubuntu 12.10 assuming you have sudo.

Install dependencies:

apt-get install apache2
cpan Digest::SHA1
cpan JSON

Get lookseq:

cd /opt
git clone git://github.com/alimanfoo/lookseq.git
chown -R www-data:www-data /opt/lookseq

Configure Apache virtual host:

cp /opt/lookseq/lookseq.local /etc/apache2/sites-available/
a2ensite lookseq.local
echo "127.0.1.1 lookseq.local" >> /etc/hosts
apache2ctl configtest
apache2ctl restart

Enable demo configuration:

cd /opt/lookseq/cgi-bin
cp config.json.demo config.json
cd /opt/lookseq/html
cp config.js.demo config.js

To test it works, go to http://lookseq.local/ and click on the "Test" sample group in the right-hand pane, then select "Sample_1" - you should see a view of a chromosome with a small amount of sequence data at the far left. Double-click to zoom in.

To configure for your data, edit /opt/lookseq/cgi-bin/config.json.

Note that the reference sequence (fasta file) will need to have bases in uppercase. If not, do something like:

sed -i -e 's/\([actg]\)/\U\1/g' ref.fa 

Also the reference sequence needs to be indexed (samtools faidx) as do all the BAM files (samtools index).

Note also that the Apache user (usually www-data) will need permission to read your data files.

If you have any problems, look in /var/log/apache/error.log.

lookseq's People

Contributors

alimanfoo avatar

Watchers

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