An open-source project for annotating neuronal reconstructions in neuroscience literature.
View online »
To maximize impact and discovery in research, shared data should be annotated with appropriate metadata (information that provides supplementary knowledge about the associated datasets). This online metadata portal for NeuroMorpho.Org relies on state-of-the-art web technologies and is designed to incorporate novel machine learning algorithms for promoting and facilitating the systematic acquisition of descriptive information for neuronal reconstructions. This project is fully open-source and the development may also be extended to other research projects that require knowledge management.
Key features:
- Open-source
- Easy to integrate
This is an example of how you may set up the metadata portal locally to integrate it for your personal use. Please clone or download the source code and follow these example steps.
This project requires you to have your database set up before. Once you have the credentials for the database put them in the ./metadata/settings.py
file.
- ./metadata/settings.py
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.postgresql_psycopg2', // for example our database is PostgreSQL
'NAME': 'ADD YOURS',
'USER': 'ADD YOURS',
'PASSWORD': 'ADD YOURS',
'HOST': 'ADD YOURS',
'PORT': 'ADD YOURS',
}
}
Or simply use sqlite:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
}
}
- Download and install Python and pip for your prefered operating system. (https://www.python.org/downloads/)
# ubuntu:
$ sudo apt-get update
$ sudo apt-get install python2.7
$ sudo apt-get install python-pip
- It’s highly recommended to install
Virtualenv
that creates new isolated environments to isolates your Python files on a per-project basis. That will ensure that any modifications made to your project won’t affect others you’re developing. The interesting part is that you can create virtual environments with different python versions, with each environment having its own set of packages.
$ pip install virtualenv
Collecting virtualenv
Downloading virtualenv-x.x.x-pyx.pyx-none-any.whl (1.8MB)
100% |████████████████████████████████| 1.8MB 367kB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-x.x.x
- Make your virtual environment
$ python -m venv myvenv
- Activate the virtual environment
$ source ./myvenv/bin/activate
>> (myvenv) $
- Install the required Python packages
$ pip install -r req.txt --no-index --find-links file:///tmp/packages
- obtain a secret from MiniWebTool key and add to
settings.py
# SECURITY WARNING: keep the secret key used in production secret!
SECRET_KEY = 'PUT/MAKE YOURS'
- Migrate
$ python manage.py migrate
- Create admin account and make migrations
$ python manage.py createsuperuser
#then
$ python manage.py makemigrations ig_miner_app #to makemigrations for the app
#then again run
$ python manage.py migrate #to start the development server
- Run the server
$ python manage.py runserver
- Enjoy!
The web-based implementation naturally enables its direct usage by the authors of the articles described the original datasets, namely the data contributors. Considering the dramatically improved performance of metadata annotation, we invite all researchers depositing their neuronal and glial tracings into NeuroMorpho.Org to utilize the portal for annotating their submission. For more help, please refer to the Help Page
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request (if you like)
Distributed under the GPL 3.0 License.
- Kayvan Bijari - kbijari[@]gmu[dot]edu
- NeuroMorpho.Org administration team - nmadmin[@]gmu[dot]edu
- Project Link: Metadata Portal
- Source Link: GitHub