|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--at.tugraz.genome.R.carmaweb.axis.AxisClient
Field Summary | |
static java.lang.String |
FUN_ADDFILE
|
static java.lang.String |
FUN_ADDSTEP_AFFY_NORMALIZATION
|
static java.lang.String |
FUN_ADDSTEP_AFFY_REPLICATE_HANDLING
|
static java.lang.String |
FUN_ADDSTEP_TWOCOLOR_PREPROCESSING
|
static java.lang.String |
FUN_ADDSTEP_TWOCOLOR_REPLICATE_HANDLING
|
static java.lang.String |
FUN_ERRORMESSAGE
|
static java.lang.String |
FUN_GENERATEID
|
static java.lang.String |
FUN_GET_AFFY_NORM_METHODS
|
static java.lang.String |
FUN_GET_AFFY_NORM_METHODS_DESCRIPTIONS
|
static java.lang.String |
FUN_GET_METHOD_DESCRIPTION
|
static java.lang.String |
FUN_GET_TWOCOLOR_BACKGROUND_CORRECTION_METHODS
|
static java.lang.String |
FUN_GET_TWOCOLOR_BETWEEN_ARRAY_NORMALIZATION_METHODS
|
static java.lang.String |
FUN_GET_TWOCOLOR_WITHIN_ARRAY_NORMALIZATION_METHODS
|
static java.lang.String |
FUN_GETFILE
|
static java.lang.String |
FUN_GETSTATUS
|
static java.lang.String |
FUN_JUSTAFFYNORMALIZATION
|
static java.lang.String |
FUN_JUSTTWOCOLOR_PREPROCESSING
|
static java.lang.String |
FUN_LISTFILES
|
static java.lang.String |
FUN_PERFORM_GO_ANALYSIS
|
static java.lang.String |
FUN_REMOVEFILE
|
static java.lang.String |
FUN_START_DEFINED_ANALYSIS
|
static java.lang.String |
FUN_VOIDEVAL
|
static java.lang.String |
STATUS_ERROR
|
static java.lang.String |
STATUS_FINISHED
|
static java.lang.String |
STATUS_RUNNING
|
static java.lang.String |
STATUS_UNKNOWN
|
Constructor Summary | |
AxisClient()
|
|
AxisClient(java.util.Properties props)
|
Method Summary | |
java.lang.String |
addStepAffyNormalization(java.lang.String id,
java.lang.String[] files,
java.lang.String method,
boolean historaw,
boolean histonorm,
boolean save,
boolean mas5calls,
boolean includeannotation)
Adds a Affymetrix GeneChip preprocessing step to the analysis. |
java.lang.String |
addStepAffyReplicateHandling(java.lang.String id,
java.lang.String method,
java.lang.Integer[] replicateArrays,
java.lang.String[] replicatedArraysNames,
boolean averageProbes)
Adds a replicate handling step to the analysis. |
java.lang.String |
addStepTwoColorPreprocessing(java.lang.String id,
java.lang.String[] files,
java.lang.String source,
java.lang.String wtfun,
java.lang.String galfile,
java.lang.String averageSignal,
java.lang.String bgCorr,
java.lang.String withinNorm,
java.lang.String betweenNorm,
boolean save,
boolean plots)
Adds a two color microarray preprocessing step to an analysis. |
java.lang.String |
addStepTwoColorReplicateHandling(java.lang.String id,
java.lang.String method,
java.lang.Integer[] replicateArrays,
java.lang.Boolean[] dyeSwap,
java.lang.String[] replicatedArraysNames,
boolean averageSpots)
Adds a two-color microarray replicate handling step to the analysis. |
java.lang.String |
generateID()
Generated a unique ID for the analysis. |
java.lang.String[] |
getAffyNormalizationMethods()
Returns the available normalization methods for Affymetrix GeneChips. |
java.lang.String |
getErrorMessage(java.lang.String id)
Returns the specific error message of the analysis if one exists. |
java.io.File |
getFile(java.lang.String id,
java.io.File workspace,
java.lang.String filename)
Downloads a file from the workspace on the server to the local filesystem. |
javax.activation.DataHandler |
getFile(java.lang.String id,
java.lang.String filename)
Returns a DataHandler of a file that is stored in the workspace on the server. |
static AxisClient |
getInstance()
Returns an instance of class AxisClient. |
static AxisClient |
getInstance(java.util.Properties props)
Returns an instance of class AxisClient. |
java.lang.String |
getMethodDescription(java.lang.String method)
Returns a description of the method submitted. |
java.util.Properties |
getProperties()
Returns the Properties. |
java.lang.String |
getStatus(java.lang.String id)
Returns the status of the analysis. |
java.lang.String[] |
getTwoColorBackgroundCorrectionMethods()
Returns the available background correction methods for two color microarrays. |
java.lang.String[] |
getTwoColorBetweenArrayNormalizationMethods()
Returns the available between microarray normalization methods for two-color microarrays. |
java.lang.String[] |
getTwoColorWithinArrayNormalizationMethods()
Returns the available within microarray normalization methods for two-color microarrays. |
java.lang.String[] |
listFiles(java.lang.String id)
Lists all files that are stored in the workspace on the server. |
java.lang.String |
performGOAnalysis(java.lang.String id,
java.lang.String goFile,
java.lang.String llColumn,
java.lang.String allGOFile,
java.lang.String allLLColumn,
java.lang.String affyChip,
boolean drawDAG,
java.lang.Float pCut,
boolean mf,
boolean cc,
boolean bp)
Performs a Gene Ontology analysis using the GO and GOstats packages from BioConductor. |
java.lang.String |
performJustAffyNormalization(java.lang.String id,
java.lang.String method,
boolean historaw,
boolean histonorm,
boolean save,
boolean mas5calls,
boolean includeannotation)
Performs just an Affymetrix GeneChip normalization. |
java.lang.String |
performJustTwoColorPreprocessing(java.lang.String id,
java.lang.String[] files,
java.lang.String source,
java.lang.String wtfun,
java.lang.String galfile,
java.lang.String averageSignal,
java.lang.String bgCorr,
java.lang.String withinNorm,
java.lang.String betweenNorm,
boolean save,
boolean plots)
Performs just a preprocessing of two-color microarray data. |
void |
removeFile(java.lang.String id,
java.lang.String filename)
Delete a file in the workspace. |
java.lang.String |
sendFile(java.lang.String id,
java.io.File file)
Sends a file to the web service. |
void |
setProperties(java.util.Properties props)
Sets the Properties. |
java.lang.String |
startDefinedAnalysis(java.lang.String id)
Starts an already defined analysis. |
java.lang.String |
voidEvalExpression(java.lang.String id,
java.lang.String command)
Evaluates the R command sent. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String FUN_GENERATEID
public static final java.lang.String FUN_ADDFILE
public static final java.lang.String FUN_GETFILE
public static final java.lang.String FUN_LISTFILES
public static final java.lang.String FUN_GETSTATUS
public static final java.lang.String FUN_ERRORMESSAGE
public static final java.lang.String FUN_VOIDEVAL
public static final java.lang.String STATUS_RUNNING
public static final java.lang.String STATUS_ERROR
public static final java.lang.String STATUS_FINISHED
public static final java.lang.String STATUS_UNKNOWN
public static final java.lang.String FUN_REMOVEFILE
public static final java.lang.String FUN_START_DEFINED_ANALYSIS
public static final java.lang.String FUN_ADDSTEP_AFFY_NORMALIZATION
public static final java.lang.String FUN_JUSTAFFYNORMALIZATION
public static final java.lang.String FUN_JUSTTWOCOLOR_PREPROCESSING
public static final java.lang.String FUN_ADDSTEP_TWOCOLOR_PREPROCESSING
public static final java.lang.String FUN_ADDSTEP_TWOCOLOR_REPLICATE_HANDLING
public static final java.lang.String FUN_ADDSTEP_AFFY_REPLICATE_HANDLING
public static final java.lang.String FUN_PERFORM_GO_ANALYSIS
public static final java.lang.String FUN_GET_AFFY_NORM_METHODS
public static final java.lang.String FUN_GET_AFFY_NORM_METHODS_DESCRIPTIONS
public static final java.lang.String FUN_GET_METHOD_DESCRIPTION
public static final java.lang.String FUN_GET_TWOCOLOR_BACKGROUND_CORRECTION_METHODS
public static final java.lang.String FUN_GET_TWOCOLOR_WITHIN_ARRAY_NORMALIZATION_METHODS
public static final java.lang.String FUN_GET_TWOCOLOR_BETWEEN_ARRAY_NORMALIZATION_METHODS
Constructor Detail |
public AxisClient()
public AxisClient(java.util.Properties props)
Method Detail |
public static AxisClient getInstance()
public static AxisClient getInstance(java.util.Properties props)
props
- Properties containing properties ws.url and mantain.session where ws.url represents the url to the web service to use and mantain.session should be true or false.
public java.lang.String sendFile(java.lang.String id, java.io.File file) throws java.lang.Exception
id
- the ID for the session / analysis.file
- the file that should be sent to the web service.
java.lang.Exception
- any exception that might be thrown.public java.lang.String generateID() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getAffyNormalizationMethods() throws java.lang.Exception
java.lang.Exception
public java.lang.String getMethodDescription(java.lang.String method) throws java.lang.Exception
method
- The method for which the description should be returned.
java.lang.Exception
public javax.activation.DataHandler getFile(java.lang.String id, java.lang.String filename) throws java.lang.Exception
id
- The ID for the corresponding workspace / analysis.filename
- The name of the file that should be downloaded.
java.lang.Exception
public java.io.File getFile(java.lang.String id, java.io.File workspace, java.lang.String filename) throws java.lang.Exception
id
- The ID of the corresponding analysis / workspace.workspace
- The directory on the local filesystem where the file should be downloaded to.filename
- The name of the file that should be downloaded.
java.lang.Exception
public java.lang.String[] listFiles(java.lang.String id) throws java.lang.Exception
id
- The ID of the corresponding analysis / workspace.
java.lang.Exception
public java.lang.String getStatus(java.lang.String id) throws java.lang.Exception
id
- The ID of the corresponding analysis.
java.lang.Exception
public java.lang.String getErrorMessage(java.lang.String id) throws java.lang.Exception
id
- The ID of the corresponding analysis.
java.lang.Exception
public java.lang.String voidEvalExpression(java.lang.String id, java.lang.String command) throws java.lang.Exception
id
- The ID of the corresponding analysis.command
- The command that should be evaluated.
java.lang.Exception
public void removeFile(java.lang.String id, java.lang.String filename) throws java.lang.Exception
id
- The ID of the corresponding analysis / workspace.filename
- The filename of the file that should be deleted.
java.lang.Exception
public java.lang.String performGOAnalysis(java.lang.String id, java.lang.String goFile, java.lang.String llColumn, java.lang.String allGOFile, java.lang.String allLLColumn, java.lang.String affyChip, boolean drawDAG, java.lang.Float pCut, boolean mf, boolean cc, boolean bp) throws java.lang.Exception
id
- The ID of the corresponding analysis / workspace.goFile
- The name of the file that contains the EntrezGene (LocusLink) IDs of the genes for which the GO analysis should be performed.llColumn
- The name of the column in the file goFile that contains the IDs.allGOFile
- The file containing the EntrezGene IDs of all genes that can be detected with the microarray used (Affymetrix users can specify the name of the GeneChip instead of this file).allLLColumn
- The name of the column in the allGOFile file that contains the IDs.affyChip
- The name of the Affymetrix GeneChip used (e.g. hgu133plus2, ...).drawDAG
- If a directed acyclic graph of the GO terms should be drawn.pCut
- The p value below which the nodes should be colored in red.mf
- Map the genes to the molecular function ontology.cc
- Map the genes to the cellular component ontology.bp
- Map the genes to the biological process ontology.
java.lang.Exception
public java.lang.String performJustAffyNormalization(java.lang.String id, java.lang.String method, boolean historaw, boolean histonorm, boolean save, boolean mas5calls, boolean includeannotation) throws java.lang.Exception
id
- The ID for the corresponding analysis / workspace where the raw data files (CEL files) where uploaded.method
- The method that should be used for the preprocessing (rma, justRMA, justGCRMA, gcrma, mas5 (justRMA and justGCRMA should be used for a large number of CEL files))historaw
- If a histogram of the raw intensities should be drawn.histonorm
- If a histonorm of the normalized data should be drawn.save
- If the normalized expression values should be saved to a file (with the default filename ExpressionValues.txt).mas5calls
- If mas5 present calls should be calculated.includeannotation
- If the probe sets should be annotated.
java.lang.Exception
public java.lang.String addStepAffyNormalization(java.lang.String id, java.lang.String[] files, java.lang.String method, boolean historaw, boolean histonorm, boolean save, boolean mas5calls, boolean includeannotation) throws java.lang.Exception
id
- The ID of the corresponding analysis / workspace.files
- The names of the CEL files that should be normalized. The CEL files will be processed in the order they are submitted with this argument. Obviously the files have to be uploaded first to the web service / workspace using the addFile method.method
- The preprocessing method. See performJustAffyNormalization for the options.historaw
- If a histogram of the raw data should be drawn.histonorm
- If a histogram of the normalized data should be drawn.save
- If the normalized expression values should be saved to a file (ExpressionValues.txt).mas5calls
- If mas5 present calls should be calculated.includeannotation
- If the probe sets should be annotated.
java.lang.Exception
public java.lang.String addStepTwoColorPreprocessing(java.lang.String id, java.lang.String[] files, java.lang.String source, java.lang.String wtfun, java.lang.String galfile, java.lang.String averageSignal, java.lang.String bgCorr, java.lang.String withinNorm, java.lang.String betweenNorm, boolean save, boolean plots) throws java.lang.Exception
id
- The ID for the corresponding analysis / workspace.files
- The files. (raw data microarray files, for example GenePix gpr files).source
- The microarray scanning software used. Supported are: agilent, arrayvision, genepix, imagene, quantarray, smd.old, smd, spot.wtfun
- For genepix and spot microarrays. wt fun is a function that can be used to flag or weight bad spots. wtflags(0) will give all flagged spots a weight of 0, and therefore these spots will be excluded from the further analysis.galfile
- For microarrays scanned with the genepix software. The name of the GAL file. Sometimes it is better to set the createGAL argument to true instead of submitting a GAL file.averageSignal
- For microarrays scanned with the genepix software. If the mean or median signla should be used. (mean or median).bgCorr
- The background correction method. (none, subtract, half, minimum, movingmin, edwards, normexp)withinNorm
- The within microarray normalization method. (none, median, loess, printtiploess, composite, robustspline)betweenNorm
- The between microarrays normalization method. (none, scale, quantile, Aquantile, Gquantile, Rquantile)save
- If the normalized values should be stored to a file.plots
- If plots (histograms and MA plots) should be created.
java.lang.Exception
public java.lang.String addStepTwoColorReplicateHandling(java.lang.String id, java.lang.String method, java.lang.Integer[] replicateArrays, java.lang.Boolean[] dyeSwap, java.lang.String[] replicatedArraysNames, boolean averageSpots) throws java.lang.Exception
id
- The ID of the analysis.method
- The averaging method (mean or median).replicateArrays
- The definition which arrays should be averaged. e.g. {new Integer(1),new Integer(1),new Integer(2),new Integer(2)} if the first two microarrays should be averaged and the next two too.dyeSwap
- The definition for which arrays the dyes were swapped. Null is allowed if no dye swaps were performed.replicatedArraysNames
- An optional String[] specifying the names for the (new) averaged microarrays.averageSpots
- If replicated spots within each microarray should also be averaged (replicated spots on a microarray are only averaged, if they have the same ID).
java.lang.Exception
public java.lang.String addStepAffyReplicateHandling(java.lang.String id, java.lang.String method, java.lang.Integer[] replicateArrays, java.lang.String[] replicatedArraysNames, boolean averageProbes) throws java.lang.Exception
id
- The ID of the analysis.method
- The averaging method (mean or median).replicateArrays
- The definition which arrays should be averaged. e.g. {new Integer(1),new Integer(1),new Integer(2),new Integer(2)} if the first two GeneChips should be averaged and the next two too.replicatedArraysNames
- An optional String[] specifying the names for the (new) averaged microarrays.averageProbes
- If replicated probe sets within each GeneChip should also be averaged.
java.lang.Exception
public java.lang.String[] getTwoColorBackgroundCorrectionMethods() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getTwoColorWithinArrayNormalizationMethods() throws java.lang.Exception
java.lang.Exception
public java.lang.String[] getTwoColorBetweenArrayNormalizationMethods() throws java.lang.Exception
java.lang.Exception
public java.lang.String performJustTwoColorPreprocessing(java.lang.String id, java.lang.String[] files, java.lang.String source, java.lang.String wtfun, java.lang.String galfile, java.lang.String averageSignal, java.lang.String bgCorr, java.lang.String withinNorm, java.lang.String betweenNorm, boolean save, boolean plots) throws java.lang.Exception
id
- The ID for the corresponding analysis / workspace.files
- The files. (raw data microarray files, for example GenePix gpr files).source
- The microarray scanning software used. Supported are: agilent, arrayvision, genepix, imagene, quantarray, smd.old, smd, spot.wtfun
- For genepix and spot microarrays. wt fun is a function that can be used to flag or weight bad spots. wtflags(0) will give all flagged spots a weight of 0, and therefore these spots will be excluded from the further analysis.galfile
- For microarrays scanned with the genepix software. The name of the GAL file. Sometimes it is better to set the createGAL argument to true instead of submitting a GAL file.averageSignal
- For microarrays scanned with the genepix software. If the mean or median signla should be used. (mean or median).bgCorr
- The background correction method. (none, subtract, half, minimum, movingmin, edwards, normexp)withinNorm
- The within microarray normalization method. (none, median, loess, printtiploess, composite, robustspline)betweenNorm
- The between microarrays normalization method. (none, scale, quantile, Aquantile, Gquantile, Rquantile)save
- If the normalized values should be stored to a file.plots
- If plots (histograms and MA plots) should be created.
java.lang.Exception
public java.lang.String startDefinedAnalysis(java.lang.String id) throws java.lang.Exception
id
- The ID of the analysis.
java.lang.Exception
public java.util.Properties getProperties()
public void setProperties(java.util.Properties props)
props
- The Properties.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |