How to Upload Data to Limelight
Follow these steps to upload your data to Limelight.
Convert to Limelight XML
Before search results can be uploaded to Limelight, they must be converted to Limelight XML. Please see our How to Convert Your Data to Limelight XML guide for more information.
Upload via Limelight Web Site
The simplest option for uploading data is to upload through the Limelight web interface. Just follow these steps:
Log into Limelight
Navigate to an existing project or create a new project.
Scroll down to the
Upload Data
section and click the arrow on the left to expand the section.
Click the
Import Limelight XML File
button. You should see the following dialog appear:
Enter a description of this run. E.g.,
Treated
.Click on the
+Add Limelight XML File
link and select your Limelight XML file on your computer.(Optional) Click on the
+Add Scan File
link and select the corresponding mzXML (or mzXML) file on your computer. This is required if you would like to view spectra associated with peptide identifications.Click the
Submit Upload
button to submit your data to Limelight.
After several minutes, refresh the page and your search should appear under the Explore Search Results
section
of the project page. Click on the Peptides
, Proteins
, or Modifications
links to view the data.
Upload via Command Line
You may also upload to Limelight directly from the command line of your computer or server. This is useful for automating the upload of a large number of files, or if the server has a faster connection to Limelight. Follow these steps to upload from the command line.
Obtain the submission Java program
If you haven’t already, download the submission program. This is the program you will run on the command line to send data to Limelight.
Log into Limelight
Navigate to an existing project or create a new project.
Scroll down to the
Upload Data
section and click the arrow on the left to expand the section.Click the
Command Line Import Info
button.In the window that opens, click the
Submit Import Program
link to download the import program. Save it to a location on your computer that you will remember.Alternatively, you can download it using
wget
in your terminal. Right-click on theSubmit Import Program
, copy the link address to your clipboard and type the following into your terminal:wget <paste link address> # for example: wget https://limelight.yeastrc.org/limelight/static/limelightSubmitImport/limelightSubmitImport.jar
Run the submission Java program
Follow these directions to run the command line submission program.
Ensure Java is installed on the system where you will be running the submission program. If it is not installed, see the official download site for Java.
Following the first 4 steps above to open the
Command Line Import Information
window. If you have not created a user submit import key, click theMake Key
button as depicted below. This submit import key is unique to your account and should not be shared. Anyone with this key can upload data to your projects.Reveal your submit import key by clicking on the
Show Key
button:Note the following highlighted information that appears:
This information is needed to upload data to this project. The first line is the URL of this Limelight installation URL, the second line is the project id number for this project, and the third line is an unguessable key that allows data to be uploaded as you. You can save this information for future use, without logging into Limelight.
Be ready to copy and paste this information into the command for running the submission program (below).
5. Run the command line submission program. The command to run the importer is the following. You will need to replace the locations of the limelightSubmitImport.jar, your Limelight XML file, and your mzML file(s) to your actual locations. You will also need to replace lines 2, 3, and 4 with what you copied from step 2 above.
# the command line program if you DO have scan file(s) java -jar /location/to/limelightSubmitImport.jar \ --limelight-web-app-url=https://limelight.yeastrc.org/limelight \ --project-id=7 \ --user-submit-import-key=12dee46123ceb09c61af8d34a9151c512657cf7f39 \ --limelight-xml-file=/location/to/limelight.xml \ --scan-file=/location/to/your.mzML # --scan-file can be repeated multiple times if you have multiple mzML or mzXML files in the search results.
If you do not have scan files to upload, the command would be the following:
# the command line program if you DO NOT have scan file(s) java -jar /location/to/limelightSubmitImport.jar \ --limelight-web-app-url=https://limelight.yeastrc.org/limelight \ --project-id=7 \ --user-submit-import-key=12dee46123ceb09c61af8d34a9151c512657cf7f39 \ --limelight-xml-file=/location/to/limelight.xml \ --no-scan-files
Note
If you are using a Windows command line, the lines should end with ^
instead of \
. For example:
java -jar c:\path\to\limelightSubmitImport.jar ^
--limelight-web-app-url=https://limelight.yeastrc.org/limelight ^
--project-id=7 ^
--user-submit-import-key=12dee46123ceb09c61af8d34a9151c512657cf7f39 ^
--limelight-xml-file=c:\path\to\limelight.xml ^
--no-scan-files