Skip to main content

Worm Neuro Atlas

Neural signal propagation atlas [1], genome [2], and single-cell transcriptome [3], neuropeptide/GPCR deorphanization [4], anatomical connectome [5,6], monoaminergic connectome [7], and chemical-synapse sign predictions [8] all in one place. Worm Neuro Atlas allows to build a basic version of the neuropeptidergic connectome [9] ([9] contains more detailed analysis). Please cite the code if you use it, along with the papers containing the datasets you use.

Read the full documentation here https://francescorandi.github.io/wormneuroatlas/

Run a demo of Worm Neuro Atlas in a Jupyter notebook on Colab here https://colab.research.google.com/drive/1j59Mv_PSaD4Nj2ITNDQWVxWfrl6ssqXy?usp=sharing

Installation

wormenuroatlas can be installed via pip

pip install wormneuroatlas
# or
python -m pip install wormneuroatlas

or by cloning this repository and pip install the module, e.g. via

git clone git@github.com:francescorandi/wormneuroatlas.git
cd wormneuroatlas
python -m pip install .

NeuroAtlas class

NeuroAtlas is the main class that aggregates all the datasets, and directly handles the Signal Propagation Atlas, the anatomical connectome, and the monoaminergic connectome [7].

You can access the wild-type and unc-31 signal propagation atlas, for example, via

NeuroAtlas.get_signal_propagation_atlas(strain="wt") # or strain="unc31"

NeuroAtlas will use the other classes of the Python module (WormFunctionalConnectivity, WormBase, Cengen, PeptideGPCR, ...) to access data from other datasets like neural signal propagation, genome, single-cell transcriptome and aggregate those datasets. For example, you can get gene expression levels of genes flp-1 and aqp-1 in neurons AVAL and AVDR via

NeuroAtlas.get_gene_expression(gene_names=["flp-1","aqp-1"], neuron_names=["AVAL","AVDR"]).

See Examples for more information on how to access the various datasets.

NeuroAtlas also manages the conversions between different conventions for neural IDs. NeuroAtlas can be instantiated to maintain the "exact" neural identities, or to merge neurons into classes (i.e. to approximate neuron identities): merge_bilateral=True will merge results for, e.g., AVAL and AVAR into the class AVA_, merge_dorsoventral=True will merge RMED and RMEV into RME_, while merge_numbered=True will merge VB3, VB4, ... into VB. These options can be combined to merge, for example, SMBVL, SMBVR, SMBDL, and SMBDR into SMB__ with merge_bilateral=True, merge_dorsoventral=True.

Cengen class

The Cengen class interfaces with single-cell RNASeq database from the CeNGEN project. Its main function is Cengen.get_gene_expression(), which is called by NeuroAtlas.get_gene_expression() after converting neuron IDs to CeNGEN-style IDs.

PeptideGPCR

The PeptideGPCR class provides an interface to the neuropeptide/GPCR deorphanization in [4]. The two main functions are

PeptideGPCR.get_gpcrs_binding_to(peptides)

and

PeptideGPCR.get_peptides_binding_to(gpcrs)

which return the GPCRs binding to given peptides and the peptides binding to given GPCRs, respectively.

WormBase class

The WormBase class uses the REST API provided by wormbase.org. WormBase currently has methods to retrieve lists of transcripts for given genes, as well as functions to convert WormBase-style gene IDs to gene names, etc.

Examples

  • plot_signal_propagation.py shows you how to access the signal propagation data,
  • gene_expression.py shows you how to get gene expression data from CeNGEN,
  • peptideGPCR_binding.py shows you how to get the peptides binding to given GPCRs and vice versa,
  • make_peptidergic_connectome.py shows you how to combine these functions to compile the neuropeptidergic connectome [9] using gene expression and neuropeptide/GPCR deorphanization.

References

  1. Randi et al., arXiv 2022 https://arxiv.org/abs/2208.04790
  2. WormBase, wormbase.org
  3. Taylor et al., Cell 2021
  4. Beets et al., bioRxiv 2022 https://www.biorxiv.org/content/10.1101/2022.10.30.514428v1
  5. White et al., Phil. Trans. R. Soc 1986
  6. Witvliet et al., Nature 2021
  7. Bentley et al., PLOS Comp. Bio. 2016
  8. Fenyves et al., PLOS Comp. Bio. 2020
  9. Ripoll-Sanchez et al., bioRxiv 2022 https://www.biorxiv.org/content/10.1101/2022.10.30.514396v2

Release files for wormneuroatlas 0.0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wormneuroatlas 0.0.7.3
File Size Uploaded
wormneuroatlas-0.0.7.3.tar.gz 37.5 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for wormneuroatlas 0.0.7.3
File Interpreter ABI Platform
wormneuroatlas-0.0.7.3-py3-none-any.whl Python 3 none any Details

Total release size:75.2 MB

Release files / wormneuroatlas-0.0.7.3.tar.gz

Download URL wormneuroatlas-0.0.7.3.tar.gz
Size 37.5 MB
Tags Source
SHA-256 checksum
How to use checksums
a3547764b789d07094e186c9673875b91d588f46d4ba7733988da7ebe34c2d90
BLAKE2b-256 checksum
How to use checksums
58788cb6651d6233f49264b10f1d946a076329e229dbf1b89bde73aef422965f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / wormneuroatlas-0.0.7.3-py3-none-any.whl

Download URL wormneuroatlas-0.0.7.3-py3-none-any.whl
Size 37.8 MB
Tags Python 3
SHA-256 checksum
How to use checksums
166289031784c9565f6b9205e30dc718bafbc092db3b46f1aef73d93dc4d1325
BLAKE2b-256 checksum
How to use checksums
b3dc634b2a009739f692bad83325e5c0f8fd5b1323ac1a9ce11df7d4c8ac40db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release history Release notifications | RSS feed

This release

0.0.7.3 This release

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page