OSCR

Early and late RNA eQTL are driven by different genetic mechanisms.

Code ↔ Paper

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

One block of code here has 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 1 match · it ties a paragraph to a whole file without given lines: a weak match, whose lines are not tinted
  1. [1] § Methods › eQTL mapping ↔ 01_eQTL/02_run_PEER.R, the whole file · a weak match · score 0.73 · inverse normal, PEER factors, PC, age, death, covariates · block oscr:b:ABJGVTGMRNDRR-Q · 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

R · 77 lines · 2 KB · GPL-3.0 · 1 match

  1. library(peer)
  2. dataset = commandArgs(trailingOnly=TRUE)[1]
  3. celltype = commandArgs(trailingOnly=TRUE)[2]
  4. meta<-read.table("meta_info.n424.selected.txt",header=T,sep="\t")
  5. colnames(meta)[19]<-"RID"
  6. pcs <- read.table("pca.n424.evec")
  7. pcs <- pcs[,c(-1,-13:-23)]
  8. colnames(pcs)<-c("IID",paste0("PC",1:10))
  9. pcs <- pcs[, 1:6 ]
  10. cov<-merge(pcs,meta,by="IID")
  11. # expression data
  12. d1 <- read.csv(paste0("exp/",dataset,".",celltype,".norm_av.csv"))
  13. d1 <- d1[,-1]
  14. rownames(d1)<-d1$gene
  15. d2 <- as.matrix(d1[ ,c(-1)])
  16. cov <- cov[cov$RID %in% colnames(d2),]
  17. row.names(cov) <- as.character(cov$RID)
  18. # common sample
  19. commonsample <- intersect( cov$RID, colnames(d2) )
  20. # filtering sample and genes
  21. d2 <- d2[, commonsample] #same order of samples
  22. d2[is.na(d2)] <- 0 #missing values were set to 0
  23. exprrate <- apply(d2, 1, function(x){ length( x [ x > 0 ] ) / length(x) })
  24. d3 <- d2[ exprrate > 0.2, ]
  25. # inverse normal normalization
  26. rn<-apply(d3, 1, function(x){
  27. qnorm( (rank(x, na.last="keep") - 0.5) / sum(!is.na(x)) )
  28. })
  29. rn <- t(rn)
  30. # peer
  31. QQ <- rn
  32. model = PEER()
  33. PEER_setPhenoMean(model, as.matrix(t(QQ)) )
  34. dim(PEER_getPhenoMean(model))
  35. PEER_setAdd_mean(model, TRUE)
  36. cov2 <- cov[commonsample, ]
  37. cov2 <- cov2[,c("PC1","PC2","PC3","PC4","PC5","Study","msex","age_death","pmi")]
  38. PEER_setCovariates(model, as.matrix(cov2))
  39. K = 10
  40. PEER_setNk(model,K)
  41. PEER_getNk(model)
  42. PEER_setNmax_iterations(model,10000)
  43. # perform the inference
  44. PEER_update(model)
  45. # output
  46. residuals = PEER_getResiduals(model)
  47. colnames(residuals) <- row.names(QQ)
  48. row.names(residuals) <- colnames(QQ)
  49. out <- data.frame( ID = row.names(QQ),t(residuals))
  50. write.table(out, paste0("exp/",dataset,".",celltype,".PEER_norm.tsv"), sep = "\t", quote = F, row.names = FALSE)
  51. # when you want to get PEER factors
  52. factors = PEER_getX(model)
  53. saveRDS(factors,paste0("exp/",dataset,".",celltype,".PEER_factor.rds"))
  54. row.names(factors) <- colnames(QQ)
  55. write.table(factors, paste0("exp/",dataset,".",celltype,".PEER_factor.tsv"), sep = "\t", quote = F)

02_run_PEER.R at commit a11acf4, under GPL-3.0 · at the source

Overview

Authors: Saori Sakaue1,2,3,4, Accelerating Medicines Partnership®: RA/SLE Network, Soumya Raychaudhuri1,2,3,5
  1. Center for Data Sciences, Brigham and Women’s Hospital, Harvard Medical School,Boston, MA USA
  2. Divisions of Genetics and Rheumatology, Department of Medicine, Brigham and Women’s Hospital, Harvard Medical School,Boston, MA USA
  3. Program in Medical and Population Genetics, Broad Institute of MIT and Harvard,Cambridge, MA USA
  4. Department of Genome Sciences, University of Washington,Seattle, WA USA
  5. Department of Biomedical Informatics, Harvard Medical School,Boston, MA USA
Institutions: Brigham and Women's Hospital (United States); Broad Institute (United States); University of Washington (United States); Harvard University (United States)
Journal: Nature communications, volume 17, issue 1, article 5703
Dates: received 26 March 2025; accepted 3 April 2026; published online 25 April 2026
Type: Research article · Language: English
License: CC BY-NC-ND
Identifiers: DOI 10.1038/s41467-026-72139-8 · PMID 42034632 · PMCID PMC13319782 · OpenAlex W4408007235
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), human (organism), schizophrenia / psychosis (population), cellular / molecular (subfield)
Methods: Statistics, Smoothing, state filtering, decompositions, Connectivity, Physiology & signal measures
Keywords: Gene regulation, Genome-wide association studies, Functional genomics
MeSH: Gene Expression Regulation*, Quantitative Trait Loci*, RNA*, Animals, Brain, Humans, Kidney, Polymorphism, Single Nucleotide, Schizophrenia, Transcription, Genetic (* major topic)
Topic: RNA Research and Splicing (Molecular Biology, Biochemistry, Genetics and Molecular Biology), according to OpenAlex
Funding: National Institutes of Health (R01AR063759, U01HG012009, UC2AR081023)
Citations: not cited yet (Europe PMC); 87 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 1 match between paragraphs and lines of code.

immunogenomics/EarlyLate_RNA_eQTL

License: GPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Commit: a11acf4a2ec09b36d0d1188e36393a604be75bdd, 11 March 2026
Languages: R (7), Shell (2)
Size: 11 files, 9 scripts
Software Heritage: not archived
Found in: “Code availability”
Holds: README, license file
Not found: CITATION.cff, environment file, tests, continuous integration, documentation
Tools: data.table (5 files), tidyverse (4 files), BCFtools (1 file), BEDTools (1 file), SAMtools (1 file), Seurat (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers
  • 30 September 2026: the link answers
11 files

Zenodo 18962458

License: GPL-3.0
State: the link answers, verified on 30 September 2026
Evidence: files inventoried
Size: 1 file
Software Heritage: not checked
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: data.table (5 files), tidyverse (4 files), BCFtools (1 file), BEDTools (1 file), SAMtools (1 file), Seurat (1 file)
Availability: 1 check, the latest on 30 September 2026: the link answers (HTTP 200)
  • 30 September 2026: the link answers (HTTP 200)
11 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-72139-8.

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

No dataset and no data link were found in the paper.

Code and data availability statement

The paper has a code and 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-72139-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, 30 September 2026: the first record

Recorded: type, language, journal, volume, issue, pages, dates, 3 authors, 3 keywords, 10 MeSH terms, 1 funder, 87 references.

Cite

This paper

Sakaue, S., Accelerating Medicines Partnership®: RA/SLE Network, & Raychaudhuri, S. (2026). Early and late RNA eQTL are driven by different genetic mechanisms. Nature communications, 17(1), 5703. https://doi.org/10.1038/s41467-026-72139-8

BibTeX

@article{sakaue2026early,
author = {Sakaue, Saori and {Accelerating Medicines Partnership®: RA/SLE Network} and Raychaudhuri, Soumya},
title = {{Early and late RNA eQTL are driven by different genetic mechanisms}},
journal = {Nature communications},
year = {2026},
month = apr,
volume = {17},
number = {1},
pages = {5703},
publisher = {Nature Publishing Group},
issn = {2041-1723},
doi = {10.1038/s41467-026-72139-8},
url = {https://doi.org/10.1038/s41467-026-72139-8},
pmid = {42034632},
pmcid = {PMC13319782}
}

RIS

TY - JOUR
AU - Sakaue, Saori
AU - Accelerating Medicines Partnership®: RA/SLE Network
AU - Raychaudhuri, Soumya
TI - Early and late RNA eQTL are driven by different genetic mechanisms
T2 - Nature communications
J2 - Nat Commun
PY - 2026
DA - 2026/04/25
VL - 17
IS - 1
SP - 5703
SN - 2041-1723
PB - Nature Publishing Group
DO - 10.1038/s41467-026-72139-8
UR - https://doi.org/10.1038/s41467-026-72139-8
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41467-026-72139-8",
"type": "article-journal",
"title": "Early and late RNA eQTL are driven by different genetic mechanisms",
"container-title": "Nature communications",
"author": [
{
"family": "Sakaue",
"given": "Saori"
},
{
"literal": "Accelerating Medicines Partnership®: RA/SLE Network"
},
{
"family": "Raychaudhuri",
"given": "Soumya"
}
],
"container-title-short": "Nat Commun",
"volume": "17",
"issue": "1",
"page": "5703",
"DOI": "10.1038/s41467-026-72139-8",
"PMID": "42034632",
"PMCID": "PMC13319782",
"ISSN": "2041-1723",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41467-026-72139-8",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
25
]
]
}
}

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/hmg/ddab294 [code]
Fine-mapping of Parkinson's disease susceptibility loci identifies putative causal variants.
Journal: Human molecular genetics
In common: BCFtools, data.table, tidyverse, genetics / omics, cellular / molecular, 11 references
[2] doi:10.1038/s41588-022-01154-4 [code]
Genetic control of RNA splicing and its distinct role in complex trait variation.
Journal: Nature genetics
In common: BCFtools, BEDTools, SAMtools, 2 other tools, genetics / omics, cellular / molecular, 6 references
[3] doi:10.1016/j.xgen.2024.100605 [code]
Crosstalk between epitranscriptomic and epigenomic modifications and its implication in human diseases.
Journal: Cell genomics
In common: BEDTools, data.table, tidyverse, genetics / omics, 8 references
[4] doi:10.1038/s41467-024-52463-7 [code]
A cell type-aware framework for nominating non-coding variants in Mendelian regulatory disorders.
Journal: Nature communications
In common: BCFtools, BEDTools, SAMtools, 3 other tools, genetics / omics, cellular / molecular, 4 references
[5] doi:10.1038/s41467-025-59306-z [code]
scMultiMap: Cell-type-specific mapping of enhancers and target genes from single-cell multimodal data.
Journal: Nature communications
In common: BEDTools, Seurat, data.table, 1 other tool, genetics / omics, cellular / molecular, 6 references
[6] doi:10.1038/s41467-023-36311-8
Alternative polyadenylation transcriptome-wide association study identifies APA-linked susceptibility genes in brain disorders.
Journal: Nature communications
In common: genetics / omics, cellular / molecular, 10 references
[7] doi:10.1038/s41467-025-57751-4 [code]
Cross-ancestry genome-wide association study identifies implications of SORL1 in cerebral beta-amyloid deposition.
Journal: Nature communications
In common: BCFtools, BEDTools, SAMtools, 3 other tools, genetics / omics, cellular / molecular, 3 references
[8] doi:10.1016/j.ajhg.2023.12.018 [code]
Cell-type deconvolution of bulk-blood RNA-seq reveals biological insights into neuropsychiatric disorders.
Journal: American journal of human genetics
In common: BCFtools, SAMtools, data.table, 1 other tool, genetics / omics, cellular / molecular, 5 references
[9] doi:10.1038/s41588-023-01300-6 [code]
Brain expression quantitative trait locus and network analyses reveal downstream effects and putative drivers for brain-related diseases.
Journal: Nature genetics
In common: SAMtools, Seurat, data.table, 1 other tool, genetics / omics, cellular / molecular, 6 references
[10] doi:10.1073/pnas.2303647120 [code]
Quantifying common and distinct information in single-cell multimodal data with Tilted Canonical Correlation Analysis.
Journal: Proceedings of the National Academy of Sciences of the United States of America
In common: BEDTools, SAMtools, Seurat, 2 other tools, genetics / omics, cellular / molecular, 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.1038/s41467-026-72139-8.svg)](https://openscicode.org/badge/doi/10.1038/s41467-026-72139-8)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41467-026-72139-8.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41467-026-72139-8
   :alt: OSCR

.. oscr-badge:end
HTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1038/s41467-026-72139-8"><img src="https://openscicode.org/badge/doi/10.1038/s41467-026-72139-8.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.