Search bioRxiv⌕ Search

bioRxiv · 10.1101/631952

TractoFlow: A robust, efficient and reproducible diffusion MRI pipeline leveraging Nextflow & Singularity

Abstract

A diffusion MRI (dMRI) tractography processing pipeline should be: i) reproducible in immediate test-test, ii) reproducible in time, iii) efficient and iv) easy to use. Two runs of the same processing pipeline with the same input data should give the same output today, tomorrow and in 2 years. However, processing dMRI data requires a large number of steps (20+ steps) that, at this time, may not be reproducible between runs or over time. If parameters such as the number of threads or the random number generator are not carefully set in the brain extraction, registration and fiber tracking steps, the end tractography results obtained can be far from reproducible and limit brain connectivity studies. Moreover, processing can take several hours to days of computation for a large database, even more so if the steps are running sequentially.\n\nTo handle these issues, we present TractoFlow, a fully automated pipeline that processes datasets from the raw diffusion weighted images (DWI) to tractography. It also outputs classical diffusion tensor imaging measures (fractional anisotropy (FA) and diffu-sivities) and several HARDI measures (Number of Fiber Orientation (NuFO), Apparent Fiber Density (AFD)). The pipeline requires a DWI and T1-weighted image as NIfTI files and b-values/b-vectors in FSL format. An optional reversed phase encoded b=0 image can also be used. This pipeline is based on two technologies: Nextflow and Singularity, as well as recommended pre-processing and processing steps from the dMRI community. In this work, the TractoFlow pipeline is evaluated on three databases and shown to be efficient and reproducible from 98% to 100% depending on parameter choices. For example, 105 subjects from the Human Connectome Project (HCP) were fully ran in twenty-five (25) hours to produce, for each subject, a whole-brain tractogram with 4 million streamlines. The contribution of this paper is to introduce the importance of a robust pipeline in terms of runtime and reproducibility over time. In the era of open data and open science, efficiency and reproducibility is critical in neuroimaging projects. Our TractoFlow pipeline is publicly available for academic research and is an important step forward for better structural brain connectivity mapping.

Source connections

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Theaud, G., Houde, J.-C., Bore, A., Rheault, F., Morency, F., Descoteaux, M.. 2019-05-09. TractoFlow: A robust, efficient and reproducible diffusion MRI pipeline leveraging Nextflow & Singularity. https://doi.org/10.1101/631952

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related preprints

Next generation Human Neocortical Neurosolver model with biophysically realistic somatic, dendritic and synaptic dynamics

The Human Neocortical Neurosolver (HNN) is an open-source biophysical modeling tool for multiscale interpretation of human electroencephalography (EEG) and magnetoencephalography (MEG) signals. HNN's foundation is a pre-tuned canonical neocortical circuit model consisting of excitatory pyramidal neurons and inhibitory interneurons in supra- (L2/3) and infragranular (L5) layers. This model was originally developed based on studies in rodent and non-human primate cortices when dynamics of human neurons were poorly characterized. Yet recent advances in recordings from human tissue now provide unprecedented detail to update the model. Here, we present a significantly updated model for use in the HNN software, with electrophysiological properties and synaptic connections tuned to human tissue. Beyond reproducing biologically realistic somatic dynamics, the pyramidal cells simulate dendritic calcium (Ca2+) spikes in the L5 extratelencephalic-projecting (ET) neurons, and shorter dendritic spikes in the L2/3 pyramidal neurons. We demonstrate how the updated circuitry and new features in the HNN software can be used to disentangle somatic, synaptic, and dendritic contributions to human E-/MEG signatures. The model is distributed with workflows to simulate event-related responses and oscillations, and tutorials demonstrating how membrane potentials, Ca2+ dynamics, and synaptic currents can be recorded and visualized. These enhancements allow extensive model validations based on in vitro and in vivo electrophysiology, voltage and Ca2+ imaging, and provide users with novel insights on the mechanisms underlying E-/MEG signals.

neuroscience↗

A biological light sheet links cellular voltage to mesoscopic brain dynamics

Membrane voltage is the fundamental currency of neural computation, yet cellular-resolution voltage imaging of large neuronal populations in vivo remains limited by trade-offs among imaging speed, field of view, and optical sectioning. We overcome this challenge by encoding a biological light sheet in the brain: Selective Plane Expression (SPress) restricts fluorescent indicator expression to a user-defined, 20-m-thick plane, suppressing background at its source. Following one-time two-photon photoactivation, SPress enables standard widefield microscopes to capture high-contrast kilohertz voltage dynamics from hundreds of densely labeled neurons across millimeter-scale cortical sheets and columns in vivo. These recordings reveal mesoscopic subthreshold waves that flexibly reorganize population-wide spike timing, together with cellularscale wavefront microstructure that preserves stereotyped local recruitment biases. By shifting optical sectioning from instrumentation to gene expression, SPress makes kilohertz cellular resolution voltage imaging accessible across mesoscopic scales.

neuroscience↗

Persistent hippocampal traces of lifelong spatial memory

Memory presents a biological paradox: the brain changes continuously, yet a brief experience can influence behavior for a lifetime. How such memories are stored in brain circuits remains unclear. Here we show that two days in a binary-tree maze leave mice with spatial memories that survive repeated 90-day absences over as much as a year. Across return visits, mice explored the maze more efficiently than when naive and resumed direct runs to a reward location sooner, both by a factor of 3. Chronic calcium imaging of the same hippocampal CA1 neurons showed that although most neurons had changed their preferred locations, the population activity at a given maze location still resembled the pattern from 90 days earlier. Furthermore, even when a neuron's place fields changed location, they tended to remain at the same branching level of the binary tree, reflecting the local geometry of the maze. In return sessions where the neural tuning for branching level was preserved more accurately, the mouse explored the environment more efficiently. Population patterns were best preserved near the reward location, and more reliable neural activity there accompanied earlier direct runs to the reward. With repeated experience, spatial representations changed less, both within a visit and across the long absences. A brief experience thus left selective hippocampal traces that survived months of absence despite drift, grew more durable with each return, and were correlated with memory in navigation behavior.

neuroscience↗