PRIDE-Toolsuite / pride-converter-2

Automatically exported from code.google.com/p/pride-converter-2
0 stars 6 forks source link

PRIDE Converter 2 is no longer under active development :warning:

This tool is no lunger under active development by the Proteomics team at EMBL-EBI. As such, please do not expect any new features, functionality or bug fixes. This is still an open-source project, so feel free to fork, branch, and submit pull requests. :warning:

Quick Download

About PRIDE Converter 2

The PRIDE Converter 2 tool suite is a composed of 4 independent applications:

The PRIDE Converter 2 application will convert MS search result files containing identification and spectra into PRIDE XML.

The PRIDE mzTab Generator will produce skeleton mzTab files from MS search results files. These skeleton files require either manual or scripted editing to add quantitation and/or gel information.

The PRIDE XML Filter will remove identifications or spectra from PRIDE XML files based on a series of configurable filters.

The PRIDE XML Merger will combine several PRIDE XML files into a single one.

All tools have both a Graphical User Interface (GUI) and a Command-Line Interface (CLI). The GUIs have been designed to provide a rich, user-friendly interface while the CLIs have been developed mainly for tool and pipeline developers to be able to integrate the PRIDE Converter 2 tools in their own software to provide an efficient way to generate PRIDE XML from their own resources.

Publications

When you use PRIDE Converter 2, please cite the following publication:

Cote RG & Griss J, et al., Mol Cell Proteomics. 2012 Sep 4. PDF File. PubMed Record.

System Requirements

Java: 64-bit, JRE 1.5+
CPU: 1 gigahertz (GHz) or faster 64-bit processor.
Memory: 1+ GB RAM.
Hard Disk: 55 MB available for installation, plus more for file conversions.
Platform: 64-bit, Windows / Max / Linux.
An established Internet connection. 

Documentation

Title Link
PRIDE Converter 2 GUI user guide PDF
PRIDE Converter 2 CLI user guide PDF
PRIDE Converter 2 Developer guide PDF

Troubleshooting

Please check the converter.properties file with respect to the memory settings for Java (see below). The default configuration used very limited memory, which may cause Java Heap Space errors if larger files are converted. To resolve these errors increase the memory configuration (example: jvm.args=-Xms512M -Xmx2024M), but please make sure your computer has enough memory.

The Application Selector window appears but no tools start when a button is clicked

When PRIDE Converter 2 starts in the GUI mode, the first screen that is displayed is the application selector. In rare occasions, it is possible that nothing happens when the users click on a button to start a specific application (Converter, Filter, Merger, mzTab generator). This is generally a problem caused with improper Java configuration. Please ensure that JAVA_HOME is correctly set in your environment and that the java runtime executable file is in your path. Please refer to the Java documentation on how to properly install and configure the Java Runtime Environment (http://java.com/en/download/help/download_options.xml).

When a button is clicked from the application selector, a new process is launched based on the settings found in the converter.properties file that is located in the same directory as the PRIDE Converter 2 jar file.

###############################################################
# Pride Converter GUI Bootstrap configuration
###############################################################

# set the exact path of the java executable if not already in the path
# do not include the executable itself. Do not include the trailing slash.

# eg java.home=/home/rcote/dev/jdk1.6.0_13/bin
# and not
# eg java.home=/home/rcote/dev/jdk1.6.0_13/bin/java
# or not
# eg java.home=/home/rcote/dev/jdk1.6.0_13/bin/
#
# NOTE - Windows users will need to use double-backslashes
# c:\\Program Files\\java\\jre7\\bin
#
# Note - Max OS users will need to point to the correct folder
# /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands
java.home=

# any JVM argument listed here will be passed verbatim to the JVM
jvm.args=-Xms64M -Xmx1024M

# IF YOU GET OutOfMemoryErrors and your system has more RAM available
# change the jvm.args settings to increase the amount of memory
# allocated to the Converter
#jvm.args=-Xms128M -Xmx2G

# uncomment and set accordingly to configure PROXY settings
#http.proxyHost=webcache.mydomain.com
#http.proxyPort=8080
#http.proxyUser=
#http.proxyPassword=
#http.proxySet=true

If JAVA_HOME isn’t properly set, the new process might not properly start. One way to circumvent this problem is to update the java.home setting in the properties file. You need to include the full path to the java executable, without the trailing slash

java.home=/home/rcote/dev/jdk1.6.0_13/bin              - correct for linux and Mac OS X
java.home=c:\\Program Files\\jdk1.6.0_13\\bin             - correct for Windows

If this still does not work correctly, try starting PRIDE Converter 2 from the command line, as useful debugging information is logged to the console window.

rcote@bobble: target$ java -jar pride-converter-2.0-SNAPSHOT.jar 

Reading properties file: ./converter.properties
Bootstrap command: /usr/lib/jvm/java-6-sun-1.6.0.26/jre/bin/java -Xms128M -Xmx4000M \
  -cp ./pride-converter-2.0-SNAPSHOT.jar \
  uk.ac.ebi.pride.tools.converter.gui.ConverterApplicationSelector$ConverterLauncher

Name of the OS: Linux
Version of the OS: 2.6.32-41-generic
Architecture of The OS: amd64
Java Home: /usr/lib/jvm/java-6-sun-1.6.0.26/jre
Java Version: 1.6.0_26 (Sun Microsystems Inc.)
Number of processors: 2
Memory Usage: 122MB used, 114MB free, 3555MB Max
Validator Loaded

This information can be communicated with the PRIDE helpdesk to help fix the problem.

If nothing still seems to be happening, please look in the logs. You will probably find something like this:

2012-09-10 15:32:43,006 ERROR ConverterApplicationSelector - The JVM exited with an error code. This probably means that your application did not start correctly.
2012-09-10 15:32:43,006 ERROR ConverterApplicationSelector - Please select the 'Show Debug Information' from the help menu or try running the boostrap command from a console.

If you see these errors, please start the converter GUI and turn on the 'Show Debug Information' from the 'Help' menu in the upper right corner. This will write more information to the log file and can help solve the problem.

A common source of this error happens if the default memory settings are not appropriate for your configuration, you might get an error message similar to this:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

In this case, lower the default memory settings in the jvm.args property and restart the converter.

A progress window appears but the application seems to hang

If you are converting a large number of files or files that are very big or contain a large number of spectra, the conversion process can take anywhere from minutes to hours. This is normal and the time required will be in direct proportion to the number, size and complexity of the source files. The GUI will always show message dialogs if exceptions occur. If the application still seems to hang but no error message is shown, users should look in the log file that is in the log directory where the PRIDE Converter 2 was installed.

The application runs out of memory

The PRIDE Converter 2 tool suite was written to be as memory-efficient as possible. However, if converting a large number of big files, it is always possible to run out of memory. If this should happen, please update the jvm.args setting in the converter.properties file.

The application cannot use the OLS

The PRIDE Converter 2 tool suite requires a working internet connection to connect to the OLS web service to perform CV term related queries. If you are on a computer that requires a proxy configuration to access external network resources, you will need to uncomment and update the five http.proxy settings in the converter.properties file.