# Get selected reads from SRA data sets

**URL:** <https://help.galaxyproject.org/t/get-selected-reads-from-sra-data-sets/4937>\
**Category:** usegalaxy.org support\
**Tags:** sra, filter, quality-control\
**Created:** [December 1, 2020, 3:52pm UTC](https://help.galaxyproject.org/t/get-selected-reads-from-sra-data-sets/4937 "2020-12-01T15:52:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![wmorgan485](https://sea2.discourse-cdn.com/flex020/user_avatar/help.galaxyproject.org/wmorgan485/32/1976_2.png) [@wmorgan485](https://help.galaxyproject.org/u/wmorgan485)\
**Post date:** [December 1, 2020, 3:52pm UTC](https://help.galaxyproject.org/t/get-selected-reads-from-sra-data-sets/4937/1 "2020-12-01T15:52:42Z")

</div>

I want to retrieve a subset of FASTQ reads from SRA data sets in my History. Previously, I used _fasterq-dump_ to import 4 SRA data sets into my history (e.g., SRR10201511) as a collection named “Pair-end data (fasterq-dump)”. I have a separate file with a list of ~120k read accession IDs (e.g., SRR10201511.1.1), and I now want to extract the fastq records with these accession IDs from the SRA data sets.

I tried to use the _Filter list_ tool in the Collection Operations section with the **Input Collection** set to “Pair-end data (fasterq-dump)” and **Filter out identifiers absent from** set to the uploaded text document with the list of read accession IDs (each ID on a separate line), but apparently this tool is used to retrieve complete data sets (e.g., SRR10201511) from a collection.

I see that the _Filter FASTA_ tool has the option “Criteria for filtering on the headers” where you can supply a list of IDs, but the _Filter FASTQ_ tool does not; you can only filter reads based on quality score and length.

Is there another tool available that can be used to retrieve the desired subset of reads from a fasterq-dump data set?
