Monday, December 13, 2010

Open Research Computation: a new journal for publications describing scientific software

Cameron Neylon has just announced a new journal, "Open Research Computation", published by BioMed Central. The goals of the journal are to promote sharing of high-quality scientific software (e.g. there must be a test suite with 100% code coverage), promote discussion of best practice in research software development, and to enable researchers to be rewarded through publication for the time spent on developing software tools for others to use.

The editorial board contains many familiar names from the scientific Python community, including Titus Brown, Hans-Petter Langtangen, Jarrod Millman, Fernando Perez and Gaël Varoquaux, and others from the reproducible research community such as Peter Murray-Rust and Victoria Stodden.

The goals of Open Research Computation seem to be very well aligned with those of the NeuralEnsemble community, and I encourage you all to think about submitting manuscripts there.

Friday, November 26, 2010

Society for Neuroscience meeting 2010: a Python perspective

Last week I was at the annual meeting of the Society for Neuroscience (SfN) in San Diego. For those who aren't familiar with the meeting, it is huge, with over 30000 participants: it seemed as though every flight into San Diego on the day before the meeting was filled with people carrying poster tubes. Even as far away as Paris, the check-in line for every America-bound flight from Charles de Gaulle was bristling with posters.


The first few SfN meetings I went to, I exhausted myself trying to see every poster and every talk that could possibly be of interest (while lugging round several kilograms of abstract books and free journal samples from Publishers' Row). This time I focused on the early visual system (there was a particularly good symposium on colour vision) and on neuroinformatics (in particular database and simulation software) (and Publishers' Row this year was at the far, far end of the enormous poster/exhibitors hall - I never got that far).


Anyway, this is a report on the meeting from a software (and particularly Python software) perspective.


NEURON and Python workshop


On Saturday morning, I took part in a workshop/seminar on NEURON+Python, organised by Tom McTavish, Ted Carnevale and Tom Morse from Yale. This was apparently hugely over-subscribed, which certainly reflects the large NEURON user community, but it is clear that all the participants were intrigued by the potential power that Python brings to this well-established simulator (in a related note, I was just told that the article we wrote about NEURON and Python is one of the 25 most-cited articles in the Frontiers in Neuroscience journal series).


The format was part traditional presentations, part interactive tutorial using Sage notebooks.


Tom McTavish gave an interative introduction to Python, and then to using Python with the NEURON simulator. Tom Morse talked about ModelDB, and Ted Carnevale discussed using Python and Hoc (NEURON's original scripting language) together. Tom Foutz presented Neuron3D, a Mayavi-based tool for working with 3D views of neurons, nuclei and electrodes in NEURON. This looked very nice, and reminded me of a couple of tools presented at the last CodeJam meeting, Mike Hull's morphforge and Michele Mattioni's NeuronVisio, both of which also use Mayavi. Mike was in San Diego at the meeting, so I introduced him to Tom, and they started hatching plans for some collaboration - watch this space. I talked about a miscellaneous bunch of stuff related to neuronal simulation and Python, including PyNN, Sumatra, NeuroTools, NeuralEnsemble.org and nrnutils.

Materials from the workshop will be available soon on the NEURON forum.


Posters


A search for "python" in the Neuroscience Meeting Planner gives nine abstracts, all of which refer to the programming language (it appears no-one is reporting research into the nervous system of the family Pythonidae). ("Matlab" gives 36 abstracts, so it's clear we've a way to go). I guess many more people probably use Python in their research, but at least this gives an idea of how many thought it was important enough to mention in the abstract.


The topics covered included neuroscience education (25.27), the role of relative ion channel densities in neuronal firing properties in tadpoles (46.8), the CARMEN e-science platform for neurophysiology data (107.1), web-based model presentation using NEURON and Sage (208.27), the eagerly-anticipated 2.0 release of the NEST simulator (208.28), modelling olfactory neurons (369.6), analysis of spectroscopy data in Alzheimer's disease (746.20), inference of brain connectivity (918.13), and boosting your research productivity using NeuroDebian (918.15).


I'll say more about CARMEN and NeuroDebian below.


Although I didn't visit the poster, the abstract on modelling the olfactory bulb external tufted cell (369.6) interests me because they implemented versions of the model in both Python and Matlab. The importance of implementing neuroscience models in at least two simulation environments as a way of checking the numerical methods of a given simulator don't impact the qualitative results and of improving the reproducibility of the model is a subject I've been banging on about for some time, so it's great to see that other people are also doing this. (Great to see this cell type being modelled, incidentally. When I find time to return to olfactory bulb modelling, I'll certainly follow up on this work).


I really liked Tom McTavish's poster (208.27) on using Sage to interact with NEURON models over the web. Another subject I often go on about is enhancing the reusability of neuronal models: building new models based on well-tested and well-understood existing components, rather than building from scratch every time, is something I think there is too little of in neuroscience at the moment, so tools that improve the accessibility, comprehensibility and testability of neuroscience models are to be welcomed. There is nothing NEURON-specific about Sage, of course: I think this is a tool that would be useful for any Python-supporting neuroscience simulator.


INCF booth


The International Neuroinformatics Coordinating Facility (INCF) had a booth at SfN, at which they had a program of live demonstrations of neuroinformatics software and resources (they also had a very comfy sofa), including a demo of a Python client for XNAT-based neuroimaging databases by Yannick Schwartz and colleagues from LNAO at NeuroSpin.

Neurodebian booth


Neurodebian is "a platform that provides a staging area for neuroscience software packages on their way into Debian". They had a booth at SfN, and I swung by to discuss packaging PyNN for Debian. I now have a short list of things to do to make PyNN suitable for packaging, so hopefully the 0.7.0 release will be available in NeuroDebian. Overall, they have an impressive selection of packages. I am almost convinced to try running NeuroDebian on our cluster, instead of Ubuntu. One package I need that is missing is mpi4py, but the Neurodebian guys are now planning to add that. Here is their own report on the meeting.


Other stuff


Some non-Python stuff is definitely worth a mention. I've been following the CARMEN project for some time. This is a UK-funded project to develop a portal for sharing of neuroscience data and analyses. They have now opened their portal to academic users. They are also responsible for a number of advances and fledgling standards in electrophysiology data sharing, including the MINI specification (Minimum Information about a Neuroscience Investigation) and the NDF (Neurophysiology Data translation Format) (not to be confused with NDF (Neurospaces Description Format) :-). 


Gwen Jacobs was presenting the Yogo Data Management Framework, "a set of software tools created to rapidly build scientific data-management applications". I think this sort of tool - enabling straightforward customization of database systems for the needs of individual labs - is going to be essential in bringing some of the vast quantity of neuroscience data generated every year into a form where it can be shared, reanalyzed and reused. Although the system we're developing in my group, Helmholtz, is much more neuroscience-specific and less general than Yogo (and much less polished, at the moment), it was interesting to see that we've made many of the same architectural decisions, including building on top of a rapid-development web framework (Ruby on Rails for Yogo, Django in our case).


Finally, if you haven't already done so, check out the demo video for the Whole Brain Catalog, the software for which is open-source, and, I just saw, exposes a RESTful API.

Monday, September 27, 2010

The Debian Neuroscience Repository

NeuroDebian (http://neuro.debian.net/) "aims to provide a turnkey
software platform for nearly all aspects of the neuroscientific
research  process". 

There's nothing specifically simulation-related there yet, as far as I can see, but it seems like this would be a good thing for NeuralEnsemble members to get involved with.

Mailing lists:

* neurodebian-users: Discussions and support of NeuroDebian users
 http://lists.alioth.debian.org/mailman/listinfo/neurodebian-users

* neurodebian-upstream: General discussions and knowledge sharing
 among developers of the neuroscience software
 http://lists.alioth.debian.org/mailman/listinfo/neurodebian-upstream

* neurodebian-devel: Technical mailing list for discussions on
 NeuroDebian development
 http://lists.alioth.debian.org/mailman/listinfo/neurodebian-devel

Saturday, July 10, 2010

Sumatra 0.2 released

We would like to announce the release of version 0.2 of Sumatra, a tool for automated tracking of simulations and computational analyses so as to be able to easily replicate them at a later date.


The main changes are:
  • expanded the focus from just simulations to any command-line driven computation, e.g. analyses, graphing. This simply involved changes to the documentation and some renaming, e.g. SimProject is now just Project.
  • RecordStores can now contain records from multiple projects and multiple users. This makes it possible to keep all your records in a single database, and for different people to collaborate on the same project.
  • added support for the Git version control system. Sumatra requires your code to be stored in a version control system to ensure reproducibility, and now supports Git, Subversion and Mercurial.
  • removed the concept of record groups, since grouping can easily be achieved using tags.
  • Sumatra can now pass the record label to your main script, by appending it either to the command line or to the parameter file. This is very useful for separating the output files of different experiments into their own directories such that Sumatra can correctly link to them. 
  • you can now tag a simulation/analysis at the same time you run it, using smt run, rather than having to remember to do this afterwards with smt tag.
  • added a @capture decorator, to make it easier to use Sumatra in your own Python scripts.
  • the web interface will now display the contents of any CSV files generated during your experiment as an HTML table.
  • added ConfigParserParameterSet. If you pass parameters to your simulation/analysis in a separate file, then Sumatra can store these parameters for future searching, provided it understands  the parameter file format. The new class adds support for parameters stored in ConfigParser-style files (the existing supported formats are simple one-per-line key=value files and hierarchical, JSON-like NeuroTools parameter sets).
Sumatra 0.2 may be downloaded from the INCF Software Center or from PyPI.

Wednesday, June 9, 2010

Program & reg. deadline extension - FACETS CodeJam #4

A preliminary program for the 4th annual FACETS CodeJam meeting (http://neuralensemble.org/codejam4) which will take place June 22nd-24th, 2010 in Marseille, France is now available here:

http://neuralensemble.org/meetings/CJ4_Preliminary_Program_v2.pdf

In addition, the registration deadline has been extended to June 13th, 2010. What are you waiting for? Register now!

The goal of the FACETS CodeJam workshops is to catalyze open-source, collaborative software development in computational and systems neuroscience and neuroinformatics, by bringing together researchers, students and engineers to share ideas, present their work, and write code together. The general format of the workshops is to dedicate the mornings to invited and contributed talks, leaving the afternoons free for discussions and code sprints.

For the 4th FACETS CodeJam, the main theme of the meeting will be workflows: what are the best practices for combining different tools (simulators, analysis tools, visualization tools, databases etc.) to ensure the efficient and reproducible flow of data and information from experiment conception to publication and archiving?

The meeting is being organised by:
Andrew Davison (UNIC-CNRS, Gif-sur-Yvette, France)
Abigail Morrison (BCCN-Freiburg, Germany)
Eilif Muller (BBP-EPFL, Lausanne, Switzerland)
Laurent Perrinet (INCM-CNRS, Marseille, France)

Please consult the meeting website at

http://neuralensemble.org/codejam4

for registration and further information.

Wednesday, May 26, 2010

GvR on "Python in the Scientific World"

"Yesterday I attended a biweekly meeting of an informal a UC Berkeley group devoted to Python in science (Py4Science), organized by Fernando Perez. The format (in honor of my visit) was a series of 4-minute lightning talks about various projects using Python in the scientific world (at Berkeley and elsewhere) followed by an hourlong Q&A session. This meant I didn't have to do a presentation and still got to interact with the audience for an hour -- my ideal format.

I was blown away by the wide variety of Python use for scientific work. It looks like Python (with extensions like numpy) is becoming a standard tool for many sciences that need to process large amounts of data, from neuroimaging to astronomy. ..."

http://neopythonic.blogspot.com/2009/11/python-in-scientific-world.html

Tuesday, April 20, 2010

FACETS CodeJam #4 registration now open

Registration is now open for the 4th Annual FACETS CodeJam meeting (http://neuralensemble.org/codejam4), which will take place June 22nd-24th, 2010 in Marseille, France.

The goal of the FACETS CodeJam workshops is to catalyze open-source, collaborative software development in computational and systems neuroscience and neuroinformatics, by bringing together researchers, students and engineers to share ideas, present their work, and write code together. The general format of the workshops is to dedicate the mornings to invited and contributed talks, leaving the afternoons free for discussions and code sprints.

For the 4th FACETS CodeJam, the main theme of the meeting will be workflows: what are the best practices for combining different tools (simulators, analysis tools, visualization tools, databases etc.) to ensure the efficient and reproducible flow of data and information from experiment conception to publication and archiving? Our invited speakers include:

• Dr Juliana Freire, who will talk about scientific data management, workflows and provenance, and give a demonstration of the VisTrails system.

• Dr Hugo Cornelis, who will talk about simulation project workflows in the GENESIS 3 simulator, and give a GENESIS 3 demonstration.

• Dr Gael Varoquaux, a primary contributor to the MayaVI 3D visualization tool for Python, will talk about analysing and modelling spontaneous brain activity in neuroimaging with
Python.

We invite contributions on any topic related to software in neuroscience, but especially on topics related to the main theme - if you think you have a good system for managing your workflow, please come and share it with us. If you have ideas for organising code sprints, whether a feature that you would like to see added to an existing tool or an idea for new software, please also let us know.

The meeting is being organised by Andrew Davison, Abigail Morrison, Eilif Muller and Laurent Perrinet.

Registration & Further Information
==================================

The registration deadline in 4 June 2010, and is limited to 40 participants.

Please consult the meeting website at

http://neuralensemble.org/codejam4

for registration and further information.

Tuesday, April 6, 2010

Tracking computational experiments with Sumatra

“I thought I used the same parameters but I’m getting different results”

“I can’t remember which version of the code I used to generate figure 6”

“The new student wants to reuse that model I published three years ago but he can’t reproduce the figures”

“It worked yesterday”

“Why did I do that?”


We would like to announce the release of version 0.1 of Sumatra, a tool for tracking computational experiments and analyses so as to be able to easily replicate them at a later date.

Replication of computational experiments or analyses ought to be easy, given that computers don't suffer from the problems of inter-subject and trial-to-trial variability that make reproduction of biological experiments so challenging. In general, however, it is not easy, perhaps due to the complexity of our code and our computing environments, and the difficulty of capturing every essential piece of information needed to reproduce a computational experiment using existing tools such as spreadsheets, version control systems and paper notebooks.

The aim of Sumatra is to record as much as possible of the experimental context (software versions, parameters, dependencies, platform information, what files were produced, etc.) automatically, and make it easy to annotate the record with information that cannot be obtained automatically (why the simulation or analysis was performed, tags for later searching, etc.).

Given the large differences in the workflows of different researchers (command line, GUI, batch-jobs (e.g. in supercomputer environments), or any combination of these for different components (simulation, analysis, graphing, etc.) and phases of a project), it is difficult to provide a one-tool-fits-all solution, therefore Sumatra provides the core functionality as a Python package on top of which various different interfaces can be built.

Sumatra currently provides a command-line interface and a rudimentary web interface; we hope that people will also be interested in incorporating Sumatra's functionality within their own tools.

Sumatra 0.1 may be downloaded from the INCF Software Center or from PyPI.

For more information and documentation, check out https://neuralensemble.org/trac/sumatra/.

Sunday, February 14, 2010

PyNN 0.6.0 released

PyNN 0.6.0 is available for download from the INCF Software Center or from PyPI.

Changes


There have been three major changes to the API in this version.
  1. Spikes, membrane potential and synaptic conductances can now be saved to file in various binary formats. To do this, pass a PyNN File object to Population.print_X(), instead of a filename. There are various types of PyNN File object, defined in the recording.files module, e.g., StandardTextFile, PickleFile, NumpyBinaryFile, HDF5ArrayFile.
  2. Added a reset() function and made the behaviour of setup() consistent across simulators. reset() sets the simulation time to zero and sets membrane potentials to their initial values, but does not change the network structure. setup() destroys any previously defined network.
  3. The possibility of expressing distance-dependent weights and delays was extended to the AllToAllConnector and FixedProbabilityConnector classes. To reduce the number of arguments to the constructors, the arguments affecting the spatial topology (periodic boundary conditions, etc.) were moved to a new Space class, so that only a single Space instance need be passed to the Connector constructor.

What is PyNN?

PyNN (pronounced 'pine' ) is a simulator-independent language for building neuronal network models.

In other words, you can write the code for a model once, using the PyNN API and the Python programming language, and then run it without modification on any simulator that PyNN supports (currently NEURON, NEST, PCSIM and Brian).

Even if you don't wish to run simulations on multiple simulators, you may benefit from writing your simulation code using PyNN's powerful, high-level interface. In this case, you can use any neuron or synapse model supported by your simulator, and are not restricted to the standard models.


The code is released under the CeCILL licence (GPL-compatible).

For an in-depth explanation of the motivations behind PyNN and the guiding principles behind its design, see this article in Frontiers in Neuroinformatics. For a briefer overview, see this recent article in the Neuromorphic Engineer.

Thursday, February 4, 2010

3rd INCF Congress of Neuroinformatics

The 3rd INCF Congress of Neuroinformatics will take place in Kobe, Japan, from 30th August - 1st September 2010.

I'm particularly looking forward to the keynotes from Upi Bhalla ("Multiscale models of the synapse: a self-modifying memory machine") and Colin Ingram ("Working in the clouds: creating an e-science collaborative environment for neurophysiology"), and to the workshop on model description languages.

Abstract submission (for posters and demos) is open until 21st April. Hopefully I'll be able to present our Django-based framework for neuroscience databases.

Sunday, January 10, 2010

NE.O welcomes The Brian Simulator

We here at Neural Ensemble are proud to offer Trac/Subversion hosting to yet another excellent open-source Neuroscience project, The Brian Simulator:

"Brian is a simulator for spiking neural networks available on almost all platforms. The motivation for this project is that a simulator should not only save the time of processors, but also the time of scientists.

Brian is easy to learn and use, highly flexible and easily extensible. The Brian package itself and simulations using it are all written in the Python programming language."

The new trac page for Brian can be found here. Please join us in welcoming The Brian Simulator to our community, and making their stay with us a pleasant and fruitful one.