From lederoc@gmail.com Thu May 3 20:38:31 2012 From: Ciara Ledero To: galaxy-dev@lists.galaxyproject.org Subject: [galaxy-dev] Empty file generation Date: Fri, 04 May 2012 08:38:24 +0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1602476290079429613==" --===============1602476290079429613== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit This is my code for running samtools pileup: open INP,"< $ARGV[0]" or die "Cannot open file! $!"; open INP2, "< $ARGV[1]" or die "Cannot open file! $!"; open OUT,"> $ARGV[2]" or die "Cannot open file! $!"; open SCRIPT,"samtools pileup -cv -f $ARGV[0] $ARGV[1] 2>/dev/null | "; while(