OSCR

A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution.

Code ↔ Paper

The paper beside its authors' code: matches between them have not been computed for this paper yet.

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 · 153 lines · 7.5 KB · GPL-3.0

  1. #!/usr/bin/env python
  2. # -- coding:utf-8 --
  3. # Last-modified: 24 Jan 2020 12:19:13 PM
  4. #
  5. # Module/Scripts Description
  6. #
  7. # Copyright (c) 2020 Rowan Unversity
  8. #
  9. # This code is free software; you can redistribute it and/or modify it
  10. # under the terms of the BSD License (see the file COPYING included with
  11. # the distribution).
  12. #
  13. # @version: 2.0.0
  14. # @design: Yong Chen <[email hidden]>
  15. # @implementation: Yunfei Wang <[email hidden]>
  16. # @corresponding author: Yong Chen <[email hidden]>
  17. # ------------------------------------
  18. # python modules
  19. # ------------------------------------
  20. import os
  21. import sys
  22. import pandas
  23. import argparse
  24. import maxim
  25. # ------------------------------------
  26. # constants
  27. # ------------------------------------
  28. # ------------------------------------
  29. # Misc functions
  30. # ------------------------------------
  31. def argParser():
  32. ''' Parse arguments. '''
  33. p=argparse.ArgumentParser(description='MAXIM is a model-based analysis and pipeline of dCas9 Capture-3C-Seq data of multiplexed version. It uses multiplescale Bayesian models for the significance calling of chromatin interactions. It oprovides a versatile and flexible pipeline to analyze the dCas9 Capture-3C-Seq data V2.0 from raw sequencing reads to chromatin loops. MAXIM integrates all steps required for the data analysis, and it supports the multiplexed version that uses batchs of multiple targets (sgRNAs) in one experiments.',add_help=False,epilog='dependency numpy, scipy, pandas, pysam, statsmodels')
  34. pr = p.add_argument_group('Required')
  35. pr.add_argument("-x","--genome",dest="genome",type=str,metavar="hg38", required=True, help="Bowtie2 built genome.")
  36. pr.add_argument("-1",dest="fq1",type=str,metavar='sample_R1.fastq.gz',nargs="+",required=True,help="Read 1 fastq file. Can be gzip(.gz) or bzip2(.bz2) compressed.")
  37. pr.add_argument("-2",dest="fq2",type=str,metavar='sample_R2.fastq.gz',nargs="+",required=True,help="Read 2 fastq file. Can be gzip(.gz) or bzip2(.bz2) compressed.")
  38. pr.add_argument("--prefix",dest="prefix",type=str,metavar='prefix',required=True,help="Prefix of result files.")
  39. po = p.add_argument_group('Optional')
  40. po.add_argument("--bait",dest="bait",type=str,metavar="chr11:5305934",default="chr11:5305934",help="Bait genomic locus. [Default=\"chr11:5305934\"]")
  41. po.add_argument("--extendsize",dest="extendsize",type=int,metavar="100000",default=100000,help="Length to be extended from bait regions. [Defaut=100000]")
  42. po.add_argument("--readlen",dest="readlen",type=int,metavar="36",default=36,help="Read length. [Default=36]")
  43. po.add_argument("--seed",dest="seed",type=int,metavar="1024",default=1024,help="Seed to generate random values. [Default=1024].")
  44. po.add_argument("--smooth-window",dest="smooth_window",type=int,metavar="100",default=100,help="Smooth window for peak size inference. [Default=100].")
  45. po.add_argument("--peakstart", dest="peakstart", type=int, metavar=5305834, default=0, help="User defined peak start. Used together with '--peakend'.")
  46. po.add_argument("--peakend", dest="peakend", type=int, metavar=5306034, default=0, help="User defined peak end. Used together with '--peakend'.")
  47. po.add_argument("--nperm",dest="nperm",type=int,metavar="10000",default=10000,help="Number of permutatons. [Default=10000].")
  48. po.add_argument("-w",dest="wdir",type=str,metavar='"."',default=".",help="Working directory. [Default=\".\"].")
  49. po.add_argument("-p",dest='proc',type=int,metavar='10',default=10,help="Number of processes. [Default=10]")
  50. if len(sys.argv)==1:
  51. sys.exit(p.print_help())
  52. args = p.parse_args()
  53. return args
  54. # ------------------------------------
  55. # Classes
  56. # ------------------------------------
  57. # ------------------------------------
  58. # Main
  59. # ------------------------------------
  60. if __name__=="__main__":
  61. args = argParser()
  62. # check parameters
  63. peaksize = None
  64. if args.peakstart!=-1 and args.peakend!=-1:
  65. peaksize = args.peakend - args.peakstart
  66. maxim.Utils.touchtime("Use user defined peak size.")
  67. elif args.peakstart!=-1 or args.peakend!=-1:
  68. maxim.Utils.touchtime("ERROR: both '--peakstart' and '--peakend' should be provided.")
  69. # Mapping reads to genome
  70. if "-" in args.bait:
  71. start, end = args.bait.split(":")[1].split('-')
  72. args.bait = "{}:{}".format(args.bait.split(":")[0],round((int(start)+int(end))/2))
  73. mappingdir = args.wdir+"/010ReadMapping"
  74. fq1, fq2 = ",".join(args.fq1), ",".join(args.fq2)
  75. mappingdir = maxim.Utils.touchdir(mappingdir)
  76. # 1st round of mapping
  77. maxim.Utils.touchtime("FIRST ROUND OF MAPPING ...")
  78. maxim.Utils.touchtime("MAPPING READ 1 ...")
  79. maxim.Algorithms.bowtie2_SE(args.genome,fq1,args.prefix+"_R1",proc=args.proc,wdir=mappingdir,min_qual=30)
  80. maxim.Utils.touchtime("MAPPING READ 2 ...")
  81. maxim.Algorithms.bowtie2_SE(args.genome,fq2,args.prefix+"_R2",proc=args.proc,wdir=mappingdir,min_qual=30)
  82. maxim.Utils.touchtime()
  83. # Split the reads by GATC sites and take the larger one
  84. maxim.Utils.touchtime("Split read by GATC sites ...")
  85. maxim.Algorithms.ParseGATCSites("{0}/{1}_R1_un.fastq.gz".format(mappingdir,args.prefix),"{0}/{1}_R1_split.fastq.gz".format(mappingdir,args.prefix))
  86. maxim.Algorithms.ParseGATCSites("{0}/{1}_R2_un.fastq.gz".format(mappingdir,args.prefix),"{0}/{1}_R2_split.fastq.gz".format(mappingdir,args.prefix))
  87. maxim.Utils.touchtime()
  88. # 2nd round of mapping
  89. maxim.Utils.touchtime("SECOND ROUND OF MAPPING ...")
  90. maxim.Utils.touchtime("MAPPING READ 1 ...")
  91. maxim.Algorithms.bowtie2_SE(args.genome,"{0}/{1}_R1_split.fastq.gz".format(mappingdir,args.prefix),args.prefix+"_R1_remap",min_qual=30,proc=args.proc,wdir=mappingdir)
  92. maxim.Utils.touchtime("MAPPING READ 2 ...")
  93. maxim.Algorithms.bowtie2_SE(args.genome,"{0}/{1}_R2_split.fastq.gz".format(mappingdir,args.prefix),args.prefix+"_R2_remap",min_qual=30,proc=args.proc,wdir=mappingdir)
  94. maxim.Utils.touchtime()
  95. # Fix mate pairs
  96. maxim.Utils.touchtime("Merge bam files and fix mate pairs ...")
  97. bams = [mappingdir+args.prefix+f for f in ["_R1.bam", "_R2.bam", "_R1_remap.bam", "_R2_remap.bam"]]
  98. tbffile = maxim.Algorithms.FixMatePairs(bams,mappingdir+args.prefix,args.proc)
  99. maxim.Utils.touchtime()
  100. # Infer peak characteristics from the bait region
  101. plotdir = args.wdir+"/020Plotting"
  102. plotdir = maxim.Utils.touchdir(plotdir)
  103. maxim.Utils.touchtime("Draw bait figures ...")
  104. tbf = maxim.TabixFile(tbffile,peaksize)
  105. tbf.setChromSizes(bams[0])
  106. tbf.BaitStatsPlot(args.bait,
  107. plotdir+args.prefix+"_stats.pdf",
  108. extendsize=args.extendsize,
  109. readlen=args.readlen,
  110. smooth_window=args.smooth_window)
  111. maxim.Utils.touchtime()
  112. # Calculate intra- and inter-chrom interactions
  113. modeldir = args.wdir+"/030Model"
  114. modeldir = maxim.Utils.touchdir(modeldir)
  115. maxim.Utils.touchtime("Permutation on intra-chromosomal interactions ...")
  116. ns, ps = tbf.GetIntraChromLinks(nperm=args.nperm)
  117. #for n,p in zip(ns,ps):
  118. # print n,p
  119. maxim.Utils.touchtime("Permutation on inter-chromosomal interactions ...")
  120. n, p = tbf.GetInterChromLinks(nperm=args.nperm)
  121. #print n, p
  122. maxim.Utils.touchtime()
  123. # Calculate p values for intra- and inter-chrom interactions.
  124. maxim.Utils.touchtime("Calculate p values ...")
  125. tbf.InferBaitPval(modeldir+args.prefix)
  126. maxim.Utils.touchtime()
  127. # Ending
  128. maxim.Utils.touchtime("RunMAXIM finished successfully. Thank you for using MAXIM!")

runMAXIM.py at commit df92e8d, under GPL-3.0 · at the source

Overview

Authors: Jinhao Liu1, Zihang Yin2, Yonglin Peng3, Shuang Cui2, Bo Shi1, Xinrui Jiang1, Ziyi Yang4, Sijie Gu1, Yude Lin1, Lingfeng Xu1, Zhen Xu1, Xuankai Wang1, Tienan Chen1, Wei Zhang1, Shaojiao Wang1, Zhiwei Xiao1, Zhibo Huang1, Rujiang Zhou1, Zhengju Yao1, Xiaodong Zhao3, Ya Guo2, Shuhua Xu4, Weidong Li5, Xizhi Guo1
ORCID iDs: Zhibo Huang
  1. Bio-X Institutes, Key Laboratory for the Genetics of Developmental and Neuropsychiatric Disorders, Ministry of Education, Shanghai Jiao Tong University,Shanghai, 200240 China
  2. School of Life Sciences and Biotechnology, Shanghai Jiao Tong University,Shanghai, China
  3. Shanghai Center for Systems Biomedicine, Shanghai Jiao Tong University,Shanghai, China
  4. State Key Laboratory of Genetic Engineering, Human Phenome Institute, Zhangjiang Fudan International Innovation Center, Center for Evolutionary Biology, School of Life Sciences, Fudan University,Shanghai, China
  5. Center for Brain Health and Brain Technology, Global Institute of Future Technology, Shanghai Jiao Tong University,Shanghai, China
Institutions: Shanghai Jiao Tong University (China); Fudan University (China)
Journal: Genome biology, volume 27, issue 1, article 266
Dates: received 28 October 2025; accepted 24 April 2026; published online 4 May 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1186/s13059-026-04098-8 · PMID 42071237 · PMCID PMC13501865 · OpenAlex W7160027641
Open access: gold, a free copy (OpenAlex)
Status: code verified
Categories: human (organism), non-human primate (organism), developmental (subfield)
Methods: Connectivity, Statistics, Spectral & time-frequency
Keywords: FOXP2, LINE-1, Positive selection, Primate, Neural stem cells, Long-range chromatin interaction, Enhancer
MeSH: Cell Differentiation*, Evolution, Molecular*, Forkhead Transcription Factors*, Long Interspersed Nucleotide Elements*, Neurogenesis*, Neurons*, Animals, Chromatin, Humans, Neural Stem Cells, Pan troglodytes, Primates (* major topic)
Topic: Chromosomal and Genetic Variations (Plant Science, Agricultural and Biological Sciences), according to OpenAlex
Funding: Shanghai Science and Technology Commission Program (25JS2810100, 23JS1410100); “111” Program of Higher Education Discipline Innovation and Shanghai Municipal Science and Technology Commission's Science and Technology Action Plan on Innovation (23490712600); National Key Research and Development Program of China (2020YFA0803601); National Natural Science Foundation of China (National Science Foundation of China) (92068203, 91749103)
Citations: not cited yet (Europe PMC); 85 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.

Repository

Its files are read in the Code ↔ Paper reader above.

ChenYong-RU/MAXIM

License: GPL-3.0
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: df92e8d6cb999fea809dda3ee004079ea28cb20f, 25 February 2020
Languages: Python (4), Shell (1)
Size: 9 files, 5 scripts
Software Heritage: not archived
Found in: the text, “in situ CAPTURE 3C-seq”
Holds: README, license file, environment (setup.py)
Not found: CITATION.cff, tests, continuous integration, documentation
Tools: pandas (3 files), Matplotlib (1 file), NumPy (1 file), pysam (1 file), SAMtools (1 file), SciPy (1 file), seaborn (1 file), statsmodels (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
7 files

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;
  • 5 scripts, each with its path and the digest of its content;
  • no match between paragraphs and code yet;
  • 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.1186/s13059-026-04098-8.

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, 24 authors, 7 keywords, 12 MeSH terms, 4 funders, 81 references.

Cite

This paper

Liu, J., Yin, Z., Peng, Y., Cui, S., Shi, B., Jiang, X., Yang, Z., Gu, S., Lin, Y., Xu, L., Xu, Z., Wang, X., Chen, T., Zhang, W., Wang, S., Xiao, Z., Huang, Z., Zhou, R., Yao, Z., . . . Guo, X. (2026). A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution. Genome biology, 27(1), 266. https://doi.org/10.1186/s13059-026-04098-8

BibTeX

@article{liu2026line,
author = {Liu, Jinhao and Yin, Zihang and Peng, Yonglin and Cui, Shuang and Shi, Bo and Jiang, Xinrui and Yang, Ziyi and Gu, Sijie and Lin, Yude and Xu, Lingfeng and Xu, Zhen and Wang, Xuankai and Chen, Tienan and Zhang, Wei and Wang, Shaojiao and Xiao, Zhiwei and Huang, Zhibo and Zhou, Rujiang and Yao, Zhengju and Zhao, Xiaodong and Guo, Ya and Xu, Shuhua and Li, Weidong and Guo, Xizhi},
title = {{A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution}},
journal = {Genome biology},
year = {2026},
month = may,
volume = {27},
number = {1},
pages = {266},
publisher = {BMC},
issn = {1474-7596},
doi = {10.1186/s13059-026-04098-8},
url = {https://doi.org/10.1186/s13059-026-04098-8},
pmid = {42071237},
pmcid = {PMC13501865}
}

RIS

TY - JOUR
AU - Liu, Jinhao
AU - Yin, Zihang
AU - Peng, Yonglin
AU - Cui, Shuang
AU - Shi, Bo
AU - Jiang, Xinrui
AU - Yang, Ziyi
AU - Gu, Sijie
AU - Lin, Yude
AU - Xu, Lingfeng
AU - Xu, Zhen
AU - Wang, Xuankai
AU - Chen, Tienan
AU - Zhang, Wei
AU - Wang, Shaojiao
AU - Xiao, Zhiwei
AU - Huang, Zhibo
AU - Zhou, Rujiang
AU - Yao, Zhengju
AU - Zhao, Xiaodong
AU - Guo, Ya
AU - Xu, Shuhua
AU - Li, Weidong
AU - Guo, Xizhi
TI - A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution
T2 - Genome biology
J2 - Genome Biol
PY - 2026
DA - 2026/05/04
VL - 27
IS - 1
SP - 266
SN - 1474-7596
PB - BMC
DO - 10.1186/s13059-026-04098-8
UR - https://doi.org/10.1186/s13059-026-04098-8
LA - en
ER -

CSL-JSON

{
"id": "10.1186/s13059-026-04098-8",
"type": "article-journal",
"title": "A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution",
"container-title": "Genome biology",
"author": [
{
"family": "Liu",
"given": "Jinhao"
},
{
"family": "Yin",
"given": "Zihang"
},
{
"family": "Peng",
"given": "Yonglin"
},
{
"family": "Cui",
"given": "Shuang"
},
{
"family": "Shi",
"given": "Bo"
},
{
"family": "Jiang",
"given": "Xinrui"
},
{
"family": "Yang",
"given": "Ziyi"
},
{
"family": "Gu",
"given": "Sijie"
},
{
"family": "Lin",
"given": "Yude"
},
{
"family": "Xu",
"given": "Lingfeng"
},
{
"family": "Xu",
"given": "Zhen"
},
{
"family": "Wang",
"given": "Xuankai"
},
{
"family": "Chen",
"given": "Tienan"
},
{
"family": "Zhang",
"given": "Wei"
},
{
"family": "Wang",
"given": "Shaojiao"
},
{
"family": "Xiao",
"given": "Zhiwei"
},
{
"family": "Huang",
"given": "Zhibo"
},
{
"family": "Zhou",
"given": "Rujiang"
},
{
"family": "Yao",
"given": "Zhengju"
},
{
"family": "Zhao",
"given": "Xiaodong"
},
{
"family": "Guo",
"given": "Ya"
},
{
"family": "Xu",
"given": "Shuhua"
},
{
"family": "Li",
"given": "Weidong"
},
{
"family": "Guo",
"given": "Xizhi"
}
],
"container-title-short": "Genome Biol",
"volume": "27",
"issue": "1",
"page": "266",
"DOI": "10.1186/s13059-026-04098-8",
"PMID": "42071237",
"PMCID": "PMC13501865",
"ISSN": "1474-7596",
"publisher": "BMC",
"URL": "https://doi.org/10.1186/s13059-026-04098-8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
5,
4
]
]
}
}

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/molbev/msag140 [code]
Segmentally Duplicated Regulatory Elements Undergo Human-Specific Rewiring.
Journal: Molecular biology and evolution
In common: 10 references
[2] doi:10.1186/s13059-026-04177-w [code]
Genomic sequence evolution underlying human neocortical interareal diversification.
Journal: Genome biology
In common: pysam, SAMtools, seaborn, 4 other tools, non-human primate, 3 references
[3] doi:10.7554/elife.89001 [code]
Human-specific lncRNAs contributed critically to human evolution by distinctly regulating gene expression.
Journal: eLife
In common: pandas, SciPy, NumPy, 7 references
[4] doi:10.1038/s41467-026-75700-7 [code]
Gene regulatory innovations from transposable elements in primate cerebellum development.
Journal: Nature communications
In common: pysam, statsmodels, seaborn, 4 other tools, non-human primate, 3 references
[5] doi:10.1016/j.xhgg.2026.100629 [code]
Positive selection on brain cis-regulatory elements in the human lineage drives changes in gene expression and susceptibility to neuropsychiatric disorders.
Journal: HGG advances
In common: statsmodels, seaborn, pandas, 3 other tools, 5 references
[6] doi:10.1126/sciadv.aed2952 [code]
Activation of transposable elements is linked to a region- and cell type-specific interferon response in Parkinson's disease.
Journal: Science advances
In common: pysam, SAMtools, seaborn, 4 other tools, 2 references
[7] doi:10.1093/molbev/msag035 [code]
Mammalian mitochondrial DNA accumulates insertions and deletions with age in energetically demanding tissues.
Journal: Molecular biology and evolution
In common: SAMtools, statsmodels, seaborn, 4 other tools, non-human primate, 1 reference
[8] doi:10.1016/j.celrep.2026.117110 [code]
Single-nucleus multiome analysis in the human prefrontal cortex identifies gene expression and cis-regulatory elements associated with aging.
Journal: Cell reports
In common: pysam, SAMtools, statsmodels, 5 other tools
[9] doi:10.1038/s41592-026-03211-w [code]
Spatial isoform sequencing at single-cell resolution reveals cell-type-specific spatial isoform variability in multiple brain cell types.
Journal: Nature methods
In common: pysam, SAMtools, statsmodels, 5 other tools
[10] doi:10.1038/s41592-026-03057-2 [code]
CREsted: modeling genomic and synthetic cell-type-specific enhancers across tissues and species.
Journal: Nature methods
In common: pysam, statsmodels, seaborn, 4 other tools, 1 reference

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.