Abstract

Summary: Functional annotation represents a key step toward the understanding and interpretation of germline and somatic variation as revealed by genome-wide association studies (GWAS) and The Cancer Genome Atlas (TCGA), respectively. GWAS have revealed numerous genetic risk variants residing in non-coding DNA associated with complex diseases. For sequences that lie within enhancers or promoters of transcription, it is not straightforward to assess the effects of variants on likely transcription factor binding sites. Consequently we introduce motifbreakR, which allows the biologist to judge whether the sequence surrounding a polymorphism or mutation is a good match, and how much information is gained or lost in one allele of the polymorphism or mutation relative to the other. MotifbreakR is flexible, giving a choice of algorithms for interrogation of genomes with motifs from many public sources that users can choose from. MotifbreakR can predict effects for novel or previously described variants in public databases, making it suitable for tasks beyond the scope of its original design. Lastly, it can be used to interrogate any genome curated within bioconductor.

Availability and implementation:  https://github.com/Simon-Coetzee/MotifBreakR, www.bioconductor.org.

Contact:  [email protected]

1 Introduction

Transcription factor binding sites (TFBS) are typically short DNA sequence motifs that facilitate binding of a specific transcription factors via protein–DNA interactions (Stormo, 2000). There are some software tools that facilitate the scoring of non-coding variants with respect to either predefined or user-specified motifs. RegulomeDB, HaploReg and FunSeq each enable assessment of the effects of single nucleotide variants on predicted binding sites (Boyle etal., 2012; Khurana et al., 2013; Ward and Kellis, 2012). Each of these packages has strengths, but does not provide the analysis independent of its other functions. Many users generate their own motifs, but users are limited to built-in motif collections and functions. The functions are largely unavailable to non-human data sets. We hereby introduce an R/bioconductor software package called motifbreakR that addresses these major concerns. Implementation in R has the advantage of universality: R and bioconductor are widely used for bioinformatics and well supported across different platforms including Galaxy (Tenenbaum, 2015).

2 Features

2.1 Germline or somatic variants

Single nucleotide polymorphisms (SNPs) can be generated from another R package such as FunciSNP (Coetzee etal., 2012), or read in directly from .bed or .vcf files. The SNPs then need to be converted to GRanges objects. This is accomplished within motifbreakR in one of two ways, via the snps.from.rsid and snps.from.file functions. MotifbreakR will produce a GRanges table with match statistics describing the percent of maximum score for a matrix for both alleles of the SNP, the matrix values for each allele (useful for determining the severity of the disruption), the strand, whether the disruption is strong or weak. The package also includes a plotting function based on the gviz and motifstack packages as shown for SNP rs10486567 in Figure 1.

Example of motifbreakR output from plotMB function for a previously published SNP (Hazelett et al., 2014). Genomic sequence and coordinates are at the bottom of the display; the positions of the matches represented (light blue boxes). The position of the SNP within the motif is indicated with red bounding box and alternate allele below, and as red text on the motif logo position bar above. The motif logos generated from motifstack are shown above using the color conventions of the genomic sequence below
Fig. 1.

Example of motifbreakR output from plotMB function for a previously published SNP (Hazelett et al., 2014). Genomic sequence and coordinates are at the bottom of the display; the positions of the matches represented (light blue boxes). The position of the SNP within the motif is indicated with red bounding box and alternate allele below, and as red text on the motif logo position bar above. The motif logos generated from motifstack are shown above using the color conventions of the genomic sequence below

2.2 Comprehensive positional weight matrices

Once a SNP list is converted to GRanges, selection of PWMs proceeds by subsetting from the MotifDb package or from one of the included motifList-compatible libraries. Any motifList object can be passed to motifbreakR.MotifDb provides access to ScerTF (Spivak and Stormo, 2012), FlyFactorSurvey (Zhu etal., 2011), hPDI (Xie etal., 2010), all the selex-generated motifs from (Jolma etal., 2013), UniPROBE (Newburger and Bulyk, 2009) and JASPAR (Stormo, 2000). In addition to these, we have included motifs from Encode (Kheradpour and Kellis, 2014), Homer (Heinz etal., 2010), Factorbook (Wang etal., 2012) and HOCOMOCO (Kulakovskiy etal., 2013). Importantly, MotifbreakR generates pseudocounts based on the number of observations listed for each motif in these databases, but defaults to 20 observations when this information is lacking.

2.3 Choice of algorithms

There are three algorithms accessible via the ‘method’ argument. The first is the standard sum of log probabilities (method = ‘log’). The second and third are the weighted sum and information content methods (method = ‘default’ and method = ‘ic’). The default was previously described (Hazelett etal., 2014); the ic method is based on relative entropy but renders very similar conclusions. The methods are extensively documented in the vignette. For all three methods, motifbreakR scores and reports the reference and alternate alleles of the sequence, and the effect (strong, weak or neutral). The match scores are scaled as a fraction of scoring range [0,1] of the motif matrix.

2.4 Extensible to model organisms

It is straightforward within the motifbreakR package to specify any of the research model organism genomes in BSgenome (currently 22 in number), including mouse, zebrafish, and fruit fly. This may be done both at the level of reading in SNP lists and during invocations of motifbreakR. To our knowledge, no other software currently offers this functionality.

3 Conclusion

In principle, a SNP label contains all the information necessary to characterize a variant or mutation, since it points to information in external databases somewhere. Our package makes it possible to rapidly explore TFBS disruptions for a large number of SNPs within the R framework, with no need to install third party software or massage arcane output files for downstream analysis. Although the intention is to study the relationship of human variation to disease, use of motifbreakR is not limited to this application. Indeed, one may access any genome in BSgenome, and query it with custom SNPs and PWMs, or specify organism-specific sets of PWMs from MotifDb.motifbreakR uses a highly efficient information content-based algorithm for discriminating between truly disruptive variants versus neutral. Because motifbreakR is designed to work with the existing bioconductor framework, we believe it to be the most flexible and extensible package available for this type of analysis.

Acknowledgements

The authors acknowledge Benjamin Berman and Huy Q. Dinh for editing and discussions.

Funding

This work was supported by the National Institutes of Health [grant numbers R01CA136924, R01CA190182 to G.A.C.] and National Cancer Institute [grant number UO1CA184826] supporting [D.J.H. and S.G.C.]. Funding for open access charge: [National Cancer Institute UO1CA184826].

Conflict of interest: none declared.

References

Boyle
A.P.
 et al. . (
2012
)
Annotation of functional variation in personal genomes using RegulomeDB
.
Genome Res.
,
22
,
1790
1797
.

Coetzee
S.G.
 et al. . (
2012
)
FunciSNP: an R/bioconductor tool integrating functional non-coding data sets with genetic association studies to identify candidate regulatory SNPs
.
Nucleic Acids Res.
,
40
,
e139
.

Hazelett
D.J.
 et al. . (
2014
)
Comprehensive functional annotation of 77 prostate cancer risk loci
.
PLoS Genetics
,
10
,
1
21
.

Heinz
S.
 et al. . (
2010
)
Simple combinations of lineage-determining transcription factors prime cis-regulatory elements required for macrophage and B cell identities
.
Mol. Cell
,
38
,
576
589
.

Jolma
A.
 et al. . (
2013
)
Dna-binding specificities of human transcription factors
.
Cell
,
152
,
327
339
.

Kheradpour
P.
 
Kellis
M.
(
2014
)
Systematic discovery and characterization of regulatory motifs in encode tf binding experiments
.
Nucleic Acids Res.
,
42
,
2976
2987
.

Khurana
E.
 et al. . (
2013
)
Integrative annotation of variants from 1092 humans: Application to cancer genomics
.
Science
,
342
,
1235587
.

Kulakovskiy
I.V.
 et al. . (
2013
)
Hocomoco: a comprehensive collection of human transcription factor binding sites models
.
Nucleic Acids Res.
,
41
,
D195
D202
.

Newburger
D.E.
 
Bulyk
M.L.
(
2009
)
Uniprobe: an online database of protein binding microarray data on proteindna interactions
.
37
(
Database issue
),
D77
D82
.

Spivak
A.T.
 
Stormo
G.D.
(
2012
)
Scertf: a comprehensive database of benchmarked position weight matrices for saccharomyces species
.
Nucleic Acids Res.
,
40
,
D162
D168
.

Stormo
G.D.
(
2000
)
DNA binding sites: representation and discovery
.
Bioinformatics
,
16
,
16
23
.

Tenenbaum
D.
(
2015
)
RGalaxy: Make an R function available in the Galaxy web platform
.
R package version 1.10.0
.

Wang
J.
 et al. . (
2012
)
Sequence features and chromatin structure around the genomic regions bound by 119 human transcription factors
.
Genome Res.
,
22
,
1798
1812
.

Ward
L.D.
 
Kellis
M.
(
2012
)
Haploreg: a resource for exploring chromatin states, conservation, and regulatory motif alterations within sets of genetically linked variants
.
Nucleic Acids Res.
,
40
,
D930
D934
.

Xie
Z.
 et al. . (
2010
)
hpdi: a database of experimental human protein dna interactions
.
Bioinformatics
,
26
,
287
289
.

Zhu
L.J.
 et al. . (
2011
)
Flyfactorsurvey: a database of drosophila transcription factor binding specificities determined using the bacterial one-hybrid system
.
Nucleic Acids Res.
,
39
(
Suppl. 1
),
D111
D117
.

Author notes

Associate Editor: John Hancock

This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.