Afra

* proof of concept

* IE10 and above only.

* Annotation editor.

Launch the server and direct the browser to `/#/curate`.  Login, if need be,
and you will see the first curation task.  Hit `Done` to save the curated gene
model on the server and move to the next task.

Annotation editing functionality builds on the excellent work done by JBrowse
and WebApollo.

JBrowse / WebApollo integration
-------------------------------

JB and WA code, with several modifications, lives as a part of the source tree
in app/src/JBrowse and JBrowse/WebApollo.

JB contains upstream’s src/JBrowse, img, and all CSS (including that of WA --
just one line) compiled into one styles.css.  JB/WA contains upstream’s WA/js.
I hacked JB’s plugin system so that loading CSS for plugins is none of it’s
concern, additionally removing the dependency on lazyload.  JB/main.js loads
styles.css using require-css and WA using the reduced plugin architecture. This
combines JB & WA into one unit.

JB/main.js instantiates JB and returns a facade object.  Rest of Afra
inter-operates with JB through the facade.  At the moment we have a single API
call, `load`, to load a task into JB.  We will need another API call to access
contents of the annotations track.

JB’s dependencies are managed through Bower. I have locked to the latest
point-release of the dependencies that follow semantic versioning.  While we
track rolling updates from Github for the rest -- either Bower doesn’t support
locking to a SHA or it just didn’t work on my Mac.  It’s worth noting that
these dependencies are extremely focussed and move slow: hopefully things won’t
break for a while.  In the near future, we should be able to remove a few more
dependencies and / or lock to a working SHA using Bower.

Modified default track styles for JB so it looks quite presentable.

Perl sub-system of JB & WA is a part of the source tree as well. setup.sh lives
as a part of `rake setup` and installs dependencies to $HOME/.extlib.
Additionally, I dropped support for the deprecated legacy wiggle format and
legacy bam-to-json.pl.

Included for testing, MAKER2 generated gene prediction in GFF3 format for two
scaffolds of fire ant genome.

And,

* drop more than one feature
* make exons resizable
* trying add_exon
* jbrowse refresh hack
* Done button fully functional: put submission, get a new task and load it.

Squashed commits
----------------

JB: change zoom level on scroll wheel.

overlay zoom buttons over genome viewer in a horizontal orientation

merge wa and jb

1. Removed TrackTransformer stuff - DraggableHTMLFeatures now the default for
FeatureTrack.

2. Merge permission.js and annottrack.js - will eventually remove permission
stuff.

* remove jb nav

* remove tracklist

* remove not needed dep on dijit/

* increase initial height of edit track

* do not scroll to bottom on page load #6

* rework track spacing and padding

* track padding

* track-label

* remove feature right-click menu

* trimming annottrack.js - removed right click menu and stuff

* edit track annot css

* clear selection after annot dropped

  It's causing the app to throw:
  Uncaught TypeError: Cannot read property 'options' of undefined
  at draggable.js?bust=1389699970232:659

  However this error doesn't seem to affect usability.

* use black color for edge matching

* 4px black border for selection

* uri decode gff stream

* fix anno saving

* and reset feature start and end, if need be, on resize exon

* try add exon again

* Mention we support Google Chrome only at the moment on #signin.

* daemonize

* fb popup

* package.json

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
try to change styling in track.json

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
trying findNonCanonicalSpliceSites

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>
trying findNonCanonicalSpliceSites - 2

Signed-off-by: Anurag Priyam <anurag08priyam@gmail.com>