MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE Manual do Utilizador Página 4: Introduction
Introduction
This guide assumes that you are a programmer and familiar with GenePattern. If you are new to GenePattern, work
through the
GenePattern Tutorial
before reading the more detailed information in this guide.
As a programmer, you generally work with GenePattern in one of two ways:
●
Creating GenePattern tasks.
Each GenePattern task invokes a program that executes a desired function. You
can use any language to write a program that can then be invoked as a GenePattern task. For more information,
see:
▪
Writing Modules for GenePattern
: This section provides tips for writing code that will be invoked as a
GenePattern task.
▪
Writing MATLAB Modules for GenePattern
: This section describes how to address MATLAB licensing and
distribution issues. Read this section if you are writing MATLAB code that will be invoked as a GenePattern
task.
●
Accessing GenePattern from Java, MATLAB, or R.
GenePattern libraries for these three programming
environments make it easy for your applications to run GenePattern tasks and retrieve analysis results. Each
library supports arbitrary scripting, access to GenePattern modules via function calls, and development of new
methodologies that combine modules in arbitrarily complex combinations. For more information, see:
▪
Using GenePattern from Java
▪
Using GenePattern from MATLAB
▪
Using GenePattern from R
Writing Modules for GenePattern
Creating a GenePattern task is a two-step process:
1.
Write a program that executes the desired function. For more information, see
Guidelines for Writing Programs
for GenePattern Modules
.
2.
Use the GenePattern Web Client to create a GenePattern task that invokes the program that you have written.
For more information, see
Creating Tasks
.
Guidelines for Writing Programs for GenePattern Modules
When writing a program that will be run as a GenePattern task, keep in mind the following:
●
Use the programming language of your choice.
You can write the program in the language of your choice.
You can use a compiled language, such as C, to create an executable or you can use a scripting language, such
as Perl, to create a script that is run by an interpreter.
●
Write messages to standard error and standard output.
GenePattern tasks are run on the server. The user
provides arguments and retrieves results, but does not interact during task execution. If necessary, write normal
output to standard output (stdout) and error messages to standard error (stderr); avoid writing error messages to
standard output. GenePattern captures stdout and stderr in log files, which can be retrieved by the user.
●
Write output files to the current working directory.
When a task completes, GenePattern displays the output
files that are in the current working directory. Files written to other locations are not displayed as task output files
(otherwise known as analysis result files).
●
Read module data files from <libdir>.
If your module needs to read from any data files which are part of the
module (rather than user input), it will need to know the directory where the module lives on the server; that is,
<libdir>
.
●
Read and write standard GenePattern file formats.
When reading and writing data files, you generally want to
use the standard GenePattern file formats, as described in
File Formats
. This makes it easier for users to
analyze their data using a combination of GenePattern modules. If you choose to use your own unique file
formats, be aware that other GenePattern modules will not be able to read those files.
For Java, MATLAB, and R, GenePattern provides libraries that include methods for reading and writing
GenePattern files (such as res, gct, and odf files). These libraries are designed for accessing GenePattern from
the Java, MATLAB, and R environments, but are also useful when writing modules to be invoked by
GenePattern. For instructions on downloading the libraries, see
Using GenePattern from Java
,
Using
GenePattern from MATLAB
, or
Using GenePattern from R
.
4
Ficheiro PDF · ·
Perguntas sobre MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE
Ainda não há perguntas sobre este manual. Faça a primeira.
Manuais e produtos relacionados com Software MATLAB APPLICATION DEPLOYMENT - WEB EXAMPLE GUIDE
- Software MATLAB CURVE FITTING TOOLBOX - RELEASE NOTES Manual do Utilizador
(54 páginas) - Software MATLAB GAUGES BLOCKSET RELEASE NOTES Guia do Utilizador
(114 páginas) - Software MATLAB EMBEDDED IDE LINK 4 - FOR USE WITH TEXAS INSTRUMENTS CODE COMPOSER STUDIO Especificações
(126 páginas) - Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Especificações
(216 páginas) - Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Guia do Utilizador
(386 páginas) - Software MATLAB BUILDER EX 1 Guia do Utilizador
(164 páginas) - Software MATLAB DATABASE TOOLBOX RELEASE NOTES Manual do Utilizador
(37 páginas) - Software MATLAB VIDEO AND IMAGE PROCESSING BLOCKSET 3 Guia do Utilizador
(252 páginas) - Software MATLAB SYSTEMTEST RELEASE NOTES Guia de Instalação
(237 páginas) - Software MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Manual do Utilizador
(54 páginas) - Software MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Manual de Serviço
(282 páginas) - Software MATLAB PARTIAL DIFFERENTIAL EQUATION TOOLBOX 1 Manual do Utilizador
(18 páginas) - Software MATLAB IMAGE ACQUISITION TOOLBOX - RELEASE NOTES Guia do Utilizador
(574 páginas) - Software MATLAB IMAGE ACQUISITION TOOLBOX 3 Guia do Utilizador
(408 páginas) - Software MATLAB XPC TARGET RELEASE NOTES Manual do Utilizador
(51 páginas) - Software MATLAB TARGET SUPPORT PACKAGE - RELEASE NOTES Manual do Utilizador
(42 páginas) - Software MATLAB BUILDER JA 2 Guia do Utilizador
(292 páginas) - Software MATLAB SIMULINK 7 - DEVELOPING S-FUNCTIONS Guia do Utilizador
(210 páginas) - Software MATLAB SIMULINK 7 - GRAPHICAL USER INTERFACE Guia do Utilizador
(759 páginas) - Software MATLAB CONTROL SYSTEM TOOLBOX 9 Especificações
(591 páginas)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22