Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases.
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 · 91 lines · 3.6 KB · no license
- #' @title Calculate p-values from a set of observed test statistics and
- #' simulated null test statistics
- #'
- #' @description Calculates p-values from a set of observed test statistics and
- #' simulated null test statistics
- #'
- #' @param stat A vector of calculated test statistics.
- #' @param stat0 A vector or matrix of simulated or data-resampled null test
- #' statistics.
- #' @param pool If FALSE, stat0 must be a matrix with the number of rows equal to
- #' the length of \code{stat}. Default is TRUE.
- #'
- #' @details The argument \code{stat} must be such that the larger the value is
- #' the more deviated (i.e., "more extreme") from the null hypothesis it is.
- #' Examples include an F-statistic or the absolute value of a t-statistic. The
- #' argument \code{stat0} should be calculated analogously on data that
- #' represents observations from the null hypothesis distribution. The p-values
- #' are calculated as the proportion of values from \code{stat0} that are
- #' greater than or equal to that from \code{stat}. If \code{pool=TRUE} is
- #' selected, then all of \code{stat0} is used in calculating the p-value for a
- #' given entry of \code{stat}. If \code{pool=FALSE}, then it is assumed that
- #' \code{stat0} is a matrix, where \code{stat0[i,]} is used to calculate the
- #' p-value for \code{stat[i]}. The function \code{empPvals} calculates
- #' "pooled" p-values faster than using a for-loop.
- #'
- #' See page 18 of the Supporting Information in Storey et al. (2005) PNAS
- #' (\url{http://www.pnas.org/content/suppl/2005/08/26/0504609102.DC1/04609SuppAppendix.pdf})
- #' for an explanation as to why calculating p-values from pooled empirical
- #' null statistics and then estimating FDR on these p-values is equivalent to
- #' directly thresholding the test statistics themselves and utilizing an
- #' analogous FDR estimator.
- #'
- #' @return A vector of p-values calculated as described above.
- #'
- #' @references Storey JD and Tibshirani R. (2003) Statistical significance for
- #' genome-wide experiments. Proceedings of the National Academy of Sciences,
- #' 100: 9440-9445. \cr \url{http://www.pnas.org/content/100/16/9440.full}
- #'
- #' Storey JD, Xiao W, Leek JT, Tompkins RG, Davis RW. (2005) Significance
- #' analysis of time course microarray experiments. Proceedings of the
- #' National Academy of Sciences, 102 (36), 12837-12842. \cr
- #' \url{http://www.pnas.org/content/102/36/12837.full.pdf?with-ds=yes}
- #'
- #' @examples
- #' # import data
- #' data(hedenfalk)
- #' stat <- hedenfalk$stat
- #' stat0 <- hedenfalk$stat0 #vector from null distribution
- #'
- #' # calculate p-values
- #' p.pooled <- empPvals(stat=stat, stat0=stat0)
- #' p.testspecific <- empPvals(stat=stat, stat0=stat0, pool=FALSE)
- #'
- #' # compare pooled to test-specific p-values
- #' qqplot(p.pooled, p.testspecific); abline(0,1)
- #'
- #' @author John D. Storey
- #' @seealso \code{\link{qvalue}}
- #' @aliases empPvals
- #' @keywords pvalues
- #' @export
- empPvals <- function(stat, stat0, pool = TRUE) {
- m <- length(stat)
- n <- ncol(stat0)
- # Calculates p-values
- if (pool == TRUE) {
- if (is.matrix(stat0)) {
- stat0 <- as.vector(stat0)
- }
- m0 <- length(stat0)
- v <- c(rep(TRUE, m), rep(FALSE, m0))
- v <- v[order(c(stat, stat0), decreasing = TRUE)]
- u <- 1:length(v)
- w <- 1:m
- p <- (u[v == TRUE] - w) / m0
- p <- p[rank(-stat)]
- p <- pmax(p, 1/m0)
- } else {
- if (is.vector(stat0)) {
- stop("stat0 must be a matrix.")
- } else if (n == m) {
- stat0 <- t(stat0)
- } else if (nrow(stat0) != m){
- stop("Number of rows of stat0 must equal length of stat.")
- }
- stat0 <- (stat0 - stat) >= 0
- p <- rowMeans(stat0)
- p <- pmax(p, 1 / ncol(stat0))
- }
- return(p)
- }
empPvals.R at commit e861423, no license · at the source
Overview
- Biotechnology Institute of Guizhou Province, Guiyang, Guizhou China
- Guizhou Key Laboratory of Agricultural Biotechnology, Guiyang, Guizhou China
- Ministry of Agriculture and Rural Affairs Key Laboratory of Crop Genetic Resources and Germplasm Innovation in Karst Region, Guiyang, Guizhou China
- Guizhou Zhikang Biotechnology Company, Guizhou, China
- Anshun Branch of Guizhou Tobacco Company, Anshun, Guizhou 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.
StoreyLab/qvalue
e8614232f05dd3db0951fafe3b2a33b8284b2aff, 1 September 2023Availability: 2 checks, the latest on 3 November 2026: the link answers
- 3 November 2026: the link answers
- 29 September 2026: the link answers
12 files
- R/
empPvals.R , R, 91 lines - R/
hedenfalk.R , R, 55 lines - R/
hist_qvalue.R , R, 88 lines - R/
lfdr.R , R, 97 lines - R/
multiplot.R , R, 47 lines - R/
pi0est.R , R, 144 lines - R/
plot_qvalue.R , R, 149 lines - R/
qvalue.R , R, 143 lines - R/
qvalue_trunc.R , R, 59 lines - R/
summary_qvalue.R , R, 77 lines - R/
write_qvalue.R , R, 52 lines - README.md, Text, 94 lines
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:
- no repository, dataset or request procedure was recognized in it
Read it in the paper: doi.org/10.1186/s12864-026-12863-z.
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;
- 11 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
- figshare:30000730, at figshare; 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: figshare 30000730
Read it in the paper: doi.org/10.1186/s12864-026-12863-z.
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, 11 authors, 6 keywords, 8 MeSH terms, 3 funders, 106 references.
Cite
This paper
Guo, C., Yin, W., Zhang, Z., Deng, R., Pan, S., Zhang, H., Cen, H., Zhang, Q., Dai, F., Li, C., & Yang, Q. (2026). Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases. BMC genomics, 27(1), 523. https://
BibTeX
@article{guo2026chromoso
author = {Guo, Chongtao and Yin, Wang and Zhang, Zhouqiong and Deng, Renju and Pan, Shouhui and Zhang, Hai and Cen, Hao and Zhang, Quan and Dai, Fei and Li, Congyong and Yang, Qing},
title = {{Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases}},
journal = {BMC genomics},
year = {2026},
month = apr,
volume = {27},
number = {1},
pages = {523},
publisher = {BMC},
issn = {1471-2164},
doi = {10.1186/
url = {https://
pmid = {42021141},
pmcid = {PMC13238120}
}
RIS
TY - JOUR
AU - Guo, Chongtao
AU - Yin, Wang
AU - Zhang, Zhouqiong
AU - Deng, Renju
AU - Pan, Shouhui
AU - Zhang, Hai
AU - Cen, Hao
AU - Zhang, Quan
AU - Dai, Fei
AU - Li, Congyong
AU - Yang, Qing
TI - Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases
T2 - BMC genomics
J2 - BMC Genomics
PY - 2026
DA - 2026/
VL - 27
IS - 1
SP - 523
SN - 1471-2164
PB - BMC
DO - 10.1186/
UR - https://
LA - en
ER -
CSL-JSON
{
"id": "10.1186/
"type": "article-journal",
"title": "Chromosome-level genome assembly of the nematophagous flatworm Luticola nematophagus: revealing molecular adaptations for predation and its biocontrol potential against nematode diseases",
"container-title": "BMC genomics",
"author": [
{
"family": "Guo",
"given": "Chongtao"
},
{
"family": "Yin",
"given": "Wang"
},
{
"family": "Zhang",
"given": "Zhouqiong"
},
{
"family": "Deng",
"given": "Renju"
},
{
"family": "Pan",
"given": "Shouhui"
},
{
"family": "Zhang",
"given": "Hai"
},
{
"family": "Cen",
"given": "Hao"
},
{
"family": "Zhang",
"given": "Quan"
},
{
"family": "Dai",
"given": "Fei"
},
{
"family": "Li",
"given": "Congyong"
},
{
"family": "Yang",
"given": "Qing"
}
],
"container-title-short":
"volume": "27",
"issue": "1",
"page": "523",
"DOI": "10.1186/
"PMID": "42021141",
"PMCID": "PMC13238120",
"ISSN": "1471-2164",
"publisher": "BMC",
"URL": "https://
"language": "en",
"issued": {
"date-parts": [
[
2026,
4,
23
]
]
}
}
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/gigascience/giab070
- Chromosome-level genome assemblies of Channa argusandChanna maculata and comparative analysis of their temperature adaptability.Journal: GigaScienceIn common: other, cellular / molecular, 21 references
- [2] doi:10.1038/s41597-024-04349-y [code]
- Chromosome-scale genome assembly of three-spotted seahorse (Hippocampus trimaculatus) with a unique karyotype.Journal: Scientific dataIn common: 14 references
- [3] doi:10.3390/biology11071053 [code]
- Chromosome-Level Genome Assembly and Transcriptome Comparison Analysis of <i>Cephalopholis sonnerati</
i> and Its Related Grouper Species. Journal: BiologyIn common: other, cellular / molecular, 11 references - [4] doi:10.1186/s12915-022-01500-2
- The gold-ringed octopus (Amphioctopus fangsiao) genome and cerebral single-nucleus transcriptomes provide insights into the evolution of karyotype and neural novelties.Journal: BMC biologyIn common: other, cellular / molecular, 12 references
- [5] doi:10.1038/s41597-026-07102-9
- Chromosome-level genome assembly and annotation of the moon jellyfish Aurelia coerulea.Journal: Scientific dataIn common: other, 12 references
- [6] doi:10.1093/nar/gkag544 [code]
- Single-base resolution atlas reveals moderate conservation and regulatory diversity of m6A modifications across mammals.Journal: Nucleic acids researchIn common: 11 references
- [7] doi:10.1038/s42003-024-07124-2
- Genome assembly of a nocturnal butterfly (Macrosoma leucophasiata) reveals convergent adaptation of visual genes.Journal: Communications biologyIn common: other, cellular / molecular, 10 references
- [8] doi:10.1038/s41467-024-49848-z [code]
- Genomic and single-cell analyses reveal genetic signatures of swimming pattern and diapause strategy in jellyfish.Journal: Nature communicationsIn common: other, cellular / molecular, 9 references
- [9] doi:10.1038/s41597-023-02761-4 [code]
- Genomics and transcriptomics of the Chinese mitten crabs (Eriocheir sinensis).Journal: Scientific dataIn common: other, cellular / molecular, 9 references
- [10] doi:10.1038/s41597-023-02218-8
- The chromosome-level genome assembly and genes involved in biosynthesis of nervonic acid of Malania oleifera.Journal: Scientific dataIn common: cellular / molecular, 8 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.
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, 11 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:56eee7bd8573b783…
Add the badge to the code's README
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 -->
[](https://openscicode.org/badge/doi/10.1186/s12864-026-12863-z)
<!-- oscr-badge:end -->reStructuredText
.. oscr-badge:start
.. image:: https://openscicode.org/badge/doi/10.1186/s12864-026-12863-z.svg
:target: https://openscicode.org/badge/doi/10.1186/s12864-026-12863-z
:alt: OSCR
.. oscr-badge:endHTML
<!-- oscr-badge:start -->
<a href="https://openscicode.org/badge/doi/10.1186/s12864-026-12863-z"><img src="https://openscicode.org/badge/doi/10.1186/s12864-026-12863-z.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.
