Skip to content

pombredanne/django-blastplus

 
 

Repository files navigation

django-blastplus

A simple Django app to conduct web-based homology search with blast+.

Requirements

  1. Blast+
  2. Python 2.7
  3. Django 1.7-1.8
pip install django
  1. Biopython
pip install biopython

Download

Code Health

image

Travis CI

Code Climate

Get the latest version of django-blastplus from https://pypi.python.org/pypi/django-blastplus/

Install

Install with pip

pip install django-blastplus

To get the git version do

$ git clone https://github.com/michal-stuglik/django-blastplus.git

Quick start

  1. Add "blastplus" to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = (
    
        'blastplus',
    )
  2. Include the polls URLconf in your project urls.py like this:

    url(r'^blast/', include('blastplus.urls')),
  3. You can modify some defaults in blastplus.settings
  • e.g. modify path to nucleotide database (now as a tuple of dbs):

    BLAST_DB_NUCL_CHOICE = ((os.path.join(BASE_DIR, 'blastplus/sampledata/sample_db1/sample_db'), "Sample database 1", ),
                        (os.path.join(BASE_DIR, 'blastplus/sampledata/sample_db2/sample_db2'), "Sample database 2", ),)
  • e.g. modify path to protein databases:

    BLAST_DB_PROT_CHOICE = ((os.path.join(BASE_DIR, 'blastplus/sampledata/sample_db3_prot/sample_db3_prot'), "Sample database 3 - proteins", ),
                        (os.path.join(BASE_DIR, 'blastplus/sampledata/sample_db4_prot/sample_db4_prot'), "Sample database 4 - proteins", ),)
  1. Visit search pages:

Example

See our NewtBase portal with django-blastplus app inside

http://newtbase.eko.uj.edu.pl/blast/blastn/

About

simple django app for blast search

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 78.2%
  • HTML 20.1%
  • CSS 1.7%