Exporting data to Galaxy

Samples can also be exported directly to Galaxy. Samples exported from IRIDA into Galaxy are loaded into a Galaxy data library that can be easily shared with multiple Galaxy users.

Note: The Galaxy tool being used by this tutorial is located on GitHub https://github.com/phac-nml/irida-galaxy-importer. Please see the GitHub page for installation instructions (if the tool is not already installed in your Galaxy instance).

To export data from IRIDA to Galaxy, start in Galaxy and find the “IRIDA server” tool in the “Get Data” section:

IRIDA server import tool.

If you are not already logged into IRIDA, you will be required to log in using your IRIDA username and password:

IRIDA login.

After you log in to IRIDA (or if you were already logged in), you will be directed to the list of projects that you have permission to view. Choose the project containing the samples you wish to export:

Galaxy IRIDA projects list.

When you are connected to Galaxy from within IRIDA, there will be a notification at the top of the page. This will be there for the duration of your session. If you want to end you Galaxy session without exporting samples, click on the Cancel Galaxy Export link at the top right.

Navigate to the project that contains the samples that you’re interested in exporting by clicking on the project name. Then, select the samples that you want to export and click the Add to Cart button to add the samples to the cart. Samples can be added from any project that you have access to. Once all the samples have been added to the cart, click on the cart icon on the top menu bar. This will take you to the cart galaxy export page.

Galaxy IRIDA Cart.

On this page you will fill in a few options about your Galaxy export:

After selecting your options, click the Export Samples to Galaxy button to start the export.

After clicking this button, if it is your first time exporting data to Galaxy you may recieve an authentication page. Read the disclaimer, then click “Authorize” to begin the import.

Galaxy IRIDA Oauth2.

After authorizing, you will be redirected back to Galaxy and should see your files begin to import into the current history.

Export to Galaxy history item.

Additionally, if you opted to organize your data into collections of paired items, you will see the collections in your history:

Export to Galaxy history item.

You can view a report of the exported samples by clicking on the name of the history item. You can find your data library by clicking on “Shared Data” at the top of Galaxy and clicking on “Data Libraries”:

Galaxy data libraries button.