https://github.com/bluebrain/sscx-connectome-manipulations

Reproduction repository for applying connectome manipulations to a detailed model of the rat SSCx

https://github.com/bluebrain/sscx-connectome-manipulations

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 47 DOI reference(s) in README
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.9%) to scientific vocabulary

Keywords

analyze circuit experiment visualize
Last synced: 5 months ago · JSON representation

Repository

Reproduction repository for applying connectome manipulations to a detailed model of the rat SSCx

Basic Info
  • Host: GitHub
  • Owner: BlueBrain
  • License: apache-2.0
  • Language: Jupyter Notebook
  • Default Branch: main
  • Homepage:
  • Size: 18.8 MB
Statistics
  • Stars: 1
  • Watchers: 0
  • Forks: 1
  • Open Issues: 0
  • Releases: 0
Topics
analyze circuit experiment visualize
Created over 1 year ago · Last pushed about 1 year ago
Metadata Files
Readme License Authors

README.md

License DOI:10.1101/2024.05.24.593860

SSCx connectome manipulations

Reproduction repository for applying connectome manipulations to a detailed model of the rat somatosensory cortex (SSCx)

Introduction

Reproduction repository with code and configuration files for applying connectome manipulations using Connectome-Manipulator to a detailed anatomical1 and physiological2 model of the rat somatosensory cortex (SSCx) in SONATA3 format (released under DOI: 10.5281/zenodo.8026353), analyzing results, and reproducing the experiments and figures that can be found in the accompanying article4. Specifically, the following rewiring experiments and benchmarks that are described in the article are part of this repository, together with the accompanying dataset on Zenodo (DOI: 10.5281/zenodo.11402578). - Interneuron rewiring: Increasing the inhibitory targeting specificity of VIP+ (vasoactive intestinal peptide-expressing) interneurons, thereby transplanting connectivity trends present in the MICrONS dataset5. Functional quantification through current injection simulations. - Simplified connectomes: Progressively simplifying6 connectivity among excitatory neurons. Investigating the changes in spiking synamics through re-calibration to an in vivo-like activity state2. - Performance benchmarks: Benchmarks tests to assess the strong and weak scaling behavior of connectome rewiring.

References:

  1. Reimann, M. W., Bolaños-Puchet, S., Courcol, J., Egas Santander, D., et al. (2024). Modeling and Simulation of Neocortical Micro- and Mesocircuitry. Part I: Anatomy. eLife, 13:RP99688. DOI: 10.7554/eLife.99688.1
  2. Isbister, J. B., Ecker, A., Pokorny, C., Bolaños-Puchet, S., Egas Santander, D., et al. (2024). Modeling and Simulation of Neocortical Micro- and Mesocircuitry. Part II: Physiology and Experimentation. eLife, 13:RP99693. DOI: 10.7554/eLife.99693.1
  3. Dai, K., et al. (2020). The SONATA data format for efficient description of large-scale network models. PLOS Computational Biology, 16(2), e1007696. DOI: 10.1371/journal.pcbi.1007696
  4. Pokorny, C., et al. (2024). A connectome manipulation framework for the systematic and reproducible study of structure-function relationships through simulations. Network Neuroscience. DOI: 10.1162/netna00429
  5. Schneider-Mizell, C. M., et al. (2024). Cell-type-specific inhibitory circuitry from a connectomic census of mouse visual cortex. bioRxiv. DOI: 10.1101/2023.01.23.525290
  6. Gal E., et al. (2020). Neuron Geometry Underlies Universal Network Features in Cortical Microcircuits. bioRxiv. DOI: 10.1101/656058

Overview

  • interneuron_rewiring/ ... Code/configs related to the interneuron rewiring experiment
    • code/ ... Code/notebooks for setting up and running model building, rewiring, structural comparison, and analysis
    • configs/ ... Config files and run scripts for model building, rewiring, structural comparison, simulations, and analysis
    • sim_configs/ ... Simulation config example files for running spontaneous simulations with current injection
  • simplified_connectomes/ ... Code/configs related to the simplified connectomes experiment
    • code/ ... Code/notebooks for setting up and running model building, rewiring, structural comparison, validation, missing synapse estimation, and calibration
    • configs/ ... Config files and run scripts for model building, rewiring, structural comparison, simulations, and calibration
    • validation_configs/ ... Config files to run model order validation
    • sim_configs/ ... Simulation config template and example files for running re-calibration simulations
  • notebooks/ ... Jupyter notebooks for reproducing the structural/functional/benchmark figures in the accompanying article

Requirements

Install

How to run

Interneuron rewiring

  • Step 1 - Structure:
    • Follow interneuronrewiringpreparation.ipynb to configure and run model fitting, rewiring and structural comparison. As an output of this step, a new SONATA circuit with rewired interneuron connectivity will be created.
  • Step 2 - Function: Functional quantification of the rewired connectome by running network simulations with current injection.
    • (a) Follow the instructions "Simulating the model" from DOI: 10.5281/zenodo.8026353 for setting up the SSCx network model for simulations.
    • (b) IMPORTANT, in case the rewired circuit from Zenodo is used: Make sure that all path references in the circuit_config<_tc>.json of the rewired circuit are pointing to the location of the original circuit (since only a new connectome file, i.e., edges.h5, is provided).
    • (c) Use example simulation configs simulation_config.json from this repo to run simulations with different current injection strengths, as indicated by the folder name. Adapt the path under "network" pointing to the circuit config of either the original or the rewired circuit.
    • (d) Follow currentinjectionanalysis.ipynb for simulation data analysis.

Note: All (intermediate) results from steps 1 and 2 are also contained in the Zenodo dataset.

Simplified connectomes

  • Step 1 - Structure:
    • (a) Follow SSCxmodelfitting.ipynb to configure and run model fitting, which will produce (simplified) stochastic model descriptions required in the subsequent rewiring step.
    • (b) Follow SSCx_rewiring.ipynb to configure and run rewiring based on the stochastic model descriptions from the previous step (incl. matching the overall numbers of connections). As an output of this step, new SONATA circuits with rewired (simplified) E-to-E connectivity will be created.
    • (c) Follow SSCxstructcomparison.ipynb to configure and run a structural comparison of the rewired connectomes.
    • (d) Follow SSCxmodelorder_validation.ipynb to configure and run a validation of the rewired model orders.
    • (e) Follow SSCxmissingsynapses.ipynb to compute missing afferent synapse counts.
  • Step 2 - Function:
    • (a) Follow the instructions "Simulating the model" from DOI: 10.5281/zenodo.8026353 for setting up the SSCx network model for simulations.
    • (b) Follow SSCx_calibration.ipynb for iterative re-calibration and analysis of the original and rewired circuits.

Note: All (intermediate) results from steps 1 and 2 are also contained in the Zenodo dataset.

Benchmarks

Repeatedly run rewiring as in "Simplified connectomes - Step 1b" based on the fitted 1st order stochastic connectivity model, and measure the resulting runtimes, under the following conditions:

  • Strong scaling: Using 12,345 data splits*) and different numbers of processing units (CPUs) from 4 to 512 in 8 logarithmic steps.
  • Weak scaling: Using 1,234 data splits*) and different network sizes by selecting the different source/target node sets "NS1.0", "NS0.5", "NS0.25", and "NS0.125" as provided in the enclosed nodesets_weak_scaling.json (Zenodo). Importantly, this node sets file must be set in the original SONATA circuit config under "nodesetsfile".

*) Aritrary (large) numbers of data splits

Note: All benchmark results (runtimes) are also contained in the Zenodo dataset.

Replicating figures of the accompanying article

Citation

If you use this software, we kindly ask you to cite the following publication:

C. Pokorny, O. Awile, J.B. Isbister, K. Kurban, M. Wolf, and M.W. Reimann (2024). A connectome manipulation framework for the systematic and reproducible study of structure–function relationships through simulations. Network Neuroscience. DOI: 10.1162/netna00429

@article{pokorny2024connectome, author = {Pokorny, Christoph and Awile, Omar and Isbister, James B and Kurban, Kerem and Wolf, Matthias and Reimann, Michael W}, title = {A connectome manipulation framework for the systematic and reproducible study of structure--function relationships through simulations}, journal = {Network Neuroscience}, year = {2024}, publisher={MIT Press}, doi = {10.1162/netn_a_00429} }

Funding & Acknowledgment

The development of this software was supported by funding to the Blue Brain Project, a research center of the École polytechnique fédérale de Lausanne (EPFL), from the Swiss government’s ETH Board of the Swiss Federal Institutes of Technology.

Copyright (c) 2024 Blue Brain Project/EPFL

Owner

  • Name: The Blue Brain Project
  • Login: BlueBrain
  • Kind: organization
  • Email: bbp.opensource@epfl.ch
  • Location: Geneva, Switzerland

Open Source Software produced and used by the Blue Brain Project

GitHub Events

Total
  • Watch event: 1
  • Push event: 1
  • Fork event: 1
Last Year
  • Watch event: 1
  • Push event: 1
  • Fork event: 1

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels