This is the backend for the CPT's implementation of GONUTS (GO normal usage tracking system) for CACAO, or Community Annotation of Community Assessment with Ontologies.
$ virtualenv venv
$ . venv/bin/activate
$ pip install -r requirements.txt
$ python manage.py migrate
We've created some sample data:
$ python manage.py loaddata fixtures/quickstart.json
$ python manage.py runserver
If you want to view your annotations in JBrowse, add the following to your trackList.json file and point it at your backend url.
{
"label": "my_rest_track",
"key": "REST Test Track",
"storeClass": "JBrowse/Store/SeqFeature/REST",
"baseUrl": "https://server_url/jbrowse/",
"query": {
"organism": "Miro"
},
"style": {
"color": "function(feature){ if(feature.data.state == 1){ return 'yellow'; } if(feature.data.state == 2){ return 'green';} return 'red';}"
},
"type": "JBrowse/View/Track/CanvasFeatures",
"trackType": "JBrowse/View/Track/CanvasFeatures"
}
This software is licensed under AGPL-3.0.