A Python code to download http://neuromorpho.org/
Having trouble while downloading neuromorpho's data? Use this code to get them all in a nice dataframe format! It downloads the swc as well as all the metadata that exist for a given neuron. e.g. http://neuromorpho.org/neuron_info.jsp?neuron_name=5038801
Contact: Roozbeh Farhoodi [roozbehfarhoodi@gmail.com]
Clone the repository
$ git clone ps://github.com/RoozbehFarhoodi/Download-neuromorpho.org
$ cd Download-neuromorpho.org/
numpy
pandas
urllib
ast
re
json
urllib2
bs4
unidecode
After installing, open a note book and write:
import download_neurmorpho as dnm
neurons = dnm.download_neuromorpho(start_nmo=0, end_nmo=10)
neurons
gives the database of all the neuron in the range of downloading.