Self-organization of vascularized muscle from bovine embryonic stem cells.
4 blocks of code here have a permanent identifier (oscr:b:…), listed with the matches below: citable for good, with a page of its own. Select a match and press Cite to copy it. What a block identifier is.
The 4 matches
- [1] § Methods › Endothelial network connectivity analysis ↔ src/model_utils.py, lines 109 to 155 · score 0.74 · RAdam, dice, IoU, loss, scheduler, model · block
oscr:b:A29RG41F6QMZF-Q· Report a mismatch - [2] § Methods › α-BTX quantification ↔ nmj_image_analysis.py, lines 239 to 300 · score 0.71 · distance transforms, neuron mask, muscle mask, EDTs, raw, pixel · block
oscr:b:3F2EHPRRP9R24-B· Report a mismatch - [3] § Methods › Endothelial network connectivity analysis ↔ src/training.py, lines 5 to 35 · score 0.59 · trained, IoU, loss, scheduler, encoder, model · block
oscr:b:3N41Z7902PDBB-9· Report a mismatch - [4] § Methods › α-BTX quantification ↔ BTX_batch.py, lines 255 to 307 · score 0.55 · background, EDTs, BTX signals, batch, conservative, Detection · block
oscr:b:ABP7Z4M9G4ZWN-B· Report a mismatch
Paper
Loaded from Europe PMC by your browser; OSCR does not store it: doi.org · Europe PMC
The paper is loaded when this pane is shown.
The authors' code
Python · 155 lines · 5.5 KB · CC-BY-NC-4.0 · 1 match
- import math
- import segmentation_models_pytorch as smp
- import torch
- from catalyst import utils
- from catalyst.contrib.nn import DiceLoss, RAdam
- from catalyst.dl import (CriterionCallback, DiceCallback, IouCallback,
- MetricAggregationCallback, SupervisedRunner)
- def adapt_input_conv(in_chans, conv_weight):
- """
- This function adapts the input channels of a convolutional layer's weights based on the number of input channels
- provided. It handles cases where the input channels are 1 (grayscale), 3 (RGB), or other values.
- The function ensures that the weight tensor is in the correct format for the given number of input channels and
- adjusts the weights accordingly.
- Args:
- in_chans (int): The number of input channels.
- conv_weight (torch.Tensor): The convolutional layer's weights.
- Returns:
- torch.Tensor: The adapted convolutional layer's weights.
- """
- conv_type = conv_weight.dtype
- conv_weight = conv_weight.float() # Some weights are in torch.half, ensure it's float for sum on CPU
- O, I, J, K = conv_weight.shape
- if in_chans == 1:
- if I > 3:
- assert conv_weight.shape[1] % 3 == 0
- # For models with space2depth stems
- conv_weight = conv_weight.reshape(O, I // 3, 3, J, K)
- conv_weight = conv_weight.sum(dim=2, keepdim=False)
- else:
- conv_weight = conv_weight.sum(dim=1, keepdim=True)
- elif in_chans != 3:
- if I != 3:
- raise NotImplementedError('Weight format not supported by conversion.')
- else:
- # NOTE this strategy should be better than random init, but there could be other combinations of
- # the original RGB input layer weights that'd work better for specific cases.
- repeat = int(math.ceil(in_chans / 3))
- conv_weight = conv_weight.repeat(1, repeat, 1, 1)[:, :in_chans, :, :]
- conv_weight *= (3 / float(in_chans))
- conv_weight = conv_weight.to(conv_type)
- return conv_weight
- def adapt_input_model(model):
- """
- Adapts first layer to take a specified number of input channels.
- Args:
- model: The segmentation model to be adapted.
- Returns:
- The adapted segmentation model.
- """
- # Adapt first layer to take 1 channel as input - timm approach = sum weights
- new_weights = adapt_input_conv(in_chans=1, conv_weight=model.encoder.patch_embed1.proj.weight)
- model.encoder.patch_embed1.proj = torch.nn.Conv2d(in_channels=1, out_channels=64, kernel_size=(7, 7), stride=(4, 4), padding=(3, 3))
- with torch.no_grad():
- model.encoder.patch_embed1.proj.weight = torch.nn.parameter.Parameter(new_weights)
- return model
- def build_model(model_str, encoder_str, in_channels=1, encoder_weights=None):
- """
- Provide a segmentation model with specified architecture and encoder.
- Args:
- model_str (str): Name of the segmentation model architecture.
- encoder_str (str): Name of the encoder used in the model.
- encoder_weights (str): Pretrained weights for the specified encoder.
- in_channels (int): Number of input channels.
- Returns:
- A PyTorch model instance with specified architecture and encoder.
- """
- # Create a dictionary mapping from string to actual SMP function
- ARCHITECTURES = {
- 'Unet': smp.Unet,
- 'Unet++': smp.UnetPlusPlus,
- 'MAnet': smp.MAnet,
- 'Linknet': smp.Linknet,
- 'FPN': smp.FPN,
- 'PSPNet': smp.PSPNet,
- 'PAN': smp.PAN,
- 'DeepLabV3': smp.DeepLabV3,
- 'DeepLabV3+': smp.DeepLabV3Plus
- }
- try:
- # Get constructor method for desired architecture
- constructor = ARCHITECTURES[model_str]
- if encoder_str.startswith('mit') and in_channels == 1:
- model = constructor(encoder_name=encoder_str, classes=1, in_channels=3, encoder_weights=encoder_weights)
- model = adapt_input_model(model)
- else:
- model = constructor(encoder_name=encoder_str, classes=1, in_channels=in_channels, encoder_weights=encoder_weights)
- return model
- except KeyError:
- raise ValueError(f'Model type "{model_str}" not understood. Valid options are: {list(ARCHITECTURES.keys())}')
- def compile_runner(learning_rate, model_str, encoder_str, encoder_weights, loss_weights, n_epochs, in_channels):
- criterion = {
- "dice": DiceLoss(),
- "bce": torch.nn.BCEWithLogitsLoss()
- }
- device = utils.get_device()
- print(f"Using device: {device}")
- callbacks = [
- CriterionCallback(
- input_key="mask",
- prefix="loss_dice",
- criterion_key="dice"
- ),
- CriterionCallback(
- input_key="mask",
- prefix="loss_bce",
- criterion_key="bce"
- ),
- MetricAggregationCallback(
- prefix="loss",
- mode="weighted_sum",
- metrics={
- "loss_dice": loss_weights[0],
- "loss_bce": loss_weights[1]
- },
- ),
- # metrics
- DiceCallback(input_key="mask"),
- IouCallback(input_key="mask", threshold=0.5)
- ]
- model = build_model(model_str, encoder_str, in_channels, encoder_weights)
- model_params = utils.process_model_params(model)
- optimizer = RAdam(model_params, lr=learning_rate, weight_decay=1e-4)
- scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=int(n_epochs/2), gamma=0.5, last_epoch=- 1, verbose=False)
- runner = SupervisedRunner(device=device, input_key="image", input_target_key="mask")
- return model, runner, criterion, optimizer, scheduler, callbacks
model_utils.py at commit daee164, under CC-BY-NC-4.0 · at the source
Overview
- European Molecular Biology Laboratory, EMBL Barcelona, C/ Dr. Aiguader, Barcelona, Spain
- Life Science Center for Survival Dynamics, Tsukuba Advanced Research Alliance (TARA), University of Tsukuba, Ibaraki, Japan
- Department of Molecular Biology, University of Texas Southwestern Medical Center, Dallas, TX USA
- Hamon Center for Regenerative Science and Medicine, University of Texas Southwestern Medical Center, Dallas, TX USA
- Cecil H. and Ida Green Center for Reproductive Biology Sciences, University of Texas Southwestern Medical Center, Dallas, TX USA
- Cluster of Excellence Physics of Life, TU Dresden, Dresden, Germany
Abstract
Cultured beef offers a promising alternative to traditional meat. While adult stem cells are commonly used as the cell source for cultured beef, their proliferation and differentiation capacities are limited. Current manufacturing processes for cultured beef steaks often require separate preparation of multiple cell types and their intricate assembly. In this study, we propose and report the co-induction of muscle, neural, and endothelial cells from bovine embryonic stem cells (ESCs), accompanied by the formation of tissue-like structures in two- and three-dimensional cultures. Bovine myocytes are induced in a stepwise manner through the induction of presomitic mesoderm (PSM) from bovine ESCs. Muscle fibers with sarcomeres appear within 15 days, displaying calcium oscillations responsive to inputs from co-induced bovine neurons. Bovine endothelial cells are also co-induced via PSM, forming uniform vessel networks inside tissues. Our serum-free, rapid co-induction protocols represent a milestone toward self-organizing beef steaks with integrated vasculature and innervation.
Reproduced under the paper's license (CC BY), from the paper cited above.
Repositories
Its files are read in the Code ↔ Paper reader above, with 4 matches between paragraphs and lines of code.
YuyaSanaki/NMJ-analysis
4c8fd8aa09233c648ea0ed8eb1586da001c2a8c3, 8 July 2026Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
11 files
- BTX.py, Python, 302 lines
- BTX_batch.py, Python, 859 lines, 1 match
- nmj_image_analysis.py, Python, 631 lines, 1 match
- nmj_master_dashboard.py, Python, 3,361 lines
- nmj_run_output.py, Python, 254 lines
- regenerate_all_folders_p
anel_pdfs.py , Python, 177 lines - regenerate_per_image_nmj
_plots.py , Python, 130 lines - scripts/
lock_requirements.sh , Shell, 20 lines - scripts/
test_run_output.py , Python, 561 lines - LICENSE, License, 190 lines
- README.md, Text, 430 lines
git.embl.de/grp-mif/image-analysis
Availability: 1 check, the latest on 26 September 2026: the link answers (HTTP 200)
- 26 September 2026: the link answers (HTTP 200)
LRpz/VascuMap
daee1647eaf4c78262bc68afd7e6f2d29beecf5c, 13 January 2025Availability: 1 check, the latest on 26 September 2026: the link answers
- 26 September 2026: the link answers
9 files
- setup.py, Python, 29 lines
- src/
dataset.py , Python, 129 lines - src/
graph_metrics.py , Python, 420 lines - src/
inference.py , Python, 124 lines - src/
model_utils.py , Python, 155 lines, 1 match - src/
training.py , Python, 78 lines, 1 match - src/
transforms.py , Python, 92 lines - LICENSE, License, 407 lines
- README.md, Text, 99 lines
Code availability
The custom scripts used are available from Github [https://
Reproduced under the paper's license (CC BY), from the paper cited above.
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:
- 3 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
- 16 scripts, each with its path and the digest of its content;
- 4 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
Datasets cited
- arrayexpress:E-MTAB-1471
4 , at ArrayExpress; found in “Data availability”
Data Availability Statement
Source data are provided with this paper. The scRNA-seq data generated in this study have been deposited in the ArrayExpress database under accession code #E-MTAB-14714 (https://
The custom scripts used are available from Github [https://
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, 27 September 2026: the first record
Recorded: type, language, journal, volume, issue, pages, dates, 10 authors, 3 keywords, 13 MeSH terms, 6 funders, 64 references, 1 RRID.
Cite
This paper
Sanaki-Matsumiya, M., Sanaki, Y., Villava, C., Rappez, L., Gritti, N., Nakaki, F., Sharpe, J., Haase, K., Wu, J., & Ebisuya, M. (2026). Self-organization of vascularized muscle from bovine embryonic stem cells. Nature communications, 17(1), 8975. https://
BibTeX
@article{sanakimatsumiya
author = {Sanaki-Matsumiya, Marina and Sanaki, Yuya and Villava, Casandra and Rappez, Luca and Gritti, Nicola and Nakaki, Fumio and Sharpe, James and Haase, Kristina and Wu, Jun and Ebisuya, Miki},
title = {{Self-organization of vascularized muscle from bovine embryonic stem cells}},
journal = {Nature communications},
year = {2026},
month = sep,
volume = {17},
number = {1},
pages = {8975},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/
url = {https://
pmid = {42686746},
pmcid = {PMC13538390}
}
RIS
TY - JOUR
AU - Sanaki-Matsumiya, Marina
AU - Sanaki, Yuya
AU - Villava, Casandra
AU - Rappez, Luca
AU - Gritti, Nicola
AU - Nakaki, Fumio
AU - Sharpe, James
AU - Haase, Kristina
AU - Wu, Jun
AU - Ebisuya, Miki
TI - Self-organization of vascularized muscle from bovine embryonic stem cells
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/
VL - 17
IS - 1
SP - 8975
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1038/
"type": "article-journal",
"title": "Self-organization of vascularized muscle from bovine embryonic stem cells",
"container-title": "Nature communications",
"author": [
{
"family": "Sanaki-Matsumiya",
"given": "Marina"
},
{
"family": "Sanaki",
"given": "Yuya"
},
{
"family": "Villava",
"given": "Casandra"
},
{
"family": "Rappez",
"given": "Luca"
},
{
"family": "Gritti",
"given": "Nicola"
},
{
"family": "Nakaki",
"given": "Fumio"
},
{
"family": "Sharpe",
"given": "James"
},
{
"family": "Haase",
"given": "Kristina"
},
{
"family": "Wu",
"given": "Jun"
},
{
"family": "Ebisuya",
"given": "Miki"
}
],
"container-title-short":
"volume": "17",
"issue": "1",
"page": "8975",
"DOI": "10.1038/
"PMID": "42686746",
"PMCID": "PMC13538390",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
2
]
]
}
}
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.1038/s41467-022-33115-0 [code]
- Optogenetic control of apical constriction induces synthetic morphogenesis in mammalian tissues.Journal: Nature communicationsIn common: tifffile, scikit-image, seaborn, 4 other tools, other, 1 reference, author Miki Ebisuya
- [2] doi:10.64898/2026.03.30.715222 [code]
- Synthetic lumen rounding directs neural progenitor division modeJournal: bioRxiv (preprint)In common: tifffile, scikit-image, PyTorch, 6 other tools, author Miki Ebisuya
- [3] doi:10.1016/j.ebiom.2025.105825
- Skeletal muscle, neuromuscular organoids and assembloids: a scoping review.Journal: EBioMedicineIn common: 7 references
- [4] doi:10.1002/advs.202522762 [code]
- Enhancing Maturation of Human Neuromuscular Organoids via Electrical Stimulation.Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)In common: tifffile, scikit-image, seaborn, 4 other tools, 3 references
- [5] doi:10.1038/s41586-025-09151-3 [code]
- Morphodynamics of human early brain organoid development.Journal: NatureIn common: tifffile, NetworkX, scikit-image, 7 other tools, 1 reference
- [6] doi:10.1038/s41467-022-32848-2 [code]
- An analysis modality for vascular structures combining tissue-clearing technology and topological data analysis.Journal: Nature communicationsIn common: tifffile, scikit-image, PyTorch, 6 other tools, 1 reference
- [7] doi:10.1038/s41467-026-73373-w [code]
- Mapping neuro-vascular unit communications reveals distinct angiogenic programs across developing mouse brain regions.Journal: Nature communicationsIn common: tifffile, scikit-image, PyTorch, 5 other tools, 1 reference
- [8] doi:10.1038/s41592-024-02412-5 [code]
- A polarized FGF8 source specifies frontotemporal signatures in spatially oriented cell populations of cortical assembloids.Journal: Nature methodsIn common: scikit-image, seaborn, scikit-learn, 4 other tools, 2 references
- [9] doi:10.1038/s41587-023-01747-2 [code]
- Multimodal spatiotemporal phenotyping of human retinal organoid development.Journal: Nature biotechnologyIn common: NetworkX, scikit-image, seaborn, 5 other tools, 1 reference
- [10] doi:10.1038/s41586-022-05526-y [code]
- Primate gastrulation and early organogenesis at single-cell resolution.Journal: NatureIn common: 2 references, author Jun Wu
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: 3 repositories of the authors' code, each at its verified commit and with its license, 16 scripts, and 4 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:be8e821bac17f5ca…
Add the badge to the code's README
If you are an author or a maintainer of this paper's code, you can add this badge. It says what OSCR knows of the paper (its code, its validated tracing map) and links the code to this page. Paste one of these snippets under the README's title. Keep the two marks around it, so that the badge can be replaced in place and is never added twice. OSCR changes nothing in your repository.
Markdown
<!-- oscr-badge:start -->
[](https://openscicode.org/badge/doi/10.1038/s41467-026-76569-2)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-76569-2.svg
:target: https://openscicode.org/badge/doi/10.1038/s41467-026-76569-2
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-76569-2"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-76569-2.svg" alt="OSCR"></a>
<!-- oscr-badge:end -->On GitHub, open the README, choose Edit (the pencil), paste the snippet under the title, then "Commit changes".
If you choose to, you can have the badge kept up to date for you, with oscr badge --write from the command line or with the GitHub Action in your repository's workflows. Every other form and option (a card, AsciiDoc, LaTeX, shields.io) is on the badge page.
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: code errors and mismatches between the code and the paper about this paper and its code, from readers and its authors, beside the paper and its tracing map.
Report a mismatch between the code and the paper · Report a code error (signed in)
Reproductions: reports from readers who ran the authors' code and did not get the paper's result, what they ran, with which environment, commit and data.
Report a reproduction failure (signed in)
Versions of its code: the releases of its code tied to a version of this paper (the preprint, the accepted manuscript, the version of record…), each with the tracing map versioned with it.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
