OSCR

Multi-platform profiling reveals host- and cell -type-specific pseudorabies virus gene expression.

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; OSCR does not store it: doi.org · Europe PMC

The paper is loaded when this pane is shown.

The authors' code

R · 162 lines · 5.9 KB · MIT

  1. cover_dt_weighted <- function(dt,
  2. weight_col = NULL,
  3. by = c("seqnames", "strand", "sample"),
  4. return = c("rle", "pos"),
  5. nworkers = 1L,
  6. # zero-fill options
  7. include_zero = FALSE,
  8. contigs_dt = NULL,
  9. contig_seq_col = "seqnames",
  10. contig_start_col = "start",
  11. contig_end_col = "end") {
  12. stopifnot(all(c("seqnames","strand","start","end","sample") %in% names(dt)))
  13. return <- match.arg(return)
  14. setDT(dt)
  15. # Coerce to ints & numeric weight
  16. dt[, `:=`(start = as.integer(start), end = as.integer(end))]
  17. if (!is.null(weight_col)) {
  18. stopifnot(weight_col %in% names(dt))
  19. set(dt, j = weight_col, value = as.numeric(dt[[weight_col]]))
  20. }
  21. if (is.null(weight_col)) {
  22. dt[, `__w__` := 1.0]
  23. on.exit(dt[, `__w__` := NULL], add = TRUE)
  24. weight_col <- "__w__"
  25. }
  26. # Drop 0 / NA / non-finite weights early
  27. dt <- dt[is.finite(get(weight_col)) & get(weight_col) != 0]
  28. # Safe +1 with overflow guard
  29. add1 <- function(x) {
  30. y <- x + 1L
  31. y[is.na(x)] <- NA_integer_
  32. y[ y < x ] <- .Machine$integer.max
  33. y
  34. }
  35. make_runs <- function(x, bycols, wcol) {
  36. # Weighted events per group: +w at start, -w at end+1
  37. ev <- x[, {
  38. w <- get(wcol)
  39. .(pos = c(start, add1(end)),
  40. delta = c(w, -w))
  41. }, by = bycols]
  42. # Combine same-position events
  43. ev <- ev[, .(delta = sum(delta)), by = c(bycols, "pos")]
  44. # Order by group columns and position
  45. do.call(setorder, c(list(ev), as.list(c(bycols, "pos"))))
  46. # Weighted coverage via cumsum of deltas per group
  47. ev[, cov := cumsum(delta), by = bycols]
  48. ev[, next_pos := shift(pos, type = "lead"), by = bycols]
  49. runs <- ev[!is.na(next_pos) & cov > 0,
  50. .(start = pos, end = next_pos - 1L, count = cov),
  51. by = bycols]
  52. runs[]
  53. }
  54. # Compute positive-coverage runs
  55. if (nrow(dt) == 0L) {
  56. runs <- data.table(matrix(ncol = length(by) + 3L, nrow = 0L))
  57. setnames(runs, c(by, "start", "end", "count"))
  58. } else if (nworkers > 1L) {
  59. requireNamespace("future.apply", quietly = TRUE)
  60. requireNamespace("future", quietly = TRUE)
  61. split_dt <- split(dt, by = by, drop = TRUE, keep.by = TRUE)
  62. oplan <- NULL
  63. if (!inherits(future::plan(), "multiprocess")) {
  64. oplan <- future::plan(future::multisession, workers = nworkers)
  65. on.exit({ if (!is.null(oplan)) future::plan(oplan) }, add = TRUE)
  66. }
  67. parts <- future.apply::future_lapply(
  68. split_dt, make_runs, bycols = by, wcol = weight_col, future.seed = TRUE
  69. )
  70. runs <- rbindlist(parts, use.names = TRUE)
  71. } else {
  72. runs <- make_runs(dt, by, weight_col)
  73. }
  74. # === Zero-fill RLE based on contig spans ===
  75. if (isTRUE(include_zero)) {
  76. stopifnot(!is.null(contigs_dt),
  77. all(c(contig_seq_col, contig_start_col, contig_end_col) %in% names(contigs_dt)))
  78. g0 <- unique(as.data.table(contigs_dt)[,
  79. .(seqnames = get(contig_seq_col),
  80. g_start = as.integer(get(contig_start_col)),
  81. g_end = as.integer(get(contig_end_col)))
  82. ])
  83. # Expand contigs across any missing by-columns using dt's uniques
  84. comb_list <- list(seqnames = unique(g0$seqnames))
  85. for (col in setdiff(by, "seqnames")) {
  86. if (col %in% names(contigs_dt)) comb_list[[col]] <- unique(contigs_dt[[col]])
  87. else comb_list[[col]] <- unique(dt[[col]])
  88. }
  89. comb <- do.call(CJ, c(comb_list, list(unique = TRUE)))
  90. contigs_exp <- g0[comb, on = "seqnames", nomatch = 0L]
  91. # Groups with no positive runs -> full-length zero run
  92. runs_keys <- unique(runs[, ..by])
  93. missing_groups <- contigs_exp[!runs_keys, on = by]
  94. zero_missing <- if (nrow(missing_groups)) {
  95. missing_groups[, .(start = g_start, end = g_end, count = 0.0), by = by]
  96. } else data.table(matrix(ncol = length(by) + 3L, nrow = 0L))
  97. if (nrow(zero_missing)) setnames(zero_missing, c(by, "start", "end", "count"))
  98. # For groups with positives, add leading/trailing and between-run zeros
  99. if (nrow(runs)) {
  100. runs2 <- contigs_exp[runs, on = by]
  101. # g_start/g_end now available per group
  102. zeros_between <- runs2[, {
  103. sd <- copy(.SD)
  104. setorder(sd, start, end)
  105. gs <- g_start[1L]; ge <- g_end[1L]
  106. out <- vector("list", 3L)
  107. k <- 0L
  108. if (nrow(sd) && sd$start[1L] > gs) { k <- k + 1L; out[[k]] <- data.table(start = gs, end = sd$start[1L] - 1L, count = 0.0) }
  109. if (nrow(sd) > 1L) {
  110. gaps_s <- sd$end[-.N] + 1L
  111. gaps_e <- sd$start[-1L] - 1L
  112. sel <- gaps_s <= gaps_e
  113. if (any(sel)) { k <- k + 1L; out[[k]] <- data.table(start = gaps_s[sel], end = gaps_e[sel], count = 0.0) }
  114. }
  115. if (nrow(sd) && sd$end[.N] < ge) { k <- k + 1L; out[[k]] <- data.table(start = sd$end[.N] + 1L, end = ge, count = 0.0) }
  116. if (k) rbindlist(out[1:k]) else data.table(start = integer(), end = integer(), count = numeric())
  117. }, by = by]
  118. runs <- rbindlist(list(runs, zeros_between, zero_missing), use.names = TRUE, fill = TRUE)
  119. } else {
  120. runs <- zero_missing
  121. }
  122. if (nrow(runs)) do.call(setorder, c(list(runs), as.list(c(by, "start", "end"))))
  123. }
  124. #
  125. runs <- runs[, .(seqnames, strand, sample, start, end, count)]
  126. #
  127. if (return == "rle") {
  128. setcolorder(runs, c(by, setdiff(names(runs), by)))
  129. return(runs[])
  130. }
  131. # Per-position expansion (row-wise, length-safe). This will also include zeros if include_zero=TRUE.
  132. runs[, {
  133. pos_list <- Map(seq.int, start, end)
  134. .(pos = unlist(pos_list, use.names = FALSE),
  135. count = rep.int(count, lengths(pos_list)))
  136. }, by = by]
  137. }

ExDT2cov.R at commit aeb8421, under MIT · at the source

Overview

Authors: Balázs Kakuk1, Zsolt Csabai1, Zoltán Deim2, Gábor Torma1, Ádám Fülöp1, Gergely Ármin Nagy1, Virág Éva Dani1, Dóra Tombácz1, Zsolt Boldogkői1
  1. Department of Medical Biology, Albert Szent-Györgyi Medical School, University of Szeged, Szeged, Hungary
  2. Department of Physiology, Anatomy and Neuroscience, Faculty of Science and Informatics, University of Szeged, 6726 Szeged, Hungary
Institutions: University of Szeged (Hungary)
Journal: Scientific reports, volume 16, issue 1, article 15297
Dates: received 17 December 2025; accepted 23 March 2026; published online 1 April 2026
Type: Research article · Language: English
License: CC BY
Identifiers: DOI 10.1038/s41598-026-45990-4 · PMID 41922589 · PMCID PMC13181115 · OpenAlex W7147096085
Open access: gold, a free copy (OpenAlex)
Status: code verified (how the code is found and verified)
Categories: genetics / omics (modality), rat (organism), other condition (population), cellular / molecular (subfield)
Methods: Statistics
Keywords: Computational biology and bioinformatics, Genetics, Molecular biology
MeSH: Gene Expression Profiling*, Gene Expression Regulation, Viral*, Herpesvirus 1, Suid*, Host-Pathogen Interactions*, Pseudorabies*, Animals, Cell Line, Rats, Swine, Viral Proteins (* major topic)
Topic: Herpesvirus Infections and Treatments (Infectious Diseases, Medicine), according to OpenAlex
Funding: University of Szeged
Citations: not cited yet (Europe PMC); 56 references in the paper

Abstract

Pseudorabies virus (PRV) is an alphaherpesvirus that follows a conserved immediate-early → early → late transcriptional cascade, yet how this program adapts to diverse cell types is unclear. We profiled PRV transcription in four permissive cell lines—two epithelial (porcine kidney PK-15 and rat kidney NRK), one glial (rat glioma C6), and one neuron-like (rat PC-12)—at six time points (1–12 h post-infection). Host-dependent differences peaked early in infection, particularly for the regulators ie180, ep0, and us1. ie180 showed strong species bias, with high expression in PK-15 but minimal in rodent lines, whereas ep0 and us1 varied quantitatively by cell type, with C6 and PC-12 showing marked early us1 activation. Combining long-read direct cDNA and direct RNA sequencing with 5′-capped CAGE-seq resolved viral transcription boundaries and identified 94 previously unannotated transcripts, including 5′ UTR isoforms, polygenic RNAs, and noncoding transcripts. Differential transcript usage analysis revealed extensive isoform remodeling across conditions, with late infection showing shifts from long or polygenic isoforms toward shorter forms. Together, these results provide the first multi-host, isoform-resolved temporal atlas of PRV transcription and show that the canonical cascade is conserved yet quantitatively tuned by host species and cell-type background.

Supplementary Information: The online version contains supplementary material available at 10.1038/s41598-026-45990-4.

Reproduced under the paper's license (CC BY), from the paper cited above.

Repositories

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

Balays/Rlyeh

License: MIT
State: the link answers, verified on 28 September 2026
Evidence: files inventoried
Commit: aeb8421bc29070fa130d6266c927d7e1c5df64c6, 7 February 2026
Languages: R (42), Shell (1)
Size: 49 files, 43 scripts
Software Heritage: not archived
Found in: the text, “Downstream bioinformatics analysis”
Holds: license file, 1 notebook
Not found: README, CITATION.cff, environment file, tests, continuous integration, documentation
Tools: data.table (18 files), tidyverse (12 files), cowplot (2 files), ggplot2 (1 file), igraph (1 file), SAMtools (1 file)
Availability: 1 check, the latest on 28 September 2026: the link answers
  • 28 September 2026: the link answers
44 files

Balays/VALAR-PRV-MDBIO-4cell

License: none: the authors keep all their rights
State: the link is dead, verified on 28 September 2026
Evidence: found in the paper
Software Heritage: not archived
Found in: “Code availability”
Not found: README, license file, CITATION.cff, environment file, tests, continuous integration, documentation
Availability: 1 check, the latest on 28 September 2026: the link is dead
  • 28 September 2026: the link is dead

Code availability

All R scripts that were used for the downstream analysis are available at the GitHub repository: https://github.com/Balays/VALAR-PRV-MDBIO-4cell

Reproduced under the paper's license (CC BY), from the paper cited above.

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;
  • 43 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

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

Data availability

The fastq files from all sequencing were uploaded to European Nucleotide Archive (ENA), under the project id PRJEB60055.

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

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

Cite

This paper

Kakuk, B., Csabai, Z., Deim, Z., Torma, G., Fülöp, Á., Nagy, G. Á., Dani, V. É., Tombácz, D., & Boldogkői, Z. (2026). Multi-platform profiling reveals host- and cell -type-specific pseudorabies virus gene expression. Scientific reports, 16(1), 15297. https://doi.org/10.1038/s41598-026-45990-4

BibTeX

@article{kakuk2026multi,
author = {Kakuk, Balázs and Csabai, Zsolt and Deim, Zoltán and Torma, Gábor and Fülöp, Ádám and Nagy, Gergely Ármin and Dani, Virág Éva and Tombácz, Dóra and Boldogkői, Zsolt},
title = {{Multi-platform profiling reveals host- and cell -type-specific pseudorabies virus gene expression}},
journal = {Scientific reports},
year = {2026},
month = apr,
volume = {16},
number = {1},
pages = {15297},
publisher = {Nature Publishing Group},
issn = {2045-2322},
doi = {10.1038/s41598-026-45990-4},
url = {https://doi.org/10.1038/s41598-026-45990-4},
pmid = {41922589},
pmcid = {PMC13181115}
}

RIS

TY - JOUR
AU - Kakuk, Balázs
AU - Csabai, Zsolt
AU - Deim, Zoltán
AU - Torma, Gábor
AU - Fülöp, Ádám
AU - Nagy, Gergely Ármin
AU - Dani, Virág Éva
AU - Tombácz, Dóra
AU - Boldogkői, Zsolt
TI - Multi-platform profiling reveals host- and cell -type-specific pseudorabies virus gene expression
T2 - Scientific reports
J2 - Sci Rep
PY - 2026
DA - 2026/04/01
VL - 16
IS - 1
SP - 15297
SN - 2045-2322
PB - Nature Publishing Group
DO - 10.1038/s41598-026-45990-4
UR - https://doi.org/10.1038/s41598-026-45990-4
LA - en
ER -

CSL-JSON

{
"id": "10.1038/s41598-026-45990-4",
"type": "article-journal",
"title": "Multi-platform profiling reveals host- and cell -type-specific pseudorabies virus gene expression",
"container-title": "Scientific reports",
"author": [
{
"family": "Kakuk",
"given": "Balázs"
},
{
"family": "Csabai",
"given": "Zsolt"
},
{
"family": "Deim",
"given": "Zoltán"
},
{
"family": "Torma",
"given": "Gábor"
},
{
"family": "Fülöp",
"given": "Ádám"
},
{
"family": "Nagy",
"given": "Gergely Ármin"
},
{
"family": "Dani",
"given": "Virág Éva"
},
{
"family": "Tombácz",
"given": "Dóra"
},
{
"family": "Boldogkői",
"given": "Zsolt"
}
],
"container-title-short": "Sci Rep",
"volume": "16",
"issue": "1",
"page": "15297",
"DOI": "10.1038/s41598-026-45990-4",
"PMID": "41922589",
"PMCID": "PMC13181115",
"ISSN": "2045-2322",
"publisher": "Nature Publishing Group",
"URL": "https://doi.org/10.1038/s41598-026-45990-4",
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
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.1016/j.xgen.2025.101101 [code]
Transcript-guided targeted cell enrichment for scalable single-nucleus RNA sequencing.
Journal: Cell genomics
In common: SAMtools, igraph, cowplot, 3 other tools, genetics / omics, cellular / molecular, 2 references
[2] doi:10.1016/j.xgen.2025.101079 [code]
Incomplete lineage sorting of segmental duplications defines the human chromosome 2 fusion site early during African great ape speciation.
Journal: Cell genomics
In common: SAMtools, igraph, cowplot, 3 other tools, cellular / molecular, 2 references
[3] doi:10.1038/s41467-025-65712-0 [code]
Multimodal single cell analyses reveal gene networks of planarian stem cell differentiation.
Journal: Nature communications
In common: SAMtools, igraph, cowplot, 3 other tools, genetics / omics, cellular / molecular, 2 references
[4] doi:10.1371/journal.pone.0266405 [code]
Analysis of modular gene co-expression networks reveals molecular pathways underlying Alzheimer's disease and progressive supranuclear palsy.
Journal: PloS one
In common: SAMtools, igraph, cowplot, 3 other tools, cellular / molecular, 1 reference
[5] doi:10.1038/s41467-024-47945-7 [code]
A human neural crest model reveals the developmental impact of neuroblastoma-associated chromosomal aberrations.
Journal: Nature communications
In common: SAMtools, igraph, cowplot, 3 other tools, genetics / omics, other condition, 1 reference
[6] doi:10.1038/s41467-024-49608-z [code]
A multiomic atlas of the aging hippocampus reveals molecular changes in response to environmental enrichment.
Journal: Nature communications
In common: SAMtools, cowplot, data.table, 2 other tools, genetics / omics, cellular / molecular, 2 references
[7] doi:10.1038/s41467-025-58293-5 [code]
Alternative splicing across the C. elegans nervous system.
Journal: Nature communications
In common: SAMtools, igraph, cowplot, 2 other tools, genetics / omics, cellular / molecular, 2 references
[8] doi:10.1038/s41467-026-70382-7 [code]
Identification of cis-regulatory elements provides insights into tissue-specific gene regulation in the sheep genome.
Journal: Nature communications
In common: SAMtools, cowplot, data.table, 2 other tools, genetics / omics, cellular / molecular, 2 references
[9] doi:10.1093/bioinformatics/btae549 [code]
Scywalker: scalable end-to-end data analysis workflow for long-read single-cell transcriptome sequencing.
Journal: Bioinformatics (Oxford, England)
In common: SAMtools, ggplot2, tidyverse, genetics / omics, 3 references
[10] doi:10.1038/s41593-024-01636-0 [code]
Analysis of gene expression in the postmortem brain of neurotypical Black Americans reveals contributions of genetic ancestry.
Journal: Nature neuroscience
In common: SAMtools, igraph, data.table, 2 other tools, genetics / omics, cellular / molecular, 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.

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/s41598-026-45990-4.svg)](https://openscicode.org/badge/doi/10.1038/s41598-026-45990-4)
<!-- oscr-badge:end -->
reStructuredText
.. oscr-badge:start

.. image:: https://openscicode.org/badge/doi/10.1038/s41598-026-45990-4.svg
   :target: https://openscicode.org/badge/doi/10.1038/s41598-026-45990-4
   :alt: OSCR

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