- Open Access
sscMap: An extensible Java application for connecting small-molecule drugs using gene-expression signatures
BMC Bioinformatics volume 10, Article number: 236 (2009)
Connectivity mapping is a process to recognize novel pharmacological and toxicological properties in small molecules by comparing their gene expression signatures with others in a database. A simple and robust method for connectivity mapping with increased specificity and sensitivity was recently developed, and its utility demonstrated using experimentally derived gene signatures.
This paper introduces sscMap (statistically significant connections' map), a Java application designed to undertake connectivity mapping tasks using the recently published method. The software is bundled with a default collection of reference gene-expression profiles based on the publicly available dataset from the Broad Institute Connectivity Map 02, which includes data from over 7000 Affymetrix microarrays, for over 1000 small-molecule compounds, and 6100 treatment instances in 5 human cell lines. In addition, the application allows users to add their custom collections of reference profiles and is applicable to a wide range of other 'omics technologies.
The utility of sscMap is two fold. First, it serves to make statistically significant connections between a user-supplied gene signature and the 6100 core reference profiles based on the Broad Institute expanded dataset. Second, it allows users to apply the same improved method to custom-built reference profiles which can be added to the database for future referencing. The software can be freely downloaded from http://purl.oclc.org/NET/sscMap.
Interaction of a drug or chemical with a biological system can result in a gene-expression profile or signature characteristic of the event. Lamb et al were the first to propose using these data in connectivity mapping to make connections between the pharmacological and toxicological properties of small molecules . The three key components in the working of a connectivity map are: 1) a collection of pre-built reference gene-expression profiles that serves as a core database; 2) a query gene signature, usually prepared by the user, which best characterizes a compound-induced biological state and; 3) a similarity metric to quantify the connection between a gene signature and a reference profile. In a previous publication  we presented a simple and robust method for connecting small-molecule drugs using gene-expression signatures, the utility of which was shown using three experimentally derived gene signatures from independent studies for HDAC inhibitors , estrogen , and immunosuppressive drugs , respectively. Here in this paper we describe sscMap, a Java application that implements the method, and we focus on its utility and extensibility from a user's perspective.
The software was built using Java programming language (Java Platform, Standard Edition 6). JFC/Swing classes were used to provide a Graphical User Interface (GUI) of the program. In designing the software, user extensibility was considered to be an important feature. To this end each individual reference profile is stored as a separate file on the disk. This setting greatly enhances flexibility and extensibility of the software, as it allows users to supplement the default collection of reference profiles, or to build custom collection of reference profiles by following a simple contract specified in the README file [see Additional file 1]. In the execution of the program, a set of reference profiles are first loaded to memory and compared to all the query gene signatures to calculate the related connection scores and p-values, the memory is then released and the program proceeds to load another set of reference profiles from disk. This memory management scheme enables the program to handle an anticipated increasing number of reference profiles at a moderate cost of speed. If all the available reference profiles were residing in memory, the number of reference profiles allowed would soon be limited.
The core database
The Broad Institute released Build 02 of their Connectivity Map http://www.broad.mit.edu/cmap/ with an expanded dataset over the 01 version with more compounds utilized. Using these data we constructed 6100 reference gene-expression profiles using the method described in our previous report . In brief the genes were primarily sorted by the absolute value of log-ratios in descending order, so that the most differentially expressed gene has the highest rank. Thus sscMap comes with a default core database of 6100 reference profiles, each characterizes a treatment instance as described in . This core database covers the treatment instances of over 1000 small-molecule compounds applied to 5 human cell lines. So the primary utility of sscMap is for users who want to compare their gene signatures to the reference profiles based on the Connectivity Map 02 dataset. The benefits of the method implemented in this application include a more principled statistical procedure [6–8], effective safeguards against false connections, and an increased sensitivity. The sscMap program can be run in two execution modes: as a command line program, or as a GUI (Graphical User Interface) application. In the simple command line mode using the built-in core database users can simply put their gene signature files into the queries folder and run the application. Detailed instructions and guided tours on how to run the program in GUI mode can be found in the accompanying README file [see Additional file 1]. For more advanced application the database can be added to at the users discretion as described below.
Extensibility: Building custom extensions
Users who want a greater capacity for comparison than the built-in database can build up their own custom reference profiles and apply the same scoring scheme and statistical testing procedures introduced in . This section briefly describes how users can customize the application.
A plain text file, parameters.ini for the command line mode, or for-gui/default-parameters.ini for the GUI mode, sets the key parameters used by the program, e.g., where to find the ref-files (reference gene-expression profiles). In the default settings, we specified reffiles as the default folder, where the 6100 reference profiles are stored. It is possible to supplement them by simply putting more similarly built ref-files into the default folder. Users can also create a new directory, for example, custom-reffiles, and put all the custom ref-files there, and then point the reference profiles folder to that directory, either by editing the parameters.ini file for the command line, or by browsing to the custom directory in the GUI mode. As an example, we have included with sscMap a folder custom-example, which contains all the key components of a customized extension to the application. Following the example provided users should be able to build their own extension. A more detailed description of the general contracts for adding a custom collection of reference profiles to sscMap can be found in the README file [see Additional file 1] accompanying the software.
Flexibility: Treatment set definition
The sscMap software downloads with a default ref-files folder containing 6100 pre-built reference expression profiles. An example ref-file is azathioprine_0.1 mM_MCF7_338.ref.tab, which characterizes the biological state of MCF7 cells treated with 0.1 mM azathioprine. The name of a typical ref-file is divided by the underscore character _, the default field separator, into 4 fields: drug name, dose, cell type, and instance ID, respectively. The program allows users to specify which field(s) to use for defining a "treatment set" (A term we use interchangeably with "reference set", or simply ref-set elsewhere). Our preferred choice for the default ref-files is to use the 3 fields: drug name (field 0), dose (field 1), and cell type (field 2) together to define a treatment set, meaning that only reference profiles with the same drug, same dose, and same cell type should be regarded as forming a set in the set-level analysis. The original Connectivity Map uses only the drug name to define a treatment set, disregarding possible difference in dose and cell type. This tends to average out the distinct characteristics attributable to the cell type or dose difference, making some set-level connections insignificant or their interpretation difficult. We described in the discussion section of  why it was preferable to use 3 fields to define a treatment set. However, the program does not force users to follow this preference. With sscMap, users can choose whatever field(s) they feel appropriate to define a set. One extreme case is to use all the fields of a ref-file name, and consequently each treatment set will have only one treatment instance (such a treatment set is called a singleton set) and this reduces to the instance-level analysis.
In the custom-example folder, the custom ref-files names are divided by a custom filed separator, --, ie, two hyphen characters, into 4 fields: drug name, dose, tissue type, and time point, as in Drug2––LowDose––Tissue3––Day11.ref.tab. Treatment sets are defined using two fields, Drug name (field 0) and Tissue type (field 2) in this case. Thus the example here demonstrates the flexibility offered by the application: users have the freedom to choose their own field separator, the number of fields, and which fields to define a treatment set.
Example 1: Using the default core collection of ref-files
As an example of querying the default core database, we used the five gene signatures previously reported in . Note that this default core database contains 6100 reference gene-expression profiles, which is a much-expanded collection as compared to 453 in . The connection scores and p-values for the Estrogen gene signature are shown here in Figure 1 in graphical view. The detailed tabulated results can be found as a tab file (Estrogen.sig.sscmap.tab) in the results folder within the downloaded software.
Example 2: Using a custom collection of ref-files
In the folder custom-example we provided a small collection of 18 custom reference profiles, constructed using Affymetrix RAT230_2 microarray data. We then queried this small database of custom reference profiles using 2 specially prepared gene signatures based on mouse cDNA microarray data. To query the rat reference profiles using mouse gene signatures, we first converted the gene IDs on the mouse array to the Affymetrix Rat230_2 probeset IDs, using the annotation file provided by Affymetrix. The biological contexts of these reference profiles and gene signatures in this example are not directly relevant, as we are here simply demonstrating the possibility of extending the sscMap software with custom reference profiles. In Table 1, we list all the connections of the 6 reference sets, each containing 3 individual reference profiles, to one of the mouse gene signatures.
The utility of sscMap is two fold. First, it serves to make statistically significant connections between a user-supplied gene signature and the 6100 core reference profiles based on the Broad Institute expanded dataset. Second, it allows users to apply the scoring scheme and statistical procedures described in  to custom-built reference profiles which can be added to the database for future referencing.
Availability and requirements
Project name: sscMap
Project home page: http://purl.oclc.org/NET/sscMap
Operating system(s): Platform independent
Programming language: Java
Other requirements: Java Runtime Environment 1.6 or later version is required to run the program.
License: None required for research and academic use
Any restrictions to use by non-academics: For commercial use, please contact the authors
SDZ's email address at Queen's University Belfast is firstname.lastname@example.org
Lamb J, Crawford ED, Peck D, Modell JW, Blat IC, Wrobel MJ, Lerner J, Brunet JP, Subramanian A, Ross KN, Reich M, Hieronymus H, Wei G, Armstrong SA, Haggarty SJ, Clemons PA, Wei R, Carr SA, Lander ES, Golub TR: The Connectivity Map: Using Gene-Expression Signatures to Connect Small Molecules, Genes, and Disease. Science 2006, 313(5795):1929–1935. 10.1126/science.1132939
Zhang SD, Gant TW: A simple and robust method for connecting small-molecule drugs using gene-expression signatures. BMC Bioinformatics 2008., 9(258):
Glaser KB, Staver MJ, Waring JF, Stender J, Ulrich RG, Davidsen SK: Gene Expression Profiling of Multiple Histone Deacetylase (HDAC) Inhibitors: Defining a Common Gene Set Produced by HDAC Inhibition in T24 and MDA Carcinoma Cell Lines. Mol Cancer Ther 2003, 2(2):151–163.
Frasor J, Stossi F, Danes JM, Komm B, Lyttle CR, Katzenellenbogen BS: Selective Estrogen Receptor Modulators: Discrimination of Agonistic versus Antagonistic Activities by Gene Expression Profiling in Breast Cancer Cells. Cancer Res 2004, 64(4):1522–1533. 10.1158/0008-5472.CAN-03-3326
Horwitz PA, Tsai EJ, Putt ME, Gilmore JM, Lepore JJ, Parmacek MS, Kao AC, Desai SS, Goldberg LR, Brozena SC, Jessup ML, Epstein JA, Cappola TP: Detection of Cardiac Allograft Rejection and Response to Immunosuppressive Therapy With Peripheral Blood Gene Expression. Circulation 2004, 110(25):3815–3821. 10.1161/01.CIR.0000150539.72783.BF
Tian L, Greenberg SA, Kong SW, Altschuler J, Kohane IS, Park PJ: Discovering statistically significant pathways in expression profiling studies. PNAS 2005, 102(38):13544–13549. 10.1073/pnas.0506577102
Efron B, Tibshirani R: On testing the significance of sets of genes. Ann Appl Statist 2007, 1: 107–129. 10.1214/07-AOAS101
Chen JJ, Lee T, Delongchamp RR, Chen T, Tsai CA: Significance analysis of groups of genes in expression profiling studies. Bioinformatics 2007, 23(16):2104–2112. 10.1093/bioinformatics/btm310
We thank the reviewers for their constructive comments and suggestions. Financial support for this project was provided by the Medical Research Council UK (MRC) and the work carried out with the support of all members of the Systems Toxicology Group of the MRC Toxicology Unit. SDZ thanks Qing Wen for helpful discussions on a searching algorithm in the implementation of the application.
SDZ and TWG designed the study. SDZ developed the algorithm, implemented the method, and analyzed the data. SDZ and TWG wrote the paper. All authors read and approved the final manuscript.
Electronic supplementary material
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
About this article
Cite this article
Zhang, S., Gant, T.W. sscMap: An extensible Java application for connecting small-molecule drugs using gene-expression signatures. BMC Bioinformatics 10, 236 (2009). https://0-doi-org.brum.beds.ac.uk/10.1186/1471-2105-10-236
- Gene Signature
- Java Application
- Reference Profile
- Treatment Instance
- Field Separator