OSCR

MethyAnno: An Interpretable Automated Annotation Method Leveraging Multi-Scale Information and Metric Learning Framework for scDNAm Data.

Code ↔ Paper

9 matches between paragraphs of the paper and lines of its authors' code, computed by the harvester (lexical-v1). Click a colored paragraph or line to see its counterpart.

6 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 9 matches · 1 of them tie a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › Model Structure—Cross‐Attention Mechanism for Feature Fusion ↔ Script/model.py, lines 41 to 161 · score 0.71 · Layer normalization, cross attention, positional, query, linear, tensors · block oscr:b:9MX25W8NGEJ9T-L · Report a mismatch
  2. [2] § Methods › The Overview of MethyAnno ↔ Script/model.py, lines 204 to 266 · score 0.54 · prototype subspace, cross attention, fuse, module, classification, model · block oscr:b:ZAN9852RX71W5-2 · Report a mismatch
  3. [3] § Methods › Composite Loss Function for Model Training ↔ Script/loss.py, lines 74 to 86 · score 0.53 · cross entropy, contrastive loss, vectors, subspace · block oscr:b:8RMN80DV2BXDS-B · Report a mismatch
  4. [4] § Methods › Model Structure—Cross‐Attention Mechanism for Feature Fusion ↔ Script/model.py, lines 41 to 161 · score 0.51 · FFN, residual, layer, query, linear, tensor · block oscr:b:9MX25W8NGEJ9T-L · Report a mismatch
  5. [5] § Results › The Overview of MethyAnno ↔ Script/novel_discover.py, lines 116 to 215 · score 0.51 · Gaussian mixture model, GMM, component, density, threshold, discovery · block oscr:b:V7TR3DYZ3K7FB-H · Report a mismatch
  6. [6] § Results › The Overview of MethyAnno ↔ scMethyAnno/novel_discover.py, lines 117 to 216 · score 0.51 · Gaussian mixture model, GMM, component, density, threshold, discovery · block oscr:b:1MFEPGE98NDGH-2 · Report a mismatch
  7. [7] § Methods › Model Structure—Identification of Novel Cell Types ↔ Script/novel_discover.py, lines 116 to 215 · score 0.50 · Gaussian mixture model, component, density, threshold, scores · block oscr:b:V7TR3DYZ3K7FB-H · Report a mismatch
  8. [8] § Methods › Model Structure—Identification of Novel Cell Types ↔ scMethyAnno/novel_discover.py, lines 117 to 216 · score 0.50 · Gaussian mixture model, component, density, threshold, scores · block oscr:b:1MFEPGE98NDGH-2 · Report a mismatch
  9. [9] § Methods › Composite Loss Function for Model Training ↔ Script/config.py, the whole file · a weak match · score 0.50 · hyperparameter configurations, weights, prototypes, loss, subspace, training · block oscr:b:PA3NCX4PESD4P-1 · 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 · 266 lines · 10 KB · MIT · 3 matches

  1. # --- Python 标准库 ---
  2. import os
  3. import gc
  4. import random
  5. import warnings
  6. # --- 第三方核心科学计算库 ---
  7. import numpy as np
  8. import pandas as pd
  9. import scipy.stats # 只导入需要的子模块
  10. import torch
  11. import torch.nn as nn
  12. import torch.nn.functional as F
  13. # --- 脚本级别的设置 ---
  14. warnings.filterwarnings("ignore")
  15. gc.collect()
  16. def setup_seed(seed):
  17. """
  18. Set random seed.
  19. Parameters
  20. ----------
  21. seed
  22. Number to be set as random seed for reproducibility.
  23. """
  24. np.random.seed(seed)
  25. random.seed(seed)
  26. torch.manual_seed(seed)
  27. if torch.cuda.is_available():
  28. torch.cuda.manual_seed_all(seed)
  29. setup_seed(123)
  30. class CrossAttention(nn.Module):
  31. def __init__(self, query_dim, context_dim, dropout_rate, embedding_dim = 64, head_dim=64, num_heads=1):
  32. """
  33. 改进的交叉注意力模块,将特征维度视为序列元素。
  34. Args:
  35. query_feature_dim (int): 查询输入张量的原始特征维度 (例如,feat1的维度)
  36. context_feature_dim (int): 上下文输入张量的原始特征维度 (例如,feat2的维度)
  37. embedding_dim (int): 每个特征元素将被映射到的嵌入维度
  38. dropout_rate (float): Dropout比率
  39. head_dim (int): 每个注意力头的维度
  40. num_heads (int): 注意力头的数量
  41. """
  42. super().__init__()
  43. self.query_feature_dim = query_dim
  44. self.context_feature_dim = context_dim
  45. self.embedding_dim = embedding_dim
  46. self.num_heads = num_heads
  47. self.head_dim = head_dim
  48. self.scale = head_dim ** -0.5
  49. inner_dim = num_heads * head_dim # 每个头的维度 * 头数量
  50. # 线性层用于将 (batch_size, feature_dim) -> (batch_size, feature_dim, embedding_dim)
  51. self.query_to_embedding = nn.Linear(1, embedding_dim) # 每个独立的特征值映射到embedding
  52. self.context_to_embedding = nn.Linear(1, embedding_dim)
  53. # 用于生成Q, K, V的线性层
  54. self.to_q = nn.Linear(embedding_dim, inner_dim, bias=False)
  55. self.to_k = nn.Linear(embedding_dim, inner_dim, bias=False)
  56. self.to_v = nn.Linear(embedding_dim, inner_dim, bias=False)
  57. # 最终输出的线性层
  58. self.to_out = nn.Sequential(
  59. nn.Linear(inner_dim, embedding_dim), # 从合并的头维度映射回embedding_dim
  60. nn.Dropout(dropout_rate)
  61. )
  62. self.output_to_original_dim = nn.Linear(embedding_dim, 1)
  63. self.pos_enc_query = nn.Parameter(torch.randn(query_dim, embedding_dim))
  64. self.pos_enc_context = nn.Parameter(torch.randn(context_dim, embedding_dim))
  65. self.norm_query = nn.LayerNorm(embedding_dim)
  66. self.norm_context = nn.LayerNorm(embedding_dim)
  67. self.ffn = nn.Sequential(
  68. nn.LayerNorm(embedding_dim),
  69. nn.Linear(embedding_dim, embedding_dim * 4),
  70. nn.GELU(),
  71. nn.Dropout(dropout_rate),
  72. nn.Linear(embedding_dim * 4, embedding_dim)
  73. )
  74. def forward(self, query, context):
  75. """
  76. Args:
  77. query (torch.Tensor): 查询张量,形状为 [B, query_feature_dim]
  78. context (torch.Tensor): 上下文张量,形状为 [B, context_feature_dim]
  79. Returns:
  80. torch.Tensor: 更新后的查询张量,形状为 [B, query_feature_dim] (融合后,维度与原始query一致)
  81. """
  82. # --- 1. 将输入特征转换为序列形式并应用位置编码 ---
  83. # query: [B, query_feature_dim] -> [B, query_feature_dim, 1]
  84. query_expanded = query.unsqueeze(-1)
  85. # [B, query_feature_dim, 1] -> [B, query_feature_dim, embedding_dim]
  86. query_seq = self.query_to_embedding(query_expanded) + self.pos_enc_query
  87. # context: [B, context_feature_dim] -> [B, context_feature_dim, 1]
  88. context_expanded = context.unsqueeze(-1)
  89. # [B, context_feature_dim, 1] -> [B, context_feature_dim, embedding_dim]
  90. context_seq = self.context_to_embedding(context_expanded) + self.pos_enc_context
  91. residual_query_seq = query_seq
  92. # --- 2. 归一化输入序列 ---
  93. query_seq = self.norm_query(query_seq)
  94. context_seq = self.norm_context(context_seq)
  95. # --- 3. 计算 Q, K, V ---
  96. # Q: [B, query_feature_dim, embedding_dim] -> [B, query_feature_dim, inner_dim]
  97. # K, V: [B, context_feature_dim, embedding_dim] -> [B, context_feature_dim, inner_dim]
  98. q = self.to_q(query_seq)
  99. k = self.to_k(context_seq)
  100. v = self.to_v(context_seq)
  101. # [B, seq_len, inner_dim] -> [B, num_heads, seq_len, head_dim]
  102. q = q.view(q.shape[0], q.shape[1], self.num_heads, self.head_dim).transpose(1, 2)
  103. k = k.view(k.shape[0], k.shape[1], self.num_heads, self.head_dim).transpose(1, 2)
  104. v = v.view(v.shape[0], v.shape[1], self.num_heads, self.head_dim).transpose(1, 2)
  105. # --- 4. 计算注意力分数 ---
  106. # attention_scores: [B, num_heads, query_seq_len, context_seq_len]
  107. attention_scores = torch.matmul(q, k.transpose(-1, -2)) * self.scale
  108. attention_probs = attention_scores.softmax(dim=-1)
  109. # attention_output: [B, num_heads, query_seq_len, head_dim]
  110. attention_output = torch.matmul(attention_probs, v)
  111. # --- 5. 合并多头的结果 ---
  112. # [B, num_heads, query_seq_len, head_dim] -> [B, query_seq_len, num_heads, head_dim]
  113. attention_output = attention_output.transpose(1, 2).contiguous()
  114. # [B, query_seq_len, num_heads, head_dim] -> [B, query_seq_len, inner_dim]
  115. attention_output = attention_output.view(attention_output.shape[0], attention_output.shape[1], -1)
  116. # [B, query_seq_len, inner_dim] -> [B, query_seq_len, embedding_dim]
  117. attention_output = self.to_out(attention_output)
  118. # --- 6. 残差连接和FFN ---
  119. x = residual_query_seq + attention_output # [B, query_feature_dim, embedding_dim]
  120. x = x + self.ffn(x) # [B, query_feature_dim, embedding_dim]
  121. # --- 7. 将融合后的嵌入序列转换回原始特征维度 ---
  122. # [B, query_feature_dim, embedding_dim] -> [B, query_feature_dim, 1]
  123. final_output = self.output_to_original_dim(x)
  124. # [B, query_feature_dim, 1] -> [B, query_feature_dim]
  125. final_output = final_output.squeeze(-1)
  126. return final_output
  127. def projection_distance(x, subspace):
  128. # x: [B, H], subspace: [D, H]
  129. # 投影矩阵:P = U.T @ U
  130. # proj_x = x @ P.T
  131. P = subspace.T @ subspace # [H, H]
  132. x_proj = x @ P # [B, H]
  133. dist = F.mse_loss(x_proj, x, reduction='none').sum(dim=-1) # 投影误差
  134. return dist
  135. class PrototypeSubspace(nn.Module):
  136. def __init__(self, num_classes, subspace_dim, hidden_dim):
  137. super().__init__()
  138. self.num_classes = num_classes
  139. self.subspace_dim = subspace_dim
  140. self.hidden_dim = hidden_dim
  141. # 类别的子空间表示:[num_classes, subspace_dim, hidden_dim]
  142. self.subspaces = nn.Parameter(torch.randn(num_classes, subspace_dim, hidden_dim))
  143. nn.init.orthogonal_(self.subspaces.view(-1, hidden_dim)) # 初始化每个子空间为正交向量组
  144. def forward(self, x):
  145. """
  146. 输入:
  147. x: [B, hidden_dim] --- 样本嵌入表示
  148. 输出:
  149. logits: [B, num_classes] --- 类别相似性得分
  150. """
  151. B = x.size(0)
  152. subspaces = self.subspaces # [C, D, H]
  153. # 投影距离:计算 fused_feat 到每类原型子空间的投影误差
  154. logits = []
  155. for c in range(self.num_classes):
  156. dist = projection_distance(x, subspaces[c])
  157. logits.append(-dist)
  158. logits = torch.stack(logits, dim=1)
  159. return logits
  160. class MultiScalePrototypeModel(nn.Module):
  161. def __init__(self, input_dims, num_classes, hidden_dim, dropout_rate, subspace_dim):
  162. super().__init__()
  163. self.encoder1 = nn.Sequential(
  164. nn.Linear(input_dims[0], hidden_dim*4),
  165. nn.BatchNorm1d(hidden_dim*4),
  166. nn.GELU(),
  167. nn.Dropout(dropout_rate),
  168. nn.Linear(hidden_dim*4, hidden_dim*2),
  169. nn.BatchNorm1d(hidden_dim*2),
  170. nn.GELU(),
  171. nn.Dropout(dropout_rate),
  172. nn.Linear(hidden_dim*2, hidden_dim),
  173. nn.GELU()
  174. )
  175. self.encoder2 = nn.Sequential(
  176. nn.Linear(input_dims[1], hidden_dim*2),
  177. nn.BatchNorm1d(hidden_dim*2),
  178. nn.GELU(),
  179. nn.Dropout(dropout_rate),
  180. nn.Linear(hidden_dim*2, hidden_dim),
  181. nn.GELU()
  182. )
  183. self.projection1 = nn.Sequential(
  184. nn.Linear(hidden_dim, hidden_dim//2),
  185. nn.GELU(),
  186. nn.Linear(hidden_dim//2, hidden_dim//2)
  187. )
  188. self.projection2 = nn.Sequential(
  189. nn.Linear(hidden_dim, hidden_dim//2),
  190. nn.GELU(),
  191. nn.Linear(hidden_dim//2, hidden_dim//2)
  192. )
  193. # 1. 定义两个交叉注意力模块
  194. # 一个用于 feat1 查询 feat2
  195. self.cross_attn_1_to_2 = CrossAttention(query_dim=hidden_dim, context_dim=hidden_dim, dropout_rate=dropout_rate)
  196. # 另一个用于 feat2 查询 feat1
  197. self.cross_attn_2_to_1 = CrossAttention(query_dim=hidden_dim, context_dim=hidden_dim, dropout_rate=dropout_rate)
  198. self.classifier = PrototypeSubspace(num_classes=num_classes,
  199. subspace_dim=subspace_dim,
  200. hidden_dim=hidden_dim * 2)
  201. def forward(self, x1, x2):
  202. feat1 = self.encoder1(x1)
  203. feat2 = self.encoder2(x2)
  204. z1 = F.normalize(self.projection1(feat1), dim=-1)
  205. z2 = F.normalize(self.projection2(feat2), dim=-1)
  206. fused_feat1 = self.cross_attn_1_to_2(query=feat1, context=feat2)
  207. fused_feat2 = self.cross_attn_2_to_1(query=feat2, context=feat1)
  208. fused_intermediate = torch.cat([fused_feat1, fused_feat2], dim=-1)
  209. logits = self.classifier(fused_intermediate)
  210. return z1, z2, logits, fused_intermediate

model.py at commit b98fde4, under MIT · at the source

Overview

Authors: Yuhang Jia1, Siyu Li1, Songming Tang1, Keju Gu1,2, Shengquan Chen1,3
  1. School of Mathematical Sciences and LPMC, Nankai University, Tianjin, China
  2. College of Life Sciences, Nankai University, Tianjin, China
  3. Academy for Advanced Interdisciplinary Studies, Nankai University, Tianjin, China
Institutions: Nankai University (China)
Dates: received 11 January 2026; accepted 21 August 2026; published online 1 September 2026; in print September 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1002/advs.77524 · PMID 42681808 · PMCID PMC13534786 · OpenAlex W7205016821
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality)
Methods: Statistics, Machine learning, Smoothing, state filtering, decompositions
Keywords: cell type annotation, deep metric learning, epigenetic signatures, multi‐scale information, single‐cell DNA methylation
Topic: Epigenetics and DNA Methylation (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: National Key Research and Development Program of China (2024YFA1307703); National Natural Science Foundation of China (62473212); Fundamental Research Funds for the Central Universities (050-63253077, 050‐63253077)
Citations: not cited yet (Europe PMC); 53 references in the paper

Abstract

Single‐cell DNA methylation (scDNAm) sequencing provides unique insights into epigenetic heterogeneity and cell‐specific regulatory landscapes. However, accurate cell type annotation for scDNAm data remains challenging, as the distinct data distribution of scDNAm hinders the adaptation of annotation methods from other omics, and specialized annotation tools for scDNAm are currently lacking. Here, MethyAnno is proposed as an interpretable deep metric learning framework that leverages multi‐scale information for accurate cell type annotation of scDNAm data. Additionally, MethyAnno enables generalized category discovery in open‐set scenarios by utilizing density‐based clustering to automatically estimate the number of novel cell types, while simultaneously deciphering cell‐type‐specific epigenetic signatures for biological interpretability. Extensive experiments demonstrate that MethyAnno excels in cross‐dataset annotation and novel type discovery, showing exceptional robustness in few‐shot scenarios for rare cell types. Moreover, interpretability analysis in the human brain dataset correctly recovers the genetic link between Sst interneurons and epilepsy heritability, the association of OPC cells with Alzheimer's disease, as well as the regulatory role of Pvalb cells in synaptic plasticity. Taken together, these findings establish MethyAnno as a robust and biologically interpretable tool for accurate cell type annotation and downstream epigenetic analysis.

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 9 matches between paragraphs and lines of code.

BioX-NKU/MethyAnno

License: MIT
State: the link answers, verified on 27 October 2026
Evidence: files inventoried
Commit: b98fde428f459286e51b11a29fd8f0612d292d47, 16 August 2026
Languages: Python (20)
Size: 40 files, 20 scripts
Software Heritage: not archived
Found in: “Data Availability Statement”
Holds: README, license file, environment (setup.cfg, setup.py)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: PyTorch (16 files), anndata (14 files), NumPy (14 files), pandas (14 files), scikit-learn (10 files), SciPy (10 files), Scanpy (8 files), Matplotlib (6 files), seaborn (6 files)
Availability: 2 checks, the latest on 27 October 2026: the link answers
  • 27 October 2026: the link answers
  • 26 September 2026: the link answers
22 files

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;
  • 20 scripts, each with its path and the digest of its content;
  • 9 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

Data Availability Statement

All datasets used in this study are publicly available from the National Center for Biotechnology Information (NCBI) Gene Expression Omnibus (GEO). For the human cerebral cortex datasets, the corresponding accession number is GSE215353 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE215353). Detailed information and associated accession numbers regarding all specific brain regions used in this study are provided in Table S3. The mouse brain datasets can be derived from GSE132489 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE132489) and GSE213262 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE213262), detailed accession numbers for each subdataset are also summarized in the Table S3. Moreover, the accession number of the human adipose dataset is GSE297262 (https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?acc=GSE297262). The source codes of MethyAnno are publicly available in the GitHub repository at https://github.com/BioX‐NKU/MethyAnno (https://github.com/BioX-NKU/MethyAnno) under an MIT license. We have released MethyAnno as a python package for easy installation, and provided detailed tutorials on GitHub.

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, pages, dates, 5 authors, 5 keywords, 3 funders, 48 references.

Cite

This paper

Jia, Y., Li, S., Tang, S., Gu, K., & Chen, S. (2026). MethyAnno: An Interpretable Automated Annotation Method Leveraging Multi-Scale Information and Metric Learning Framework for scDNAm Data. Advanced science (Weinheim, Baden-Wurttemberg, Germany), e77524. https://doi.org/10.1002/advs.77524

BibTeX

@article{jia2026methyanno,
author = {Jia, Yuhang and Li, Siyu and Tang, Songming and Gu, Keju and Chen, Shengquan},
title = {{MethyAnno: An Interpretable Automated Annotation Method Leveraging Multi-Scale Information and Metric Learning Framework for scDNAm Data}},
journal = {Advanced science (Weinheim, Baden-Wurttemberg, Germany)},
year = {2026},
month = sep,
pages = {e77524},
publisher = {Wiley},
issn = {2198-3844},
doi = {10.1002/advs.77524},
url = {https://doi.org/10.1002/advs.77524},
pmid = {42681808},
pmcid = {PMC13534786}
}

RIS

TY - JOUR
AU - Jia, Yuhang
AU - Li, Siyu
AU - Tang, Songming
AU - Gu, Keju
AU - Chen, Shengquan
TI - MethyAnno: An Interpretable Automated Annotation Method Leveraging Multi-Scale Information and Metric Learning Framework for scDNAm Data
T2 - Advanced science (Weinheim, Baden-Wurttemberg, Germany)
J2 - Adv Sci (Weinh)
PY - 2026
DA - 2026/09/01
SP - e77524
SN - 2198-3844
PB - Wiley
DO - 10.1002/advs.77524
UR - https://doi.org/10.1002/advs.77524
LA - en
ER -

CSL-JSON

{
"id": "10.1002/advs.77524",
"type": "article-journal",
"title": "MethyAnno: An Interpretable Automated Annotation Method Leveraging Multi-Scale Information and Metric Learning Framework for scDNAm Data",
"container-title": "Advanced science (Weinheim, Baden-Wurttemberg, Germany)",
"author": [
{
"family": "Jia",
"given": "Yuhang"
},
{
"family": "Li",
"given": "Siyu"
},
{
"family": "Tang",
"given": "Songming"
},
{
"family": "Gu",
"given": "Keju"
},
{
"family": "Chen",
"given": "Shengquan"
}
],
"container-title-short": "Adv Sci (Weinh)",
"page": "e77524",
"DOI": "10.1002/advs.77524",
"PMID": "42681808",
"PMCID": "PMC13534786",
"ISSN": "2198-3844",
"publisher": "Wiley",
"URL": "https://doi.org/10.1002/advs.77524",
"language": "en",
"issued": {
"date-parts": [
[
2026,
9,
1
]
]
}
}

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-026-73171-4 [code]
Dissecting epigenetic heterogeneity in single-cell DNA methylomes with a unified framework.
Journal: Nature communications
In common: anndata, Scanpy, PyTorch, 6 other tools, genetics / omics, 10 references, author Shengquan Chen
[2] doi:10.1101/gr.281350.125 [code]
High-fidelity bidirectional translation between single-cell transcriptomes and DNA methylomes with scBOND.
Journal: Genome research
In common: anndata, Scanpy, PyTorch, 6 other tools, genetics / omics, 6 references
[3] doi:10.1126/science.adf5357 [code]
Single-cell DNA methylation and 3D genome architecture in the human brain.
Journal: Science (New York, N.Y.)
In common: anndata, Scanpy, seaborn, 5 other tools, NCBI GEO GSE215353, genetics / omics, 3 references
[4] doi:10.1038/s41587-024-02447-1 [code]
Droplet Hi-C enables scalable, single-cell profiling of chromatin architecture in heterogeneous tissues.
Journal: Nature biotechnology
In common: anndata, Scanpy, PyTorch, 6 other tools, genetics / omics, 6 references
[5] doi:10.1016/j.xgen.2022.100107 [code]
Single nucleus multi-omics identifies human cortical cell regulatory genome diversity.
Journal: Cell genomics
In common: anndata, Scanpy, seaborn, 5 other tools, genetics / omics, 5 references
[6] doi:10.1038/s41467-024-53971-2 [code]
scPair: Boosting single cell multimodal analysis by leveraging implicit feature selection and single cell atlases.
Journal: Nature communications
In common: anndata, Scanpy, PyTorch, 6 other tools, genetics / omics, 3 references
[7] doi:10.1038/s42003-025-08859-2 [code]
Single-cell DNA methylation analysis tool Amethyst resolves distinct non-CG methylation patterns in human astrocytes and oligodendrocytes.
Journal: Communications biology
In common: anndata, Scanpy, seaborn, 5 other tools, genetics / omics, 4 references
[8] doi:10.1016/j.xgen.2025.100879 [code]
Evaluating methods for the prediction of cell-type-specific enhancers in the mammalian cortex.
Journal: Cell genomics
In common: anndata, Scanpy, PyTorch, 6 other tools, genetics / omics, 3 references
[9] doi:10.1038/s41586-023-06805-y [code]
Single-cell DNA methylome and 3D multi-omic atlas of the adult mouse brain.
Journal: Nature
In common: anndata, Scanpy, seaborn, 5 other tools, genetics / omics, 4 references
[10] doi:10.1038/s41586-021-03500-8 [code]
A transcriptomic and epigenomic cell atlas of the mouse primary motor cortex.
Journal: Nature
In common: anndata, Scanpy, seaborn, 5 other tools, genetics / omics, 4 references

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.

Add the badge to the code's README

OSCR: the badge of this paper

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 -->
[![OSCR](https://openscicode.org/badge/doi/10.1002/advs.77524.svg)](https://openscicode.org/badge/doi/10.1002/advs.77524)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1002/advs.77524.svg
   :target: https://openscicode.org/badge/doi/10.1002/advs.77524
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1002/advs.77524"><img src="https://openscicode.org/badge/doi/10.1002/advs.77524.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.