Skip to main content

A simple Django app to conduct web-based blast+ local alignment search.

Project description

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

Requirements

  1. Blast+

  2. Python 2.7

  3. Django 1.6-1.8

pip install django
  1. Biopython

pip install biopython

Download

Code Health https://badge.fury.io/py/django-blastplus.svg

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/

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-blastplus-0.3.1.tar.gz (373.9 kB view details)

Uploaded Source

File details

Details for the file django-blastplus-0.3.1.tar.gz.

File metadata

File hashes

Hashes for django-blastplus-0.3.1.tar.gz
Algorithm Hash digest
SHA256 d7620b16823ae9953b28b47bb909510422576fb43c412c824f7db9386536a9c7
MD5 4f3eef3ee3aeb431e34adf3d1f4a626a
BLAKE2b-256 765763251ee82297d30835470a53beebbc44210052dae8eafd90dae92e7d51af

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page