title: bgzip all VCF files in a directory?
body: <p>So I've been trying to bgzip around 100 VCF files in parallel, but although the jobs are submitted and files get created there's definitely something wrong. </p>
  
  <p>So far I've been trying: </p>
  
  <pre><code>$for file in *.vcf 
  
  &gt; do
  
  &gt; bsub /foo/bar/bgzip $file
  
  &gt;&gt; $file.gz 
  </code></pre>
  
  <p>What is the correct way to do this? </p>
  
  <p>Thanks in advance!</p>