Motif Finder

Motif Finder

Using TAIR's Motif Finder

Updated September 2026: the Motif Finder now uses a standard statistical test, shows whether each motif is enriched or depleted, and reports a false discovery rate (FDR). See "What changed in September 2026" below.

This program compares the frequencies of 6-mer "words" in a set of sequences against their frequency in the upstream sequences of all Arabidopsis loci (the background set). The input can be a list of locus identifiers, in which case 500, 1000 or 3000 base pairs upstream of each locus are used, or your own set of sequences. Words are counted on both the forward and reverse strands. The original program was written by Dr. Rob Ewing (formerly of the Arabidopsis Functional Genomics Consortium); the statistics were updated by TAIR in 2026.

A. Defining the query sequence set

The Motif Finder takes either sequences or a list of locus identifiers as input. Sequences should be in FASTA format; each header must start with ">" immediately followed by a unique ID, a space, then any description (e.g. >ABCD1.1 my gene). If using a series of AGI locus identifiers (e.g. AT1G01010), they must be separated by tabs, commas, carriage returns or spaces. If using locus IDs, the software automatically extracts 500, 1000 or 3000 base pairs upstream of the gene start, depending on the dataset you select. The gene start is its most 5′ annotated position: the start of the 5′ UTR, or the start codon if no 5′ UTR is annotated. Locus IDs that are not found are listed at the bottom of the results. If you submit your own sequences, make them the same length and type as the background dataset you choose (e.g. 1000 bp upstream sequences with the 1000 bp dataset); longer sequences contain more 6-mers by chance and will appear enriched. Make sure no sequence appears more than once in your query set. To obtain other sets of sequences, such as intron sequences, in FASTA format, use TAIR's gene search to download bulk sequences.

B. Choosing a dataset

Select the upstream region to compare against: 500, 1000 or 3000 bp. The background set contains one upstream sequence per locus (from the representative gene model). The dataset used is shown at the top of every results page, for example:

Dataset: Araport11 upstream 500 bp (2022-05-04), 34,187 sequences

The background will be updated to the TAIR12 annotation.

C. Understanding the results

Results can be displayed in your browser (HTML) or downloaded as a tab-delimited text file ("Download as text") that you can open in a spreadsheet program such as Excel. The top of the results shows the dataset, how many of your sequences were analyzed, how many 6-mers were tested, and the statistical method.

Only 6-mers found in 3 or more of your query sequences are tested and reported. Rows are sorted by p-value (lowest first); the first 100 rows are shown, with "Show 100 more" and "Show all" buttons. Each 6-mer and its reverse complement (e.g. GGCCCA and TGGGCC) appear as a pair with identical values, because both strands are searched. Rows with FDR < 0.05 are marked as significant. The loci analyzed, and any locus IDs that were not found, are listed below the table.

Two filters are available:

  • Enriched only hides 6-mers that are less common in your sequences than in the genome.

  • FDR < 0.05 only hides 6-mers that do not pass a 5% false discovery rate.

Column

Meaning

Column

Meaning

oligoMer

The 6-base word

Query seqs

Number of your sequences containing the 6-mer, out of your query size, with the percentage, e.g. 14/218 (6.4%)

Genomic seqs

Number of background sequences containing the 6-mer, out of the background size, with the percentage, e.g. 5626/34187 (16.5%)

Fold

Query percentage divided by genomic percentage. Above 1 means the 6-mer is more common in your sequences than in the genome; below 1 means less common

Direction

enriched if the query percentage is above the genomic percentage, depleted if below

p-value

Exact two-sided binomial test (see "How the statistics are calculated")

FDR

Benjamini–Hochberg false discovery rate across all tested 6-mers. A common cutoff is FDR < 0.05

# in query set

Total occurrences in your sequences (a 6-mer can occur more than once per sequence), for reference

# in genomic set

Total occurrences in the background set, for reference

Query sequences containing this oligoMer

Your sequences that contain the 6-mer (click to expand)

Worked example

We ran 218 cytochrome P450 genes against all three upstream datasets. One 6-mer pair, ACATGC/GCATGT, is enriched in every window and passes FDR < 0.05 at 1000 and 3000 bp (at 3000 bp it is the only row left with Enriched only and FDR < 0.05 only turned on):

Upstream

Query seqs

Genomic seqs

Fold

FDR

Upstream

Query seqs

Genomic seqs

Fold

FDR

500 bp

53/218 (24.3%)

15.6%

1.56

0.24

1000 bp

91/218 (41.7%)

29.4%

1.42

0.039

3000 bp

172/218 (78.9%)

65.1%

1.21

0.025

What this shows:

  • Look for consistency. No other enriched 6-mer passes FDR < 0.05 in more than one window. A motif that is enriched across windows is a stronger candidate than one that appears in a single run.

  • Longer windows give more power but smaller folds. In a 3000 bp window a typical 6-mer is already present in most genes, so fold values move toward 1. Long windows can also extend into neighboring genes. For promoter motifs, 500 or 1000 bp is usually the better choice.

  • A candidate is a hypothesis, not a finding. ACATGC overlaps the core of the RY element (CATGCA), but it is not an exact match. Check candidates against cis-element databases, and look at which genes carry them: hits concentrated in one cluster of tandemly duplicated genes are weaker evidence.

  • Few hits is normal. The P450s are a large, diversely regulated family, so we would not expect many shared motifs.

How the statistics are calculated

Counting. For each sequence (in the background set and in your query), all overlapping 6-mers are found on both strands, one base pair at a time. Counts are then clipped at 1 per sequence, so each 6-mer is recorded as present or absent in each sequence. This gives, for each 6-mer:

  • k = the number of your sequences containing it

  • n = the number of your sequences

  • p = the fraction of background sequences containing it

p-value. An exact binomial test asks how likely it is to see k or more (if enriched) or k or fewer (if depleted) of your n sequences containing the 6-mer, if each sequence had the genomic chance p of containing it. The two-sided p-value is twice the smaller of those two tail probabilities (capped at 1).

FDR. Because thousands of 6-mers are tested at once, some small p-values occur by chance. The Benjamini–Hochberg procedure converts the p-values into FDR values: among all 6-mers with FDR below 0.05, about 5% are expected to be false positives. The FDR is calculated over the 6-mers that were tested (those found in at least 3 of your sequences).

Limitations

Related genes can inflate results. The test assumes your sequences are independent. Tandemly duplicated or closely related genes often share similar upstream sequences, so a 6-mer found in one gene cluster may be counted many times. Reduce such clusters to one representative gene, or treat those hits with caution. Expand the "Query sequences containing this oligoMer" column to see which genes drive a result.

Upstream windows. For genes with no annotated 5′ UTR, the window begins at the start codon, so it may include some untranslated sequence. Windows are not trimmed at neighboring genes, so longer windows (especially 3000 bp) may include sequence from an adjacent gene.

Small query sets. With only a few sequences (e.g. fewer than 20), few or no 6-mers will pass FDR < 0.05, even if a real motif is present.

Strongly depleted 6-mers may not appear. A 6-mer must be present in at least 3 of your sequences to be tested, so words that are almost absent from your set are not reported.

Composition effects. If your sequences are more AT- or GC-rich than the genome overall, many 6-mers of matching composition can appear enriched.

Recommended use. Use the Motif Finder to screen for candidate motifs. Confirm candidates with cis-element databases (e.g. PLACE, AGRIS, JASPAR), dedicated motif discovery tools (e.g. MEME Suite, HOMER), or experiments.

What changed in September 2026

Earlier versions of the Motif Finder reported, as the "p-value", the binomial probability of seeing exactly the observed count:

choose(n,k) * p^k * (1-p)^(n-k)

This score was intended for ranking, not as a significance test. In practice:

  • the strongest hits were roughly right, but enriched and depleted 6-mers were mixed together with no indication of direction;

  • weaker hits overstated significance (a 6-mer at exactly the genome rate could score around 0.05–0.1);

  • no correction was made for multiple testing.

The current version replaces this with an exact two-sided binomial test, adds the Fold and Direction columns, adds a Benjamini–Hochberg FDR, and shows the dataset used. It also computes the background counts and background size from the same dataset file (earlier versions used background counts from an older file). If you used the Motif Finder before September 2026, we recommend re-running your analyses.