TracNav
Table of Contents
Introduction
MOLGENIS application overview
- Browsing and editing
- CSV file loading
- Connecting to R
- Connecting to SOAP web services
- Connecting to REST web services using CURL
- Molgenis as a datasource for Galaxy
Toolkit Installation
- Preperation on Windows
- Preperation on Ubuntu/Linux
- Installation of Eclipse/Galileo
- Installation of Eclipse/Helios
- Download MOLGENIS
Generating your own applications
- MOLGENIS workspace basics
- Running the generator
- Modeling a new MOLGENIS
- Modeling an existing database
- molgenis.properties file
Adding plug-ins
Building on the MOLGENIS framework
MOLGENIS Data Modeling Language Reference
MOLGENIS User Interface Modeling Language Reference
MOLGENIS framework API
Frequently asked questions
- How to change molgenis url from /molgenis_distro to xyz
- How to change the MolgenisServlet, e.g. to add more services
- How to extend an existing database model
- Case sensitivity and issues between windows, linux and mac
- How to create a hyperlink from plugin to another form
- How to create a hyperlink from plugin to another form
- How to create a hyperlink from plugin to another form
MOLGENIS generator basics
In this section you go through the basic procedure of generation, compilation and running of a MOLGENIS application.
- Run the MOLGENIS generator: right-click on the MolgenisGenerate?.java program and choose ‘Run as….run as Java Application:
The MOLGENIS generator parses the *.xml files to read in the model and subsequently translates the model in many Java, SQL and R files that end up in the folder generated/java and generated/sql. All this will be printed to the console. Scroll through the console to get a feel for what has just happened:
- Run the MOLGENIS database updater: right-click the MolgenisUpdateDatabase?.java program and choose Run as….Java Application. This will load generated/java/create_tables.sql into mysql database based on the settings in 'molgenis.properties'.
- Compile the generated application: right-click on the molgenis3_x_distro project and choose [refresh]. This will force Eclipse to discover and compile the code you just generated.
- Run the application: right-click on the molgenis3_x_distro project and choose [Run as…] -> [Run on server].
Notice: on the first run this will in a dialog asking you to define a new server. Choose Tomcat of your version and choose [next] to point it to the right directory.
- Finally browse the generated result and test the result by adding data:
Up to MolgenisGuide back to MolgenisWorkspaceBasics next MolgenisAddressBookExample
Attachments
-
molgenis-first-result.gif
(15.8 KB) -
added by mswertz 2 years ago.
-
molgenis-generator-console.gif
(8.5 KB) -
added by mswertz 2 years ago.
-
molgenis-project-outline.gif
(6.8 KB) -
added by mswertz 2 years ago.
-
molgenis-run-generator.gif
(2.1 KB) -
added by mswertz 2 years ago.
-
molgenis-run-on-server.gif
(16.1 KB) -
added by mswertz 2 years ago.
-
molgenis-updatedatabase-con.gif
(5.6 KB) -
added by mswertz 2 years ago.




