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:
If you are not already logged into IRIDA, you will be required to log in using your IRIDA username and password:
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:
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.
On this page you will fill in a few options about your Galaxy export:
- Galaxy User Email: This email must exactly match the email of your Galaxy account. Incorrectly adding your Galaxy email will result in a failed export.
- Include assemblies: Whether to include assemlies in the Galaxy export. If this box is checked, any assemblies associated with the samples in the cart will be included.
- Include FAST5: Whether to include FAST5 data in the Galaxy export. If this box is checked, any FAST5 files associated with the samples in the cart will be included.
- Automatically create collection: If this box is checked, a collection will be created in Galaxy with the contents of this 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.
After authorizing, you will be redirected back to Galaxy and should see your files begin to import into the current history.
Additionally, if you opted to organize your data into collections of paired items, you will see the collections in your history:
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”: