Skip to main content

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

Project description

django-blastplus
================

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


Requirements
------------

1. Blast+
2. Python 2.7
3. Django 1.10

::

pip install django

4. Biopython

::

pip install biopython


Download
--------

.. image:: https://landscape.io/github/michal-stuglik/django-blastplus/master/landscape.svg?style=flat
:target: https://landscape.io/github/michal-stuglik/django-blastplus/master
:alt: Code Health

.. image:: https://badge.fury.io/py/django-blastplus.svg
:target: http://badge.fury.io/py/django-blastplus

.. image:: https://travis-ci.org/michal-stuglik/django-blastplus.svg?branch=master
:target: https://travis-ci.org/michal-stuglik/django-blastplus
:alt: Travis CI

.. image:: https://codeclimate.com/github/michal-stuglik/django-blastplus/badges/gpa.svg
:target: https://codeclimate.com/github/michal-stuglik/django-blastplus
:alt: 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::

BLAST_DB_NUCL_LIST = [
{
"name": "sample1",
"path": 'blastplus/sampledata/sample_db1/sample_db',
"desc": "Sample database 1",
"annotated": False, },
{
"name": "sample2",
"path": 'blastplus/sampledata/sample_db2/sample_db2',
"desc": "Sample database 2",
"annotated": False, },
]

4. Visit search pages:

- Blastn http://127.0.0.1:8000/blast/blastn

- TBlastn http://127.0.0.1:8000/blast/tblastn

- Blastp http://127.0.0.1:8000/blast/blastp

- Blastx http://127.0.0.1:8000/blast/blastx


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.4.0.tar.gz (384.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-blastplus-0.4.0.tar.gz
Algorithm Hash digest
SHA256 e86e78a0ca6d70e1ee70997958a43f1aac26177a29916f776dde8bb4d94e5f85
MD5 eef5b5691aae62951d39b544a4817017
BLAKE2b-256 9a2628fdd704c8033b2c11d32d8788d82d0304af97da07e5f0e420467db16afc

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