OSCR

CellLoop: Identifying single-cell 3D genome chromatin loops.

Code ↔ Paper

7 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.

The 7 matches
  1. [1] § Results › Performance evaluation of CellLoop via loop frequency map (LFmap) ↔ CellLoop.py, lines 180–257 · score 0.68 · frequency map, LFmap, single cell loop, loop calling, aggregating, contact
  2. [2] § Results › Overview of CellLoop algorithm ↔ CellLoop.py, lines 180–257 · score 0.58 · LFmap, Frequency Map, contact maps, Chromatin Loop Frequency, aggregated, scloops
  3. [3] § Methods › UMAP visualization and clustering of single cells ↔ plot/plot_units.py, lines 350–405 · score 0.58 · Leiden clustering, genes expressed, UMAP, PCA, log
  4. [4] § Methods › UMAP visualization and clustering of single cells ↔ src/GAGE-seq_preprocess.py, lines 96–152 · score 0.55 · RNA seq, Scanpy, SVD, UMAP, Leiden, filtered
  5. [5] § Methods › The enrichment analysis of ChIP-seq peak on chromatin loops ↔ src/plot_paper.py, lines 83–134 · score 0.54 · plot_surface, seq peaks
  6. [6] § Methods › UMAP visualization and clustering of single cells ↔ plot/plot_units.py, lines 350–405 · score 0.50 · Leiden clustering, Scanpy, UMAP, filtered
  7. [7] § Methods › Identification of single-cell chromatin loops ↔ src/sc_interactions.py, lines 963–1081 · score 0.50 · Node2Vec, walk, network, graph, embedding, neighboring

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 · 380 lines · 18 KB · no license · 2 matches

  1. # -*- coding: utf-8 -*-
  2. """
  3. Created on Wed Jul 6 14:32:26 2022
  4. @author: user
  5. """
  6. #!/usr/bin/env python3
  7. # -*- coding: utf-8 -*-
  8. import os
  9. #########################Initial parameters##############################################
  10. ###please write the directory where CellLoop package is located#####
  11. #main_dir='/home/dell/Desktop/CellLoop_test/CellLoop'
  12. main_dir='/mnt/nas/Projects/Project18/Codes/CellLoop_Install/CellLoop'
  13. os.chdir(main_dir)
  14. ######select the data type and bin resolution you want to analyze######
  15. DATASET='Dip-C'
  16. #DATASET='HiRES'
  17. #DATASET='GAGE-seq'
  18. BINSIZE=100e3
  19. if BINSIZE<=10e3:
  20. MAXDIST=5000000
  21. #knn_cell_num=50
  22. else:
  23. MAXDIST=10000000
  24. #knn_cell_num=50
  25. #default parameter to cut-off for removing short-range reads
  26. KNN_CELL_NUM=50
  27. LOW_CUTOFF=1e3
  28. if DATASET=='Dip-C':
  29. GENOME='mm10'
  30. #dataset dir
  31. INDIR="/mnt/nas/Datasets/2020_Dip-C/GSE162511"##
  32. FILE_SUFFIX=".contacts.pairs.txt.gz"
  33. MINCONCNUM=250000
  34. CHR_COLUMNS=[1,3]
  35. POS_COLUMNS=[2,4]
  36. FEATURE='higashi_embed'
  37. OUTDIR=INDIR+'_'+str(int(BINSIZE//1000))+'kb'+'_knn='+str(KNN_CELL_NUM)
  38. elif DATASET=='HiRES':
  39. GENOME='mm10'
  40. INDIR="/mnt/nas/Datasets/2023_Science/GSE223917"
  41. FILE_SUFFIX=".pairs.gz"
  42. MINCONCNUM=250000
  43. CHR_COLUMNS=[1,3]
  44. POS_COLUMNS=[2,4]
  45. FEATURE='RNA_embed'
  46. OUTDIR=INDIR+'_'+str(int(BINSIZE//1000))+'kb'+'_knn='+str(KNN_CELL_NUM)
  47. elif DATASET=='GAGE-seq':
  48. GENOME='mm10'
  49. INDIR="/mnt/data/Datasets/GAGE-seq/SingleCells"
  50. FILE_SUFFIX=".pairs"
  51. MINCONCNUM=200000
  52. CHR_COLUMNS=[0,2]
  53. POS_COLUMNS=[1,3]
  54. FEATURE='RNA_embed'
  55. OUTDIR=INDIR+'_'+str(int(BINSIZE//1000))+'kb'+'_knn='+str(KNN_CELL_NUM)
  56. if GENOME=='hg19':
  57. CHR_LEN=main_dir+'/ext/hg19.chrom.sizes'
  58. FILTER_FILE=main_dir+'/ext/hg19_filter_regions.txt'
  59. elif GENOME=='mm10':
  60. CHR_LEN=main_dir+'/ext/mm10.chrom.sizes'
  61. FILTER_FILE=main_dir+'/ext/mm10_filter_regions.txt'
  62. elif GENOME=='hg38':
  63. CHR_LEN='main_dir+/ext/hg38.chrom.sizes.txt'
  64. FILTER_FILE=main_dir+'/ext/hg38_filter_regions.txt'
  65. ###################################################################################
  66. import argparse
  67. import src.logger
  68. #import time
  69. from src.bin_reads import bin_sets
  70. import pandas as pd
  71. #from src.RepresentLearning_95 import get_rl_for_all_95
  72. #from src.sc_compartments import read_sc_compartment
  73. #from src.sc_tadboundaries import sctad_boundary
  74. from src.sc_interactions import scloops
  75. #from visual_show import visual_show
  76. #from src.commonorspecific_boundaries import comorspebound
  77. #from src.commonorspecific_loops import comorspeloops
  78. from src.sample_aggr_cells import get_aggr_cells
  79. #from src.Computing_contactprob import con_prob_dis
  80. from src.Aggrloops import aggreloops
  81. #from src.clustercells_loops import clustercells
  82. #from src.aggremaps_visualanalyzing import aggremaps,aggreloops_cluster,aggr_bulkmaps,aggr_bulkloops
  83. #from src.statistic_analysis_loops import statistic_analysis_loops
  84. import multiprocessing
  85. import scanpy as sc
  86. #import pandas as pd
  87. #########################################################################################
  88. def main():
  89. #__spec__ = "ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>)"
  90. parser = create_parser()
  91. args = parser.parse_args()
  92. chrom_dict = parse_chrom_lengths(args.chrom, args.chr_lens, args.genome, args.max_chrom_number)
  93. parallel_mode, rank, n_proc, parallel_properties = determine_parallelization_options(args.parallel, args.threaded, args.num_proc)
  94. if rank == 0 and not os.path.exists(args.outdir):
  95. os.makedirs(args.outdir)
  96. if parallel_mode == "parallel":
  97. parallel_properties['comm'].Barrier()
  98. threaded = True if parallel_mode == "threaded" else False
  99. logger = src.logger.Logger(f'{args.outdir}/scloops.log', rank = rank, verbose_threshold = args.verbose, threaded = threaded)
  100. ###############################################################################################
  101. #step 1; binning
  102. bin_dir = os.path.join(args.outdir, "binned")
  103. if 'bin' in args.steps:
  104. logger.write('starting the binning step')
  105. logger.flush()
  106. if parallel_mode == 'nonparallel':
  107. #indir=args.indir; suffix=args.suffix; binsize = args.binsize; outdir = bin_dir;
  108. #chr_columns = args.chr_columns; pos_columns = args.pos_columns;
  109. #low_cutoff = args.low_cutoff; mincontactnum=args.mincontactnum;dataset=args.dataset;n_proc = n_proc;rank = rank;logger = logger
  110. bin_sets(args.indir, args.suffix, binsize = args.binsize, outdir = bin_dir, \
  111. chr_columns = args.chr_columns, pos_columns = args.pos_columns, \
  112. low_cutoff = args.low_cutoff, mincontactnum=args.mincontactnum,dataset=args.dataset,n_proc = n_proc, rank = rank, logger = logger)
  113. elif parallel_mode == 'threaded':
  114. params = [(args.indir, args.suffix, args.binsize, bin_dir, args.chr_columns, args.pos_columns,\
  115. args.low_cutoff,args.mincontactnum,args.dataset,n_proc,i,logger) for i in range(n_proc)]
  116. with multiprocessing.Pool(n_proc) as pool:
  117. pool.starmap(bin_sets, params)
  118. logger.write("binning completed")
  119. logger.flush()
  120. ################### you can get using filelist ##########################
  121. filenames=os.listdir(bin_dir)
  122. filenames.sort()
  123. #for filelist
  124. f=open(args.indir+'/filelist.txt','w')
  125. for line in filenames:
  126. print(line)
  127. f.write(line.rstrip('.bedpe')+'\n')
  128. f.close()
  129. ####################################################################################################
  130. #step 1.1 #choose feature compute knn graph of single cells
  131. ####################################################################################################
  132. #indir=args.indir
  133. feature=args.feature
  134. if feature=='higashi_embed':
  135. feature_dir=main_dir+'/Dataset/'+DATASET+'/CellFeatures/'+feature
  136. filenames=os.listdir(bin_dir)
  137. filenames.sort()
  138. #for filelist
  139. f=open(feature_dir+'/filelist.txt','w')
  140. for line in filenames:
  141. print(line)
  142. f.write(line.rstrip('.bedpe')+'\n')
  143. f.close()
  144. elif feature=='RNA_embed':
  145. feature_dir=main_dir+'/Dataset/'+DATASET+'/CellFeatures/'+feature
  146. adata_rna=sc.read(feature_dir+'/adata_rna.h5ad')
  147. filelist_dir=args.indir+'/filelist.txt'
  148. filenames=pd.read_csv(filelist_dir, index_col=None,header=None,sep='\t')
  149. # filenames=os.listdir(bin_dir)
  150. # filenames.sort()
  151. adata_rna.obs_names=adata_rna.obs['cell']
  152. #adata_rna=adata_rna[[cellname in filenames for cellname in adata_rna.obs_names],:]
  153. filenames=filenames[[cellname in adata_rna.obs_names for cellname in filenames[0].values]]
  154. adata_rna=adata_rna[filenames[0].values.tolist(),:]
  155. # sc.pp.neighbors(adata_rna, n_neighbors=15, n_pcs=20)
  156. # sc.tl.umap(adata_rna)
  157. # sc.tl.leiden(adata_rna)
  158. # sc.pl.umap(adata_rna,color=['n_genes','leiden'], palette='tab20',size=10,wspace=1,hspace=0.1)
  159. adata_rna.write(feature_dir+'/adata_rna.h5ad')
  160. #for filelist
  161. f=open(feature_dir+'/filelist.txt','w')
  162. for line in filenames[0]:
  163. print(line)
  164. f.write(line.rstrip('.bedpe')+'\n')
  165. f.close()
  166. #############################################################################################
  167. #### step 2. Generating the enhanced contact map of the single cells#########################
  168. # sampling and getting aggregated cells
  169. #choose feature compute knn graph of single cells
  170. SampleAggrCell_dir=os.path.join(args.outdir,'sampleaggrcell_dir')
  171. knn_cell_num=args.knn_cell_num
  172. #k=20
  173. if 'sampleaggrcell' in args.steps:
  174. logger.write('starting the sampling aggragated cells step')
  175. logger.flush()
  176. #if parallel_mode == 'nonparallel':
  177. #bin_dir=bin_dir;outdir=SampleAggrCell_dir;feature_dir=feature_dir;feature=feature;chrom_lens=chrom_dict;
  178. #n_proc=n_proc;rank=rank;binsize=args.binsize;k=knn_cell_num;
  179. get_aggr_cells(bin_dir=bin_dir,outdir=SampleAggrCell_dir,feature_dir=feature_dir,feature=feature,chrom_lens=chrom_dict,\
  180. n_proc=n_proc, rank=rank,binsize=args.binsize,k=knn_cell_num)
  181. # bin_sets(args.indir, args.suffix, binsize = args.binsize, outdir = bin_dir, \
  182. # chr_columns = args.chr_columns, pos_columns = args.pos_columns, \
  183. # low_cutoff = args.low_cutoff, n_proc = n_proc, rank = rank, logger = logger)
  184. # elif parallel_mode == 'threaded':
  185. # params = [(bin_dir,SampleAggrCell_dir,feature_dir,feature,chrom_dict,n_proc,i,\
  186. # args.binsize,knn_cell_num) for i in range(n_proc)]
  187. # with multiprocessing.Pool(n_proc) as pool:
  188. # pool.starmap(get_aggr_cells, params)
  189. logger.write("binning completed")
  190. logger.flush()
  191. ### Step 3 Calling chromatin loops of single cells################################################################
  192. scloops_dir=os.path.join(args.outdir,'scloops_new')
  193. # temp_keys={'chr2','chr13'}
  194. # chrom_dict={key:chrom_dict[key] for key in chrom_dict.keys() & temp_keys }
  195. alpha=1
  196. scloops_outdir=os.path.join(scloops_dir+'_'+feature,'alpha='+str(alpha))
  197. # scloops_dir+'_'+feature+'_alpha='+str(alpha)
  198. if 'scloops' in args.steps:
  199. indir=SampleAggrCell_dir+'_'+feature
  200. logger.write('starting the chromatin loops calling')
  201. logger.flush()
  202. if parallel_mode=="nonparallel":
  203. #chrom_lens = chrom_dict;outdir = scloops_outdir;indir = indir
  204. #binsize = args.binsize;dist = args.dist
  205. #neighborhood_limit_lower = args.local_lower_limit; neighborhood_limit_upper = args.local_upper_limit
  206. #rank = rank; n_proc = n_proc; max_mem = args.max_memory; logger = logger
  207. scloops(indir = indir, outdir = scloops_outdir, chrom_lens = chrom_dict, \
  208. binsize = args.binsize, dist = args.dist, \
  209. neighborhood_limit_lower = args.local_lower_limit, \
  210. neighborhood_limit_upper = args.local_upper_limit,alpha=alpha,\
  211. rank = rank, n_proc = n_proc, max_mem = args.max_memory, logger = logger)
  212. elif parallel_mode == 'threaded':
  213. params = [(indir, scloops_outdir, chrom_dict, \
  214. args.binsize,args.dist,args.local_lower_limit,args.local_upper_limit,alpha,\
  215. i,n_proc, args.max_memory,logger) for i in range(n_proc)]
  216. with multiprocessing.Pool(n_proc) as pool:
  217. pool.starmap(scloops, params)
  218. logger.write("calling completed")
  219. logger.flush()
  220. #############################################################################################
  221. ##### Step 4. Generating chromatin loop frequency map(LFmap)##############################################################
  222. aggreloops_dir=os.path.join(args.outdir,'aggreloops','alpha='+str(alpha))
  223. if 'aggreloops' in args.steps:
  224. logger.write('starting aggregated loops')
  225. logger.flush()
  226. if parallel_mode=="nonparallel":
  227. #indir = scloops_outdir; outdir = aggreloops_dir;chrom_lens = chrom_dict;
  228. #binsize = args.binsize;dist = args.dist
  229. #rank = rank; n_proc = n_proc; max_mem = args.max_memory; logger = logger
  230. aggreloops(indir = scloops_outdir,outdir = aggreloops_dir,\
  231. chrom_lens = chrom_dict, binsize = args.binsize,
  232. rank = rank, n_proc = n_proc, logger = logger)
  233. elif parallel_mode == 'threaded':
  234. params = [(scloops_outdir, aggreloops_dir, chrom_dict, \
  235. args.binsize,\
  236. i,n_proc,logger) for i in range(n_proc)]
  237. with multiprocessing.Pool(n_proc) as pool:
  238. pool.starmap(aggreloops, params)
  239. logger.write("aggregating completed")
  240. logger.flush()
  241. def parse_chrom_lengths(chrom, chrom_lens_filename, genome, max_chrom_number):
  242. if not max_chrom_number or max_chrom_number == -1:
  243. if not chrom or chrom == "None":
  244. chrom_count = 22 if genome.startswith('hg') else 19 if genome.startswith("mm") else None
  245. if not chrom_count:
  246. raise("Genome name is not recognized. Use --max-chrom-number")
  247. chrom = ['chr' + str(i) for i in range(1, chrom_count + 1)]
  248. else:
  249. chrom = [c.strip() for c in chrom.split()]
  250. else:
  251. chrom = ['chr' + str(i) for i in range(1, max_chrom_number + 1)]
  252. with open(chrom_lens_filename) as infile:
  253. lines = infile.readlines()
  254. chrom_lens = {line.split()[0]: int(line.split()[1]) for line in lines if line.split()[0] in chrom}
  255. return chrom_lens
  256. def determine_parallelization_options(parallel, threaded, n_proc):
  257. if parallel and threaded:
  258. raise "Only one of 'parallel' or 'threaded' flags can be set. \
  259. If using a job scheduling system on a cluster with multiple machines, use parallel.\
  260. If using a single machine with multiple CPUs, use threaded"
  261. else:
  262. if parallel:
  263. #print('it;s parallel')
  264. from mpi4py import MPI
  265. comm = MPI.COMM_WORLD
  266. n_proc = comm.Get_size()
  267. rank = comm.Get_rank()
  268. #print('n proc is', n_proc)
  269. #print('rank is', rank)
  270. mode = 'parallel'
  271. properties = {'comm': comm}
  272. elif threaded:
  273. import multiprocessing
  274. if n_proc < 1:
  275. raise Exception('if threaded flag is set, n should be a positive integer')
  276. n_proc = n_proc
  277. mode = 'threaded'
  278. rank = 0
  279. properties = {}
  280. else:
  281. mode = 'nonparallel'
  282. n_proc = 1
  283. rank = 0
  284. properties = {}
  285. return mode, rank, n_proc, properties
  286. def create_parser():
  287. parser = argparse.ArgumentParser()
  288. ################################# Required parameters
  289. parser.add_argument('-i', '--indir', action = 'store', required =False, \
  290. help = 'input directory',default=INDIR)
  291. parser.add_argument('-s', '--suffix', required = False, \
  292. help = 'suffix of the input files', default=FILE_SUFFIX)
  293. parser.add_argument('-o', '--outdir', action = 'store', \
  294. required = False, help = 'output directory', default=OUTDIR)
  295. parser.add_argument('-c', '--chr-columns', action = 'store', nargs = 2, \
  296. type = int, help = 'two integer column numbers for chromosomes', required = False, default = CHR_COLUMNS)
  297. parser.add_argument('-p', '--pos-columns', action = 'store', nargs = 2, \
  298. type = int, help = 'two integer column numbers for read positions', required = False, default = POS_COLUMNS)
  299. parser.add_argument('-l', '--chr-lens', action = 'store', \
  300. help = 'path to the chromosome lengths file', required = False,\
  301. default=CHR_LEN)
  302. parser.add_argument('-g', '--genome', action = 'store', help = 'genome name; hgxx or mmxx', \
  303. required = False, default = "hg19")
  304. parser.add_argument('--dist', type = int, help = 'distance from diagonal to consider', \
  305. default =MAXDIST, required = False)
  306. parser.add_argument('--mincontactnum', type = int, help = 'minimum contact number for single cells', \
  307. default =MINCONCNUM, required = False)
  308. parser.add_argument('--dataset', action = 'store', help = 'choose dataset', \
  309. default = DATASET, required = False)
  310. parser.add_argument('--knn-cell-num', action = 'store', help = 'maximum neighboring cell number', \
  311. default =KNN_CELL_NUM, required = False)
  312. parser.add_argument('--feature', action = 'store', help = 'choose feature', \
  313. default = FEATURE, required = False)
  314. parser.add_argument('--binsize', type = int, help = 'bin size used for binning the reads', \
  315. required = False, default = BINSIZE)
  316. parser.add_argument('--low-cutoff', type = int, help = 'cut-off for removing short-range reads', \
  317. default = LOW_CUTOFF, required = False)
  318. ################################## optional parameters
  319. parser.add_argument('--parallel', action = 'store_true', default = False, \
  320. help = 'if set, will attempt to run in parallel mode', required = False)
  321. parser.add_argument('--threaded', action = 'store_true', default =True, \
  322. help = 'if set, will attempt to use multiprocessing on single machine', required = False)
  323. parser.add_argument('-n', '--num-proc', help = 'number of processes used in threaded mode',
  324. required = False, default = 10, type = int)
  325. parser.add_argument('--local-lower-limit', default = 2, type = int, required = False, \
  326. help = 'number of bins around center (in each direction) to exlude from neighborhood')
  327. parser.add_argument('--local-upper-limit', default = 5, type = int, required = False, \
  328. help = 'number of bins around center (in each direction) forming the neighborhood')
  329. parser.add_argument('--filter-file', default=FILTER_FILE, required = False, \
  330. help = "bed file of regions to be filtered.")
  331. parser.add_argument('--max-memory', default = 8, type = float, required = False, \
  332. help = 'memory available in GB, that will be used in constructing dense matrices')
  333. parser.add_argument('--verbose', type = int, required = False, default = 0,
  334. help = 'integer between 0 and 3 (inclusive), 0 for the least amount to print to log file')
  335. parser.add_argument('--steps', nargs = "*", default = ['bin','sampleaggrcell','scloops','aggreloops'] , \
  336. required = False, help = 'steps to run. Default is all steps.')
  337. parser.add_argument('--chrom', action = 'store', help = 'chromosome to process', \
  338. required = False, default = None)
  339. parser.add_argument('--max-chrom-number', action = "store", required = False, type = int, \
  340. help = "biggest chromosome number to consider in genome, for example 22 for hg", default = -1)
  341. return parser
  342. if __name__ == "__main__":
  343. main()
  344. #passa

CellLoop.py at commit 87e49ce, no license · at the source

Overview

Authors: Yusen Ye1, Yiheng Wang1, Shiji Liu1, Yuxuan Hu1, Liang Yu1, Weibing Wang1, Shihua Zhang2,3,4, Hebing Chen5, Lin Gao1
  1. School of Computer Science and Technology, Xidian University,Xi’an, Shaanxi China
  2. NCMIS, CEMS, RCSDS, Academy of Mathematics and Systems Science, Chinese Academy of Sciences,Beijing, China
  3. School of Mathematical Sciences, University of Chinese Academy of Sciences,Beijing, China
  4. Key Laboratory of Systems Health Science of Zhejiang Province, School of Life Science, Hangzhou Institute for Advanced Study, University of Chinese Academy of Sciences, Chinese Academy of Sciences,Hangzhou, China
  5. Academy of Military Medical Sciences,Beijing, China
Journal: Nature communications, volume 17, issue 1, article 4904
Dates: received 30 June 2025; accepted 19 March 2026; published online 6 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-71406-y · PMID 41942438 · PMCID PMC13230548 · OpenAlex W4409537027
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: mouse (organism), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Connectivity, Machine learning
Keywords: Data mining, Genomics, Genome informatics
MeSH: Chromatin*, Genome*, Single-Cell Analysis*, Animals, Brain, Mice (* major topic)
Topic: Single-cell and spatial transcriptomics (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: National Natural Science Foundation of China (National Science Foundation of China) (62573335, 62002277, 62422318, 62132015, 62350087, 62550005)
Citations: cited by 1 paper (Europe PMC); 46 references in the paper

Abstract

The abstract is not reproduced here: the paper's license (CC BY-NC-ND) does not allow it. Read it in the paper, at the publisher or on Europe PMC.

Repositories

Its files are read in the Code ↔ Paper reader above, with 7 matches between paragraphs and lines of code.

YusenYe/CellLoop

License: none: the authors keep all their rights
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Commit: 87e49cefe2bbbab98e5ace6fad552dc7b4a1b5ee, 30 December 2025
Languages: Python (11)
Size: 40 files, 11 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, environment (requirements.txt)
Not found: license file, CITATION.cff, tests, continuous integration, documentation
Tools: pandas (9 files), NumPy (6 files), Scanpy (6 files), SciPy (5 files), Matplotlib (3 files), seaborn (2 files), NetworkX (1 file), scikit-image (1 file), scikit-learn (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers
  • 29 September 2026: the link answers
12 files

Zenodo 18784293

License: CC-BY-4.0
State: the link answers, verified on 29 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: the references
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: pandas (9 files), NumPy (6 files), Scanpy (6 files), SciPy (5 files), Matplotlib (3 files), seaborn (2 files), NetworkX (1 file), scikit-image (1 file), scikit-learn (1 file)
Availability: 1 check, the latest on 29 September 2026: the link answers (HTTP 200)
  • 29 September 2026: the link answers (HTTP 200)
12 files
At the source:

Code availability statement

The paper has a code availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-71406-y.

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:

  • 2 repositories of the authors' code, each at its verified commit, with its license and how the link was found in the paper;
  • 22 scripts, each with its path and the digest of its content;
  • 7 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

The paper has a data availability statement. Its license (CC BY-NC-ND) does not allow reproducing it here; in short, from what the harvester recognized in it:

Read it in the paper: doi.org/10.1038/s41467-026-71406-y.

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, 29 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 9 authors, 3 keywords, 6 MeSH terms, 1 funder, 45 references.

Cite

This paper

Ye, Y., Wang, Y., Liu, S., Hu, Y., Yu, L., Wang, W., Zhang, S., Chen, H., & Gao, L. (2026). CellLoop: Identifying single-cell 3D genome chromatin loops. Nature communications, 17(1), 4904. https://doi.org/10.1038/s41467-026-71406-y

BibTeX

@article{ye2026cellloop,
author = {Ye, Yusen and Wang, Yiheng and Liu, Shiji and Hu, Yuxuan and Yu, Liang and Wang, Weibing and Zhang, Shihua and Chen, Hebing and Gao, Lin},
title = {{CellLoop: Identifying single-cell 3D genome chromatin loops}},
journal = {Nature communications},
year = {2026},
month = apr,
volume = {17},
number = {1},
pages = {4904},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-71406-y},
url = {https://doi.org/10.1038/s41467-026-71406-y},
pmid = {41942438},
pmcid = {PMC13230548}
}

RIS

TY - JOUR
AU - Ye, Yusen
AU - Wang, Yiheng
AU - Liu, Shiji
AU - Hu, Yuxuan
AU - Yu, Liang
AU - Wang, Weibing
AU - Zhang, Shihua
AU - Chen, Hebing
AU - Gao, Lin
TI - CellLoop: Identifying single-cell 3D genome chromatin loops
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/04/06
VL - 17
IS - 1
SP - 4904
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-71406-y
UR - https://doi.org/10.1038/s41467-026-71406-y
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-71406-y",
"type": "article-journal",
"title": "CellLoop: Identifying single-cell 3D genome chromatin loops",
"container-title": "Nature communications",
"author": [
{
"family": "Ye",
"given": "Yusen"
},
{
"family": "Wang",
"given": "Yiheng"
},
{
"family": "Liu",
"given": "Shiji"
},
{
"family": "Hu",
"given": "Yuxuan"
},
{
"family": "Yu",
"given": "Liang"
},
{
"family": "Wang",
"given": "Weibing"
},
{
"family": "Zhang",
"given": "Shihua"
},
{
"family": "Chen",
"given": "Hebing"
},
{
"family": "Gao",
"given": "Lin"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "4904",
"DOI": "10.1038/s41467-026-71406-y",
"PMID": "41942438",
"PMCID": "PMC13230548",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-71406-y",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
6
]
]
}
}

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.1093/bib/bbag096 [code]
scDIAGRAM: detecting chromatin compartments from individual single-cell Hi-C matrix without imputation or reference features.
Journal: Briefings in bioinformatics
In common: seaborn, scikit-learn, pandas, 3 other tools, mouse, 11 references
[2] doi:10.1093/nar/gkag706 [code]
scDifformer: diffusion-based post-training for virtual cell modeling across large-scale single-cell data.
Journal: Nucleic acids research
In common: Scanpy, NetworkX, scikit-image, 6 other tools, 3 references
[3] doi:10.1038/s41467-026-71759-4 [code]
CellNiche represents cellular microenvironments in atlas-scale spatial omics data with contrastive learning.
Journal: Nature communications
In common: Scanpy, NetworkX, seaborn, 5 other tools, mouse, cellular / molecular, 2 references
[4] doi:10.1186/s12859-026-06490-4 [code]
Tissueformer: extending single-cell foundation models to predict population-level phenotypes.
Journal: BMC bioinformatics
In common: seaborn, scikit-learn, pandas, 3 other tools, mouse, cellular / molecular, 4 references
[5] doi:10.1016/j.xcrm.2026.102766 [code]
A longitudinal single-cell and spatial multiomic atlas of pediatric high-grade glioma.
Journal: Cell reports. Medicine
In common: Scanpy, NetworkX, scikit-image, 6 other tools, cellular / molecular, 1 reference
[6] doi:10.1038/s41467-026-68596-w [code]
Spatial cartography of human thymus enables the geopositioning of lineage transcription factors in rare mimetic thymic epithelial cells.
Journal: Nature communications
In common: Scanpy, NetworkX, scikit-image, 6 other tools, cellular / molecular, 1 reference
[7] doi:10.1016/j.stemcr.2026.103015 [code]
Brain injury reactivates a developmental program driving genesis and integration of transient LGE-class interneurons.
Journal: Stem cell reports
In common: Scanpy, NetworkX, seaborn, 5 other tools, mouse, 2 references
[8] doi:10.21203/rs.3.rs-9676637/v1 [code]
A Comprehensive Benchmarking of Spatial Deconvolution and Domain Detection Methods across Diverse Tissues and Spatial Transcriptomic Technologies
Journal: Research Square (preprint)
In common: Scanpy, scikit-image, seaborn, 5 other tools, 2 references
[9] doi:10.1038/s41592-026-03194-8 [code]
Beyond benchmarking: an expert-guided consensus approach to spatially aware clustering.
Journal: Nature methods
In common: Scanpy, seaborn, scikit-learn, 4 other tools, 3 references
[10] doi:10.1002/advs.77003 [code]
SemanticST: A Scalable Multi-Contextual Graph Learning Framework for Uncovering Spatial Niches and Robust Multi-Sample Integration in Spatial Transcriptomics.
Journal: Advanced science (Weinheim, Baden-Wurttemberg, Germany)
In common: Scanpy, scikit-image, seaborn, 5 other tools, 2 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.

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.