How does SRA file looks and how is it converted into two fastq file in case of paired end?
How does SRA file looks and how is it converted into two fastq file in case of paired end?
SRA file is binary (not human readable), but looks just like any other file in a listing :-).
Use this guide for SRAtoolkit from NCBI, which is what you would use for converting an sra file to fastq.
You don't need to download sra files, but you can use fastq-dump from the SRAtoolkit (as @genomax2 mentioned already).
If you have the toolkit installed, you just have to name the SRA file which you want to have. It will be downloaded as a fastq file.
e.g., in linux terminal:
~/sratoolkit/bin/fastq-dump SRR2393592
Yes they do. SRA files are binary and compressed. Think of this as similar to using tar or gzip to compress files.
If you are interested in software, the source code for SRA software/utilities is available on this page.
use fastq-dump --split-3
command from sra-toolkit
For paired, use this: fastq-dump --split-3 SRR2393592
The easiest way to install SRA toolkit is from brew package. Follow this link to first install brew and once that's done, simply run brew install sratoolkit
in terminal
Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
ProTip: You can avoid using sratoolkit altogether. Search EBI-ENA with the SRA accession number to download fastq files directly (disclaimer: may not work for new SRA submissions, from within last day or two, but will eventually catch up).