5 Upload Data to Galaxy
For Galaxy to be able to use your data, that data must be in your history on the Galaxy instance.
Data is not shared between Galaxy instances. For instance, if you upload data to usegalaxy.eu
it will not automatically be available on usegalaxy.org
or usegalaxy.au
.
5.1 Uploading your data
There are three main routes to uploading your data onto the Galaxy instance.
5.1.1 Use the You can load your own data
link in an empty workflow
This option is only visible when you have an empty workflow. Click on the You can load your own data
link under This history is empty
. This will bring up a dialogue box. You can drag and drop a file or files into the dialogue box, or use the Choose local file
button to navigate to the location of your files.
- Click on the
You can load your own data
link. - Drag the three workshop data files starting with
SARS_AY278741
into the dialogue box. - Click on the
Start
button. - The files will appear in the
History
sidebar. - Click the
Close
button in the file dialogue.
When the data files are first added to the workflow, they have a grey background. This indicates that Galaxy knows about the files, and is preparing to upload them.
When Galaxy begins to upload the files, the background changes to orange.
When the upload is complete, the background turns green.
If there is a problem with uploading, the background turns red (please signal to a demonstrator if this happens for you).
You will have noticed the Auto-detect
dropdown boxes when you uploaded your files. Galaxy is able to process files that describe many data types, including genome sequence data, transcriptome data, mass spectrometry data, and so on. Each individual file contains a single type of data.
Galaxy is usually clever enough to determine for itself what data is in a particular file, but sometimes it cannot recognise the contents, and you may have to specify the file type by choosing from the options in this drop-down box.
You can load your own data
link
5.1.3 Drag and drop data onto the workspace
You can also drag and drop data files directly into the central workspace window of Galaxy. This will trigger the file upload dialogue box.
- Drag the
trimmed_pe_aln.qsorted.mapped.fixed.2.fastq.gz
file into the Galaxy workspace. - A
Drag files here to upload
overlay will appear. - Drop the file in the overlay. A file upload dialogue box will appear.
- Click on the
Start
button. - The file will appear in the
History
sidebar. - Click the
Close
button in the file dialogue.
5.2 Inspecting Data
You can inspect the data you have uploaded to Galaxy visually in two ways.
5.2.1 In the History
To view the contents of an uploaded data file in the History
.
- Click on the file name (e.g.
SARS_AY278741.fasta
). The file descriptor will enlarge.
- The descriptor shows the file’s datatype (e.g. “format
fasta
”) - At the bottom of the descriptor, a preview of the dataset is shown, with the first few lines of the data.
- Click on the file name again to close the file descriptor.
5.2.2 In the Workspace
You can view the complete file contents (or at least a large preview of up to 1MB of data) in the main workspace window, by clicking on the eye
icon in the file descriptor.
- Click on the
eye
icon of one of the file descriptors (e.g.SARS_AY278741.gff3
). A representation of the data in the file will be shown in the workspace window.
History
and the Workspace
5.2.3 Using additional tools
The open file descriptor presents several icons, just above the data preview. These allow you to:
- Download the dataset to your computer
- Obtain a direct URL link to the data
- View details about the dataset
- Visualise the data interactively using an appropriate tool
- Show related dataset
View the video below to see some examples of this output.