Free audit for one project, up to 30 samples. No payment today. Request yours
CodeISB / Methods

Methods: what each check does

Last updated 2 December 2026

Every check, what it looks at, and the threshold at which it raises a flag. Each report prints the same thresholds, so a result can be reproduced.

20checks: 18 can flag a problem, 2 give information only (three of the 18 need an optional sheet column)
v0.12.0tool version, printed in every report

The audit reads a raw count matrix (genes by samples) and a sample sheet, and nothing else. It does not look at reads, so it cannot check strandedness, rRNA content, mapping rate, genotype-based identity or differential expression results. A flag is a reason to look at a sample or column, not a verdict. For how often the checks fire on files with and without planted problems, see how we tested.

The checks

Grouped by the question each one answers. Each check links to the guide that explains it.

Files and labels

Can the files be read, and do the names match?

CheckWhat it looks atFlag when
Input filesQC checklist before DE →In plain words: Can we read your files, and are they raw counts?Whether the matrix and sample sheet can be read; whether values look like raw counts (whole, non-negative, not normalized or rounded normalized values)Values look like CPM, TPM, log values, size-factor normalized or expected counts; or the files cannot be parsed
Gene identifiersFree gene-name checker →In plain words: Are gene names intact, for example not turned into dates by Excel?Whether gene IDs are intact and consistentGene symbols that spreadsheet software turned into dates or scientific notation; mixed or unrecognised ID types
Sample sheetSample sheet checklist →In plain words: Does every sample in your table have a row in your sample sheet?That every matrix column has a sample sheet row and the reverse; duplicate namesUnmatched or duplicated sample names; missing group labels
Sample identityFinding a sample swap →In plain words: Does each sample's recorded sex match what its genes show? A mismatch can mean a tube mix-up.Expression of Y-linked genes and XIST against the sex column, if you supply oneA sample is called male-like (Y-gene score at or above 1.5, XIST below 3.0) or female-like (XIST at or above 3.0, Y-gene score below 1.0), in log2 CPM+1 units; flagged when the call disagrees with the sex column, and marked unclear when the markers fit neither pattern
Species and annotationIn plain words: Do the gene IDs look like the species you said?Whether the gene IDs look like the organism you declared (Ensembl prefix, or capitalization of gene symbols)You choose human or mouse when you submit, and and the IDs read as the other. It cannot read the Ensembl release or genome build from counts

Samples and libraries

Does each sample look like its group, and is it a usable library?

CheckWhat it looks atFlag when
Replicate correlation and PCAReading a PCA plot →In plain words: Do samples in the same group resemble each other? A loner may be a bad sample.Median Spearman correlation of each sample with the others in its group, and where it sits on the first components (top 500 variable genes)A sample's median correlation is below 0.85, or is a robust outlier (z below -3.5); or the sample is a PCA outlier (robust z above 12; needs at least 8 samples in the group), or is more correlated with another group than its own by a margin of 0.01. For each flagged sample the report also says whether a few genes (the 10 largest hold 30% or more of the difference) or many genes carry it
Duplicate samplesIn plain words: Is any sample a near copy of another?Pairs of samples with near-identical profiles, including technical replicates listed as separate samplesCorrelation above 0.999; or at least 60% of samples having a partner with ratio-consistent counts (technical replicates; at least three pairs, or a library column)
Library sizeQC checklist before DE →In plain words: Did every sample get enough sequencing, and similar amounts?Total reads per sampleFewer than 1,000,000 reads (fail) or 5,000,000 (warn); or a sample more than 2.5-fold away from the median
Library qualityQC checklist before DE →In plain words: Do any samples look like poor libraries, for example one gene taking most reads?Share of reads in the top gene; fraction of genes detected; mitochondrial shareOne gene holds more than 25% of reads; detected genes below 80% of the median sample; mitochondrial reads above 30% (needs at least 8 mitochondrial genes in the matrix)
Expected target geneOptionalKnockdown check →In plain words: If you knocked a gene down, did it go down?If you name the gene you perturbed, whether it moves the right wayTarget expressed above 2.0 CPM in controls but less than a 2-fold drop (log2 fold change of -1.0) in treated samples; weak when the drop is smaller than 1.5-fold (log2 of -0.58); a sample that does not follow its group
ContaminationIn plain words: Does a sample carry signal from blood, another species or another cell type?Per-sample share of globin reads (blood carryover), mitochondrial reads, reads from a second species when both human and mouse Ensembl IDs are present, and marker genes of ten tissue and cell types (needs gene symbols)Globin at least 2% of a sample and 5 times the median sample; mitochondrial at least 20% and 2.5 times the median; a second species at least 5% of a sample; a tissue-marker panel (immune and blood cells, liver, skeletal muscle, brain, heart, pancreas, kidney, skin, lung, gut) at least 6 times the median sample and at least 0.15% of reads. High values can be real biology in heart, muscle or blood, and tissue-marker flags can appear when your groups are different cell types, so a flag is a reason to look
Low-count filterIn plain words: Are enough genes expressed to analyze? Information only.How many genes keep CPM of at least 1 in at least as many samples as the smallest groupInformation only in practice. It warns only if fewer than 6,000 genes pass and they are under 25% of the genes measured. In our tests it never warned on files that Library size had not already failed

Design and covariates

Could something other than the treatment explain the result?

CheckWhat it looks atFlag when
Design and batchIs batch confounded? →In plain words: Can the treatment effect be separated from batch?Whether condition and batch (and pairing) are crossed sensiblyCondition labels at least 40% predictable from batch, which includes near-confounding where only one or two samples cross batches
Covariates and PCAReading a PCA plot →In plain words: Does the main pattern in the data follow something other than your treatment, like RNA quality?Whether any of the first three principal components tracks library size or a numeric column in your sample sheet (for example RIN, DV200 or age), by Spearman rank correlationA component correlates with a covariate at 0.80 or more (in either direction) with a t statistic of at least 4.5, needing at least 8 samples; the report also says when that covariate differs between conditions, since it can then look like a treatment effect
Unexplained structureIn plain words: Is there a strong split between samples that nothing in your sample sheet explains?Whether a leading principal component splits the samples into two groups that no column in the sample sheet (condition, batch or any other labelled column, or inferred sex) explainsA split into two groups of at least two samples that is stronger than random splits of the same number of samples, and that matches no sheet column at 80% or more. It looks like an unrecorded batch, and a true biological subgroup looks the same. Needs at least 8 samples
Tissue identityOptionalIn plain words: Does each sample look like the tissue it is labeled as?Needs a tissue column. Whether each sample's marker genes (ten panels: immune and blood, liver, muscle, brain, heart, pancreas, kidney, skin, lung, gut) fit the tissue the sheet declaresA sample sits nearer another declared tissue (at least 4-fold apart in a panel, and at least 0.15% of reads), or its own tissue markers are 6 times or more below the other samples of that tissue, or it carries another declared tissue's markers (at least 15% of what genuine samples of that tissue show, at least 500 CPM, and 8 times its own group). Works with gene symbols or human Ensembl IDs. Libraries under 100,000 reads are not judged. It cannot tell similar tissues apart, such as cortex and hippocampus
Dose and time orderingOptionalIn plain words: Does each sample sit nearest its own dose or time point? A sample nearer another level may be mislabeled.Needs a dose or time column with at least 3 levels and 2 samples each. Whether each sample sits nearest its own level on expressionA sample is nearer another level than its own. Not tested when fewer than half the samples sit nearest their own level. With 2 samples per level, a flag needs the swap pattern (every sample of two levels implicated); a lone odd sample or one odd level is noted and not counted. A non-monotonic response is noted, not flagged
Cell line identityOptionalIn plain words: Does each sample look like the cell line it is labeled as?Needs a cell_line column, human data, and gene symbols or Ensembl IDs. Each sample's expression compared with 69 human reference cell lines (Human Protein Atlas cell line RNA, 500 informative genes) by rank correlationAnother reference line beats the sample's declared line by 0.05 or more. Spellings such as HeLa, hela, HEK293T and caco2 are matched, and close derivatives of one parent count as one line. A declared line the reference lacks is listed and not judged; libraries under 100,000 reads are not judged. It is not an STR test and cannot confirm a line it does not know
PairingIn plain words: Does the same subject appear where it should, and is a paired design complete?Whether any subject, patient, donor or animal ID repeats, using a subject columnThe same subject appears more than once in one condition, or a paired design is missing a condition for some subjects. A complete paired design passes, with a note to put the subject in the model
Detectable effectIn plain words: With your replicates, how large a change could be detected? Planning information, never a flag.From the variation between your own replicates, about how large a fold change the design could detect at 80% power and p below 0.001Never flags. It is information for planning, an approximation, and not a grant power calculation

Settings that change what you see

  • Supplying a sex column turns on the sample identity check. Without it that check is skipped and the report says so.
  • Naming the perturbed gene turns on the expected target gene check, the one that most often makes a swap visible when conditions barely differ.
  • A numeric column such as RIN in the sample sheet is tested against the leading principal components along with library size, and the report colours the PCA by it. Without one, only library size is tested.
  • A cell_line column turns on the cell line identity check, a tissue column the tissue check, and a dose or time column the dose and time check. Without them those checks are skipped and the report says so.
  • A subject column turns on the pairing check. Without it that check is skipped and the report says so.
  • Choosing "knockout" as the perturbation type makes a knockout whose transcript did not fall a warning with an explanation instead of a failure, because a CRISPR frameshift often leaves RNA levels normal.
  • The optional GEO option adds a deposit-readiness check of the sample sheet against the fields a GEO submission asks for, and writes a pre-filled sample table. The optional anonymize option replaces sample names with codes in every output and keeps the key in a separate file.
  • A batch column turns on the batch part of the design check, and a library column lets technical replicates be recognised from a single pair.

A sample sheet with the optional columns looks like this:

sample,condition,batch,sex,RIN,cell_line,tissue

Download an example sample sheet

Result verification

A separate tool (version 0.3.0) checks a differential expression table against the counts it came from. For each table it reports what it could and could not check.

A pass does not show that batch or pairing was in the model.

What we do not claim

  • The thresholds were set by us and adjusted on our own simulated test cases. They are reasonable defaults, not validated cut-offs.
  • The audit finds patterns that are consistent with specific problems. It cannot tell you why a pattern exists.
  • Results are for research use only.

See the checks on a real report.

Or request a free audit: one project, up to 30 samples, no payment today.