NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

...

Step-By-Step Guide to Install and Use caArray Importer

...

caArray Importer v1.0.2 can be downloaded from this page.

caArray Importer Compatibility

...

Components

Description

Java 2 Platform Standard Edition 5.0 Update 10 (J2SE 5.0)

Building and running Java applications

Apache Ant 1.7.0

Building and running Java applications

Set JAVA_HOME and ANT_HOME environment variables

Refer to the caArray installation guide for further details

caArray legacy client distribution

Download from the caArray GForge sitefiles archive (login required)

Initial Configuration

The initial configuration of caArray Importer is specified by multiple parameters in the build.properties file, which is located in the root level of the caArray Importer distribution archive. For the parameters below, in most cases a user only needs to update the server.base.dir property. Note that the value for this property varies depending on the particular version of caArray you are running.

...

Parameters

Description

client.legacy.zip=caarray-client-legacy.zip

The location of the caArray Java client distribution zip file. By default it is assumed to be in the current working directory and named caarray-client-legacy.zip.

  • server.base.dir=C:/programs/caarray/caarray2_3_0 (for v2.3)
  • server.base.dir=C:/programs/caarray/caarray2_4_0_1 (for v2.4.0.1)
  • server.base.dir=C:/programs/caarray/caarray2_4_1 (for v2.4.1)

The base directory in which the caArray server was installed. The directory provided depends on the exact caArray version you are running.

Code Block
server.deploy.dir=${server.base.dir}/jboss-4.0.5.GA/server/default/deploy

The actual deployment directory. Normally this does not need to be changed. This can be left empty if you do not have write access to the deployment directory. In that case, you must manually copy it over after the caarray.ear file is updated.

Code Block
server.ear=${server.deploy.dir}/caarray.ear

The target caarray server ear file. Normally this does not need to be changed.

...

An example client-side program is provided to demonstrate the creation of a new project and the upload, validation and import of array data files. The source code can be found in the following file:

Code Block

example/src/main/java/org/cruk/cri/caarray/client/CaArrayImporterExample.java

...

  1. Make sure that your Java classpath includes the updated client library. (This is taken care of if you run the example using Ant as shown below).
  2. Upload the array design files for the Affymetrix Mapping 250K Nsp and Sty chips into caArray using caArray web interface.
  3. Create a directory called arraydata in the same location as that in which you execute the client-side program.
  4. Copy a few Affymetrix 250K data files (CEL, CHP) and optionally MAGE-TAB IDF and SDRF files to the arraydata directory .
  5. Run command below:

    Code Block
    
    $ ant compile-example
    $ ant run-example
    

...

  1. Upload the related array designs into the caArray web interface.
  2. Modify the values for the following constants in CaArrayImporterExample.java. Note that the values provided are for illustration purpose only and must be replaced:

    Code Block
    
    private static final String SERVER_HOST = "yourCaArrayServerHost";
              private static final int SERVER_JNDI_PORT = 31099;
              private static final String USERNAME = "yourUsername";
              private static final String PASSWORD = "yourPswd";
              public static String TITLE = "Test Affymetrix Expression Project";
              public static String PROVIDER = "Affymetrix";
              public static String ASSAY_TYPE = "Gene Expression";
              public static String[) ARRAY_DESIGNS = new String(] \{ "HG-U133_Plus_2" \};
    
  3. If you have your data files stored under a directory (for example: C:/data/caarray/MAGEdataFiles) different from the arraydata created in scenario 1, replace the directory arraydatawith the path to that directory as shown below in the function "main". It can be either relative or absolute path:

    Code Block
    
    client.uploadFiles(project, "C:/data/caarray/MAGEdataFiles");
    
  4. Copy a few Affymetrix HG-U133_Plus_2 data files (CEL, CHP) and optionally MAGE-TAB IDF and SDRF files to the C:/data/caarray/MAGEdataFiles directory .
  5. Run the command below:

    Code Block
    
    $ ant compile-example
    $ ant run-example
    

...

Please leave your comments in caArray End User Forum

...

Scrollbar
iconsfalse