What it does?
This tool extracts data (in BAM format) from the Short Read Archive (SRA) at the National Center for Biotechnology Information (NCBI). It is based on the sam-dump utility of the SRA Toolkit and returns a collection of NGS data containing one file for each accession number provided.
How to use it?
There are three ways in which you can download data:
- Plain text input of accession number(s)
- Providing a list of accessions from file
- Extracting data from an already uploaded SRA dataset
Below we discuss each in detail.
Plain text input of accession number(s)
When you type an accession number (e.g., SRR1582967) into Accession box and click Execute the tool will fetch the data for you. You can also provide a list of multiple accession numbers (e.g. SRR3141592, SRR271828, SRR112358).
Providing a list of accessions from file
A more realistic scenario is when you want to upload a number of datasets at once. To do this you need a list of accession, where there is only one accession per line (see below for information on how to generate such a file). Once you have this file:
- Upload it into your history using Galaxy's upload tool
- Once the list of accessions is uploaded choose List of SRA accessions, one per line from select input type dropdown
- Choose uploaded file within the sra accession list field
- Click Execute
Extract data from an already uploaded SRA dataset
If an SRA dataset is already present in the history, the sequencing data can be extracted in a human-readable data format (fastq, sam, bam) by setting select input type drop-down to SRA archive in current history.
How to generate accession lists
- Go to SRA Run Selector by clicking this link
- Find the study you are interested in by typing a search term within the Search box. This can be a word (e.g., mitochondria) or an accession you have gotten from a paper (e.g., SRR1582967).
- Once you click on the study of interest you will see the number of datasets in this study within the Related SRA data box
- Click on the Runs number
- On the page that would open you will see Accession List button
- Clicking of this button will produce a file that you will need to upload into Galaxy and use as the input to this tool.
For credits, information, support and bug reports, please refer ato https://github.com/galaxyproject/tools-iuc.