Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IGB searching supports regular expressions and wild cards. This is especially useful when searching for sequence motifs, such as transcription factor binding sites.

Example queries:

Pattern

Represents

Example

Finds

.

any single nucleotide

ACCT.T

ACCTTT, ACCTAT, ACCTGT, and ACCTCT (4 possibilities)

..

any two nucleotides

ACCT..T

ACCTAAT, ACCTATT, ACTAGT, Etc. (4 x 4 possibilities)

[CG]

a C or a G

ACCT[CG]TC

ACCTCTC and ACCTGTC

T{1,n}

1 to n T's

ACGGT{1,3}C

ACGGTC, ACGGTTC, ACGGTTTC

T*

Zero or more T's

ACGGT*C

ACGGC, ACGGTC, ACGGTTC, ACGGTTTC, ACGGTTTTTTTTTTTTTTTTTTTTTTTTTTTC, Etc.

.*?

a string of any length containing any nucleotides

TCGGGGTTAA.*?CTGGACTC

Many possibilities.

Because this allows for so many possibilities, it only recommended with a limited scope of search and/or with very specific (several specified base pairs) on both ends.

.*

the longest possible string of any length containing any nucleotides

TCGGGGTTAA.*CTGGACTC

Differs from the search above in that the longest possible result(s) will be found.

Bear in mind that the result returned from this search with depend on the scope of the search, ie how much of the genomic sequence has been loaded and is available for searching.

Ra A or a GGCCRGCCA, GCCG
Ya C or a TAGCYAGCY, AGCT
a G or a CAGCSAGCG, AGCC
Wa A or a TAWGCAAGC, ATGC
Ka G or a TAKGCAGGC, ATGC
a A or a CAMGCAAGC, ACGC
Ba C or a G or a TABGCACGC, AGGC, ATGC
Da A or a G or a TADGCAAGC, AGGC, ATGC
a A or a C or a TAGHCAGAC, AGCC, AGTC
a A or a C or a GAGVCAGAC, AGCC, AGGC
Nany base i.e. a A or a G or a T or a CAGCNAGCA, AGCG, AGCT, AGCC

More information about regular expressions is available from http://docs.oracle.com/javase/7/docs/index.html.