<?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: Subprocess pkg]]></title>
	<link>https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg?</link>
	<atom:link href="https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg?" rel="self" type="application/rss+xml" />
	<description><![CDATA[]]></description>
	
	<item>
	<guid isPermaLink="true">https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg</guid>
	<pubDate>Sun, 17 Aug 2014 07:59:32 -0500</pubDate>
	<link>https://bioinformaticsonline.com/pages/view/14091/subprocess-pkg</link>
	<title><![CDATA[Subprocess pkg]]></title>
	<description><![CDATA[<p>Subprocess is one of simplest way of running linux command from within python code</p><p>Example:</p><p>if you want to run fastqc for QC of fastq file:</p><p>from subprocess import Popen,PIPE,call</p><p>p=Popen(["fastqc","-f","fastq","-o", "/home/name/result/","/dev/stdin"],stdin=fopen("read.fastq","r") ,stdout=PIPE,stderr=PIPE)</p><p>print p.stderr</p><p>p.stdout.close()</p><p>More:</p><p>http://pymotw.com/2/subprocess/</p>]]></description>
	<dc:creator>Rahul Agarwal</dc:creator>
</item>

</channel>
</rss>