<?xml version='1.0'?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:atom="http://www.w3.org/2005/Atom" >
<channel>
	<title><![CDATA[BOL: Bash script to download SRA file !]]></title>
	<link>https://bioinformaticsonline.com/snippets/view/40717/bash-script-to-download-sra-file?</link>
	<atom:link href="https://bioinformaticsonline.com/snippets/view/40717/bash-script-to-download-sra-file?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/snippets/view/40717/bash-script-to-download-sra-file</guid>
	<pubDate>Tue, 28 Jan 2020 04:15:52 -0600</pubDate>
	<link>https://bioinformaticsonline.com/snippets/view/40717/bash-script-to-download-sra-file</link>
	<title><![CDATA[Bash script to download SRA file !]]></title>
	<description><![CDATA[<code>#We can use the sratoolkit to directly pull the sequence data (in paired FASTQ format) from the archive. fastq-dump is in the SRA toolkit. It allows directly downloading data from a particular sequencing run ID

fastq-dump --split-files SRR1770413

#SRA stores data in a particular compressed format (SRA!) that isn&#039;t directly compatible with any downstream tools, so it&#039;s necessary to put things into FASTQ for further processing. The --split-files part of the command ensures we get two files, one for the first and second mate in each pair. We&#039;ll use them in this format when aligning.

wget ftp://ftp-trace.ncbi.nlm.nih.gov/sra/sra instant/reads/ByRun/sra/SRR/SRR177/SRR1770413/SRR1770413.sra
sra-dump --split-files SRR1770413.sra</code>]]></description>
	<dc:creator>Jit</dc:creator>
</item>

</channel>
</rss>