Skip to content
No description or website provided.
JavaScript Python C Shell
Pull request Compare This branch is 6 commits ahead, 7 commits behind addgene:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


Giraffe: tool for detecting popular features in DNA sequence, creating
maps of those features, and performing sequence analysis.

This software is written and copyrighted by Addgene, and released
under the MIT License. See LICENSE file.

The software is mostly divided into two parts: a Django based service that
detects features within a sequence, and a set of JavaScript widgets that
visualize the sequence, features, digests, etc.

You can use the two parts separately. I.e. you can just use the JavaScript
widget for visualizing and analyzing sequence and features. See HTML files in
the demo directory.

Requirement for Django service:

	gcc - part of the feature detection algorithm is in C
	python (2.7+)
	django (1.2+)
	BioPython (1.56) - ORF detection via BioPython
		(You don't need NumPy for BioPython)
	MySQL, and mysql-python module

Install Django service:

	git clone
	cd giraffe
	cd src/django/giraffe/blat/frags; gcc -O6 -o bin/frags frags.c

	> DROP DATABASE giraffe;
	cd src/django/giraffe; python syncdb --noinput

Run test server:

	cd src/django/giraffe; python runserver

	Then visit "/"

	Click on "See an example" to see an example.


	You can POST a sequence to "/blat/", with the following CGI variables:


	Then you will be redirected to a URL that looks like


	The "8de3...3204" string is the hash identifier for your sequence. You can
	use this hash identifier and this URL to retrieve features in the future
	(JSON format).

	Also, you can use the hash identifier with the JavaScript widgets. See demo
	directory. You can download the HTML files from the demo directory to your
	local computer, and load them in your browser. These files show how you can
	incorporate Giraffe sequence map and analyzer widgets in your web app.

How to build your own features database:

	To be added later.

Something went wrong with that request. Please try again.