Neighborhood-informed positional information for precise cell identity specification.
The 10 matches · 2 of them tie a paragraph to a whole file, not to given lines: weak matches, whose lines are not tinted
- [1] § Methods › Description of Drosophila data ↔ data/WildTypeDrosophila.py, lines 7–133 · score 0.89 · 40–44 min, 38–48 min, WT Drosophila, 40 min, 38 min, gap genes
- [2] § Methods › Quantifying the error in the prediction of the location ↔ test_results_analysis/TestResults.py, the whole file · a weak match · score 0.69 · predicted location, ground truth, MAP positions, position prediction, error, decoding
- [3] § Methods › Description of Drosophila data ↔ src/_constants.py, lines 16–85 · score 0.61 · bcdE1, WT embryos, double, osk, neighborhood informed, cell independent
- [4] § Methods › Description of Drosophila data ↔ data/WildTypeDrosophila.py, lines 7–133 · score 0.60 · 38–48 min, 38 min, gap gene, Drosophila, embryos
- [5] § Results › Prediction of pair-rule gene expression ↔ src/_figures.py, lines 30–42 · score 0.58 · reconstruction error, neighborhood informed decoding, prediction error, AP axis, schematic, Eve
- [6] § Methods › Description of Drosophila data ↔ src/_constants.py, lines 16–85 · score 0.57 · bcdE1, Nos, Tsl, 55 min, 45 min, pair rule gene
- [7] § Results › Prediction of pair-rule gene expression ↔ src/_figures.py, lines 30–42 · score 0.56 · qualitative comparison, prediction error, AP axis, Eve, Prd, neighborhood informed
- [8] § Methods › Quantifying the error in the prediction of the location ↔ test_results_analysis/TestResults.py, the whole file · a weak match · score 0.56 · positional prediction error, ground truth, absolute, location, MAP, embryos
- [9] § Results › Short-range gene expression correlations close the positional information gap in the Drosophila embryo ↔ src/_figures.py, lines 2–26 · score 0.55 · schematic diagram, pairwise correlation, decoding maps, Hb, Kr, bits
- [10] § Results › Decoding position and predicting pair-rule stripes in mutant embryos ↔ src/_figures.py, lines 44–56 · score 0.53 · osk mutants, binned positions, Gap gene, prediction, Decoding, embryos
Paper
Loaded from Europe PMC by your browser, not stored by OSCR: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 148 lines · 7.2 KB · no license · 4 matches
- from src._visualizations import *
- def plot_figure1_panels():
- """
- This figure presents the positional information encoded in neighboring positions in wild type Drosophila embryos
- This functions plots panels b,c,d,e,f,h, and i. Panels a and g are schematic diagrams drawn in biorender.com
- """
- ##panels b and c: gene expression correlations
- gene_expression_pairwise_correlation_plots()
- #panel d: positional information in bits
- plot_positional_information_in_bits()
- #
- # #panel e: decoding neighborhood-informed and cell independent given Kr expression
- plot_decoding_maps_comparison_wt(ONE_GENE_EXAMPLE_GENE, VMAXS_ONE_GENE, xlim=False) #True
- #
- # #panel f: decoding neighborhood-informed and cell independent give Kr, Gt, and Hb expression
- plot_decoding_maps_comparison_wt(THREE_GENES_EXAMPLE_GENES, VMAXS_THREE_GENES, xlim=False)
- #
- # #aggregated results - mean MAP error over positions and over wild type embryos, mean per number of genes used
- # #for decoding
- # #panel h:
- plot_position_MAP_error_all_gene_subsets()
- # # #same aggregation , but looking at the standard deviation of the position posterior distribution
- # # #neighborhood-informed vs cell-independent
- # # #panel i:
- plot_position_posterior_std_all_gene_subsets()
- def plot_figure2_and_related_supp_panels():
- """
- This figure presents pair-rule expression profile prediction given the position probabilistic decoder.
- We show both qualitatively, quantitivately across the AP axis, and aggregated summary results
- comparing neighborhood-informed decoding based vs cell-independent decoding based pair-rule expression profile predictions
- This function plots panels b,c,and d. Panel a is schematic and was drawn in biorender.com
- """
- ##pair rule prediction across AP axis - qualitative comparison
- #figure 2 panel b - Prd prediction and supplementary Run and Eve prediction
- pair_rule_prediction_across_positions()
- #figure 2 panel c -reconstruction error across AP axis, d - summary results - mean prediction error per pair-rule gene:
- plot_all_pr_genes_mean_prediction_error()
- def plot_figure3_panels():
- """
- This figure presents position decoding and pair-rule expression prediction results
- for Osk mutant background embryos
- :return:
- """
- plot_wt_gap_gene()
- plot_all_mutant_results(mutant_type='osk')
- ##mutant pair-rule prediction and errors:
- plot_mutant_pr_predictions_and_errors(mutant_type='osk', plot_binned_position_errors=True)
- plot_one_mutation_expression_correlation()
- def plot_figure5_panels():
- for mutant_type in MUTANT_TYPES:
- print(mutant_type)
- plot_all_mutant_results(mutant_type)
- def plot_figure6_panels():
- for mutant_type in MUTANT_TYPES:
- print(mutant_type)
- fig, axes = plt.subplots(1, 6, figsize=(
- 24, 5)) # 1 row, 6 columns, wider width (sharex=False and sharey=False by default)
- handles = [] # Store handles for the legend
- labels = []
- mean_wt_pr_exp = get_mean_wt_pr_per_position(EDGE_TRIM)
- mutant_pr = get_mutant_pr_data(mutant_type)
- mutant_pr_arr = reformat_exp_data_to_arr(mutant_pr)[:, EDGE_TRIM:-EDGE_TRIM, :]
- min_vals = np.min(mutant_pr_arr, axis=1, keepdims=True)
- max_vals = np.max(mutant_pr_arr, axis=1, keepdims=True)
- # Normalize the data
- mutant_pr_arr_normed = (mutant_pr_arr - min_vals) / (max_vals - min_vals)
- mean_pr_exp_per_gene = np.mean(mutant_pr_arr_normed, axis=0)[1:-1, :]
- std_pr_exp_per_gene = np.std(mutant_pr_arr_normed, axis=0)[1:-1, :]
- wn_map = TestResults.from_pickle(DROSO_RES_DIR, f'{mutant_type}_wn', GAP_GENES)
- sc_map = TestResults.from_pickle(DROSO_RES_DIR, f'{mutant_type}_sc', GAP_GENES)
- sc_pr_pred = sc_map.expected_pr_exp(mean_wt_pr_exp)[:, 1:-1, :]
- wn_pr_pred = wn_map.expected_pr_exp(mean_wt_pr_exp[1:-1, :])
- positions = np.linspace(0.1, 0.9, sc_pr_pred.shape[1])
- mean_wn_pred = np.mean(wn_pr_pred, axis=0)
- std_wn_pred = np.std(wn_pr_pred, axis=0)
- mean_sc_pred = np.mean(sc_pr_pred, axis=0)
- std_sc_pred = np.std(sc_pr_pred, axis=0)
- for i, gene in enumerate(PAIR_RULE_GENES[:3]):
- # WN plot
- ax_wn = axes[2 * i]
- ax_wn.fill_between(positions, mean_pr_exp_per_gene[:, i] - std_pr_exp_per_gene[:, i],
- mean_pr_exp_per_gene[:, i] + std_pr_exp_per_gene[:, i], color='grey', alpha=0.3)
- ax_wn.fill_between(positions, mean_wn_pred[:, i] - std_wn_pred[:, i],
- mean_wn_pred[:, i] + std_wn_pred[:, i], color=DECODER_TYPE_COLOR['wn'], alpha=0.3)
- line_wn = ax_wn.plot(positions, mean_wn_pred[:, i], color=DECODER_TYPE_COLOR['wn'])[0]
- line_pr = ax_wn.plot(positions, mean_pr_exp_per_gene[:, i], color='grey')[0]
- if i == 0:
- ax_wn.set_ylabel('Gene Expression')
- ax_wn.set_yticks(np.arange(0, 1.05, .2)) # Set yticks for leftmost plot
- else:
- ax_wn.set_yticks([]) # Remove yticks for the other plots
- # SC plot
- ax_sc = axes[2 * i + 1]
- ax_sc.fill_between(positions, mean_pr_exp_per_gene[:, i] - std_pr_exp_per_gene[:, i],
- mean_pr_exp_per_gene[:, i] + std_pr_exp_per_gene[:, i], color='grey', alpha=0.3)
- ax_sc.fill_between(positions, mean_sc_pred[:, i] - std_sc_pred[:, i],
- mean_sc_pred[:, i] + std_sc_pred[:, i], color=DECODER_TYPE_COLOR['sc'], alpha=0.3)
- line_sc = ax_sc.plot(positions, mean_sc_pred[:, i], color=DECODER_TYPE_COLOR['sc'])[0]
- ax_sc.plot(positions, mean_pr_exp_per_gene[:, i], color='grey', linewidth=2) # Add grey line here
- ax_sc.set_yticks([]) # Remove yticks for SC plot
- # Add gene name in the bottom-right corner of each subplot (larger and bold)
- # ax_sc.text(0.95, 0.05, f'{gene}', transform=ax_sc.transAxes, ha='right', va='bottom', fontsize=22,
- # fontweight='bold')
- # ax_wn.text(0.95, 0.05, f'{gene}', transform=ax_wn.transAxes, ha='right', va='bottom', fontsize=22,
- # fontweight='bold')
- ax_sc.text(0.5, 0.85, f'{gene}', transform=ax_sc.transAxes, ha='center', va='bottom', fontsize=22,
- fontweight='bold')
- ax_wn.text(0.5, 0.85, f'{gene}', transform=ax_wn.transAxes, ha='center', va='bottom', fontsize=22,
- fontweight='bold')
- # Collect handles and labels for the legend
- if i == 0:
- handles.extend([line_pr, line_wn, line_sc])
- labels.extend([f'Pair Rule Gene Mean Expression', DECODER_NAMES["wn"]+" Prediction", DECODER_NAMES["sc"]+" Prediction"])
- # Add a single legend for all subplots outside of the plots
- fig.legend(handles, labels, loc='upper center', bbox_to_anchor=(0.5, 1.03), ncol=3)
- for ax in axes:
- ax.set_xlabel('Position (x/L)')
- # Adjust layout to make more space and remove excess white space
- plt.subplots_adjust(top=0.85, bottom=0.2, left=0.05, right=0.97, hspace=0.05, wspace=0.05)
- plt.show()
_figures.py at commit ee57cd5, no license · at the source
Overview
- School of Computer Science and Engineering, The Hebrew University,Jerusalem, Israel
- Racah Institute of Physics, The Hebrew University,Jerusalem, Israel
- Faculty of Medicine, The Hebrew University,Jerusalem, Israel
Abstract
During development, cells reliably establish their identities, a process that is enabled in part by positional information encoded in gene expression patterns. Previous works showed that cells in Drosophila embryos can utilize this information to decode their position along the anterior-posterior axis with a 1% embryo-length positional precision. However, this precision is insufficient to uniquely determine position, leading to a positional information gap. Here, we propose a neighborhood-informed information-theoretic framework which allows to quantitatively estimate the amount of information regarding position which exists in the microenvironment of each cell. We formulate how much additional information exists in neighboring cells as a function of spatial variation in gene expression. We show that the additional information encoded by local neighborhoods is sufficient to uniquely specify cell identities, closing the information gap on average across major patterning axes in Drosophila embryos, gastruloids, and the developing neural tube. Furthermore, neighborhood-informed decoders predict cell positions and downstream gene expression patterns more accurately than cell-independent decoders, resulting in lower decoding variability, which is maintained in mutant Drosophila embryos. Our results provide a basis for the analysis of cellular decision-making in the context of their microenvironments.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repository
Its files are read in the Code ↔ Paper reader above, with 10 matches between paragraphs and lines of code.
nitzanlab/Neighborhood-Informed-Positional-Information
ee57cd5673b5a6c0aae81d49241e87d49c764ac9, 22 January 2025Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
13 files
- data/
Data.py , Python, 137 lines - data/
WildTypeDrosophila.py , Python, 149 lines, 2 matches - data/
_data.py , Python, 153 lines - data/
_preprocessing.py , Python, 90 lines - main.py, Python, 28 lines
- src/
_constants.py , Python, 98 lines, 2 matches - src/
_create_datasets.py , Python, 64 lines - src/
_figures.py , Python, 148 lines, 4 matches - src/
_imports.py , Python, 21 lines - src/
_utils.py , Python, 183 lines - src/
_visualizations.py , Python, 864 lines - test_results_analysis/
TestResults.py , Python, 116 lines, 2 matches - README, Text, 59 lines
The paper's code and data availability statement is in the Data section.
Tracing map
Proposed by the machine: these links were found in the paper and verified at the source, without human review. The map will receive a Zenodo DOI once one of the paper's authors has validated it with their ORCID.
What the map holds:
- 1 repository of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 12 scripts, each with its path and the digest of its content;
- 10 matches between paragraphs of the paper and lines of the code (method lexical-v1);
- neither the text of the paper nor the code itself.
Its JSON (tracing-map.json) is deposited on Zenodo with its DOI once the map is validated.
Data
Data links
- ebi.ac.uk/
biostudies/ , EMBL-EBI; found in the notessourcedata
Data availability
The computer code produced in this study is available on GitHub (https://
The source data of this paper are collected in the following database record: biostudies:S-SCDT-10_103
Reproduced under the paper's license (CC BY), from the paper cited above.
Versions
The history of this record: each version stored by the harvester or made by a correction of its authors or of the maintainers of its code, and what changed in its facts. The texts of the paper (its abstract, its availability statements) are not part of it; versions that changed only those are not listed.
Version 1, 28 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 3 keywords, 7 MeSH terms, 1 funder, 36 references.
Cite
This paper
Erez, M., Friedman, R., & Nitzan, M. (2026). Neighborhood-informed positional information for precise cell identity specification. Molecular systems biology, 22(7), 1118-1131. https://
BibTeX
@article{erez2026neighbo
author = {Erez, Michal and Friedman, Roy and Nitzan, Mor},
title = {{Neighborhood-informed positional information for precise cell identity specification}},
journal = {Molecular systems biology},
year = {2026},
month = may,
volume = {22},
number = {7},
pages = {1118--1131},
publisher = {Nature Publishing Group},
issn = {1744-4292},
doi = {10.1038/
url = {https://
pmid = {42086862},
pmcid = {PMC13328375}
}
RIS
TY - JOUR
AU - Erez, Michal
AU - Friedman, Roy
AU - Nitzan, Mor
TI - Neighborhood-informed positional information for precise cell identity specification
T2 - Molecular systems biology
J2 - Mol Syst Biol
PY - 2026
DA - 2026/
VL - 22
IS - 7
SP - 1118
EP - 1131
SN - 1744-4292
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Neighborhood-informed positional information for precise cell identity specification",
"container-title": "Molecular systems biology",
"author": [
{
"family": "Erez",
"given": "Michal"
},
{
"family": "Friedman",
"given": "Roy"
},
{
"family": "Nitzan",
"given": "Mor"
}
],
"container-title-short":
"volume": "22",
"issue": "7",
"page": "1118-1131",
"DOI": "10.1038/
"PMID": "42086862",
"PMCID": "PMC13328375",
"ISSN": "1744-4292",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
5
]
]
}
}
The tracing map gets a citation of its own once an author has validated it and it has a DOI.
Similar papers
The papers with a page that share the most with this one: the tools found in their code, their categories, datasets, cited references and authors, the rarest counting most.
- [1] doi:10.7554/elife.96980 [code]
- Heterogeneity of Sonic Hedgehog response dynamics and fate specification in single neural progenitors.Journal: eLifeIn common: 3 references
- [2] doi:10.1371/journal.pbio.3003960 [code]
- Brachyury expression levels predict lineage potential and axis-forming ability of in vitro-derived neuromesodermal progenitors.Journal: PLoS biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, 1 reference
- [3] doi:10.1093/pnasnexus/pgag055 [code]
- Comparative transcriptomics reveals differences in cortical cell type organization between metatherian and eutherian mammals.Journal: PNAS nexusIn common: pandas, SciPy, Matplotlib, 1 other tool, 1 reference
- [4] doi:10.1038/s41586-026-10214-2 [code]
- Multidimensional profiling of heterogeneity in supratentorial ependymomas.Journal: NatureIn common: pandas, SciPy, Matplotlib, 1 other tool, 1 reference
- [5] doi:10.1038/s41467-026-75722-1 [code]
- Single-nucleus analysis of the adult human olfactory epithelium uncovers shared neurogenesis programs with the brain.Journal: Nature communicationsIn common: pandas, SciPy, Matplotlib, 1 other tool, 1 reference
- [6] doi:10.1093/bib/bbag298 [code]
- Empowering multifaceted analysis of spatial transcriptomics data with RGAST.Journal: Briefings in bioinformaticsIn common: pandas, SciPy, Matplotlib, 1 other tool, 1 reference
- [7] doi:10.1101/gad.353090.125 [code]
- Neural stem cell epigenomes and fate bias are temporally coordinated during mouse cortical development.Journal: Genes & developmentIn common: SciPy, Matplotlib, NumPy, 1 reference
- [8] doi:10.1371/journal.pbio.3003953 [code]
- Dynamic Landscape Analysis of cell fate decisions provides predictive models of neural development from single-cell data.Journal: PLoS biologyIn common: pandas, Matplotlib, NumPy, 1 reference
- [9] doi:10.1371/journal.pbio.3003959 [code]
- Recurrent synapses between CO2-sensitive olfactory sensory neurons enable robust CO2 detection in Aedes aegypti mosquitoes.Journal: PLoS biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, drosophila
- [10] doi:10.1371/journal.pcbi.1014657 [code]
- Population morphology implies a common developmental blueprint for Drosophila motion detectors.Journal: PLoS computational biologyIn common: pandas, SciPy, Matplotlib, 1 other tool, drosophila
Contribute
The authors of this paper can claim it, correct its record and validate its tracing map, and the maintainers of its code (its owner, or a public member of its organization) correct what it says of their repository; anyone signed in can ask for its removal. Every request goes to OSCR's own machine, which answers it; your account page follows them.
Sign in with ORCID to claim this paper as one of its authors, correct its record or validate its tracing map: when the paper's metadata lists your ORCID iD, you are recognized at once. Maintainers of its code: sign in with GitHub, then claim the repository on your account page.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 12 scripts, and 10 matches between paragraphs and code (see the Code and Map sections). It then receives a DOI on Zenodo, with you (your ORCID iD) and OSCR as its creators; the code itself is not deposited.
The map's fingerprint: sha256:6478a10880917642…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
