A LINE-1 insertion upstream of FOXP2 promotes neuronal differentiation during primate evolution.
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
- #!/usr/bin/env python
- # -- coding:utf-8 --
- # Last-modified: 24 Jan 2020 12:19:13 PM
- #
- # Module/Scripts Description
- #
- # Copyright (c) 2020 Rowan Unversity
- #
- # This code is free software; you can redistribute it and/or modify it
- # under the terms of the BSD License (see the file COPYING included with
- # the distribution).
- #
- # @version: 2.0.0
- # @design: Yong Chen <[email hidden]>
- # @implementation: Yunfei Wang <[email hidden]>
- # @corresponding author: Yong Chen <[email hidden]>
- # ------------------------------------
- # python modules
- # ------------------------------------
- import os
- import sys
- import pandas
- import argparse
- import maxim
- # ------------------------------------
- # constants
- # ------------------------------------
- # ------------------------------------
- # Misc functions
- # ------------------------------------
- def argParser():
- ''' Parse arguments. '''
- 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')
- pr = p.add_argument_group('Required')
- pr.add_argument("-x","--genome",dest="genome",type=str,metavar="hg38", required=True, help="Bowtie2 built genome.")
- 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.")
- 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.")
- pr.add_argument("--prefix",dest="prefix",type=str,metavar='prefix',required=True,help="Prefix of result files.")
- po = p.add_argument_group('Optional')
- po.add_argument("--bait",dest="bait",type=str,metavar="chr11:5305934",default="chr11:5305934",help="Bait genomic locus. [Default=\"chr11:5305934\"]")
- po.add_argument("--extendsize",dest="extendsize",type=int,metavar="100000",default=100000,help="Length to be extended from bait regions. [Defaut=100000]")
- po.add_argument("--readlen",dest="readlen",type=int,metavar="36",default=36,help="Read length. [Default=36]")
- po.add_argument("--seed",dest="seed",type=int,metavar="1024",default=1024,help="Seed to generate random values. [Default=1024].")
- po.add_argument("--smooth-window",dest="smooth_window",type=int,metavar="100",default=100,help="Smooth window for peak size inference. [Default=100].")
- po.add_argument("--peakstart", dest="peakstart", type=int, metavar=5305834, default=0, help="User defined peak start. Used together with '--peakend'.")
- po.add_argument("--peakend", dest="peakend", type=int, metavar=5306034, default=0, help="User defined peak end. Used together with '--peakend'.")
- po.add_argument("--nperm",dest="nperm",type=int,metavar="10000",default=10000,help="Number of permutatons. [Default=10000].")
- po.add_argument("-w",dest="wdir",type=str,metavar='"."',default=".",help="Working directory. [Default=\".\"].")
- po.add_argument("-p",dest='proc',type=int,metavar='10',default=10,help="Number of processes. [Default=10]")
- if len(sys.argv)==1:
- sys.exit(p.print_help())
- args = p.parse_args()
- return args
- # ------------------------------------
- # Classes
- # ------------------------------------
- # ------------------------------------
- # Main
- # ------------------------------------
- if __name__=="__main__":
- args = argParser()
- # check parameters
- peaksize = None
- if args.peakstart!=-1 and args.peakend!=-1:
- peaksize = args.peakend - args.peakstart
- maxim.Utils.touchtime("Use user defined peak size.")
- elif args.peakstart!=-1 or args.peakend!=-1:
- maxim.Utils.touchtime("ERROR: both '--peakstart' and '--peakend' should be provided.")
- # Mapping reads to genome
- if "-" in args.bait:
- start, end = args.bait.split(":")[1].split('-')
- args.bait = "{}:{}".format(args.bait.split(":")[0],round((int(start)+int(end))/2))
- mappingdir = args.wdir+"/010ReadMapping"
- fq1, fq2 = ",".join(args.fq1), ",".join(args.fq2)
- mappingdir = maxim.Utils.touchdir(mappingdir)
- # 1st round of mapping
- maxim.Utils.touchtime("FIRST ROUND OF MAPPING ...")
- maxim.Utils.touchtime("MAPPING READ 1 ...")
- maxim.Algorithms.bowtie2_SE(args.genome,fq1,args.prefix+"_R1",proc=args.proc,wdir=mappingdir,min_qual=30)
- maxim.Utils.touchtime("MAPPING READ 2 ...")
- maxim.Algorithms.bowtie2_SE(args.genome,fq2,args.prefix+"_R2",proc=args.proc,wdir=mappingdir,min_qual=30)
- maxim.Utils.touchtime()
- # Split the reads by GATC sites and take the larger one
- maxim.Utils.touchtime("Split read by GATC sites ...")
- maxim.Algorithms.ParseGATCSites("{0}/{1}_R1_un.fastq.gz".format(mappingdir,args.prefix),"{0}/{1}_R1_split.fastq.gz".format(mappingdir,args.prefix))
- maxim.Algorithms.ParseGATCSites("{0}/{1}_R2_un.fastq.gz".format(mappingdir,args.prefix),"{0}/{1}_R2_split.fastq.gz".format(mappingdir,args.prefix))
- maxim.Utils.touchtime()
- # 2nd round of mapping
- maxim.Utils.touchtime("SECOND ROUND OF MAPPING ...")
- maxim.Utils.touchtime("MAPPING READ 1 ...")
- 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)
- maxim.Utils.touchtime("MAPPING READ 2 ...")
- 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)
- maxim.Utils.touchtime()
- # Fix mate pairs
- maxim.Utils.touchtime("Merge bam files and fix mate pairs ...")
- bams = [mappingdir+args.prefix+f for f in ["_R1.bam", "_R2.bam", "_R1_remap.bam", "_R2_remap.bam"]]
- tbffile = maxim.Algorithms.FixMatePairs(bams,mappingdir+args.prefix,args.proc)
- maxim.Utils.touchtime()
- # Infer peak characteristics from the bait region
- plotdir = args.wdir+"/020Plotting"
- plotdir = maxim.Utils.touchdir(plotdir)
- maxim.Utils.touchtime("Draw bait figures ...")
- tbf = maxim.TabixFile(tbffile,peaksize)
- tbf.setChromSizes(bams[0])
- tbf.BaitStatsPlot(args.bait,
- plotdir+args.prefix+"_stats.pdf",
- extendsize=args.extendsize,
- readlen=args.readlen,
- smooth_window=args.smooth_window)
- maxim.Utils.touchtime()
- # Calculate intra- and inter-chrom interactions
- modeldir = args.wdir+"/030Model"
- modeldir = maxim.Utils.touchdir(modeldir)
- maxim.Utils.touchtime("Permutation on intra-chromosomal interactions ...")
- ns, ps = tbf.GetIntraChromLinks(nperm=args.nperm)
- #for n,p in zip(ns,ps):
- # print n,p
- maxim.Utils.touchtime("Permutation on inter-chromosomal interactions ...")
- n, p = tbf.GetInterChromLinks(nperm=args.nperm)
- #print n, p
- maxim.Utils.touchtime()
- # Calculate p values for intra- and inter-chrom interactions.
- maxim.Utils.touchtime("Calculate p values ...")
- tbf.InferBaitPval(modeldir+args.prefix)
- maxim.Utils.touchtime()
- # Ending
- maxim.Utils.touchtime("RunMAXIM finished successfully. Thank you for using MAXIM!")
runMAXIM.py at commit df92e8d, under GPL-3.0 · at the source
Overview
- Bio-X Institutes, Key Laboratory for the Genetics of Developmental and Neuropsychiatric Disorders, Ministry of Education, Shanghai Jiao Tong University,Shanghai, 200240 China
- School of Life Sciences and Biotechnology, Shanghai Jiao Tong University,Shanghai, China
- Shanghai Center for Systems Biomedicine, Shanghai Jiao Tong University,Shanghai, China
- 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
- Center for Brain Health and Brain Technology, Global Institute of Future Technology, Shanghai Jiao Tong University,Shanghai, China
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
df92e8d6cb999fea809dda3ee004079ea28cb20f, 25 February 2020Availability: 1 check, the latest on 28 September 2026: the link answers
- 28 September 2026: the link answers
7 files
- bin/
runMAXIM.py , Python, 153 lines - bin/
runMAXIM2.py , Python, 151 lines - install.sh, Shell, 57 lines
- setup.py, Python, 92 lines
- src/
__init__.py , Python, 878 lines - LICENSE, License, 674 lines
- README.rst, Text, 100 lines
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
- biostudies:S-BIAD3275, at BioStudies; found in “Data availability”
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:
- it points to a dataset: BioStudies S-BIAD3275
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://
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/
url = {https://
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/
VL - 27
IS - 1
SP - 266
SN - 1474-7596
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"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":
"volume": "27",
"issue": "1",
"page": "266",
"DOI": "10.1186/
"PMID": "42071237",
"PMCID": "PMC13501865",
"ISSN": "1474-7596",
"publisher": "BMC",
"URL": "https://
"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 evolutionIn common: 10 references
- [2] doi:10.1186/s13059-026-04177-w [code]
- Genomic sequence evolution underlying human neocortical interareal diversification.Journal: Genome biologyIn 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: eLifeIn 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 communicationsIn 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 advancesIn 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 advancesIn 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 evolutionIn 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 reportsIn 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 methodsIn 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 methodsIn 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.
Claim this paper
Correct its record
Say what each link of this record is, remove the ones that are not the paper's, add the ones that are missing. The correction becomes a new version of the record, in its Versions section.
Validate its tracing map
You validate the map as this page shows it: 1 repository of the authors' code, each at its verified commit and with its license, 5 scripts, and 0 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:622557cefa3bd310…
Add the badge to its README
The badge links the code to this page. Copy one of these into the README of the paper's code: only you decide where it goes, and nothing is changed for you.
Markdown
[, paste the snippet at the top, then “Commit changes…” and, to review it first, “Create a new branch and start a pull request”. You open the pull request; OSCR asks for no permission.
Request its removal
To ask OSCR to remove this record, the copies of its authors' scripts or its tracing map, use the removal request page: signed in, you say who you are, what to remove and why, then review and confirm the request. Published rules decide every request (how).
Discussion, reproductions, activity
Discussion: questions and error reports about this paper and its code, from signed-in readers and its authors. It opens with sign-in.
Reproductions: reports from readers who ran the authors' code: what they reproduced, with which environment, commit and data. It opens with sign-in.
Activity: what happens around this paper: new versions of its record, its map's validation, discussions and reproductions. It opens with sign-in.
