title: How can I pass an integer value into python's subprocess.call method?
body: <p>I am trying to pass in an integer value into python's subprocess.call method:</p>
  
  <pre><code>subprocess.call('samtools','view','-bq', '1','DS130.bam','&gt;','DS130umr.bam')
  </code></pre>
  
  <p>The argument after '-bq' needs to be an integer value. However I believe that subprocess.call keeps treating it as a string and so I keep getting the error 'TypeError: bufsize must be an integer'.</p>
  
  <p>How can I get subprocess.call to interpret that '1' as an integer value?</p>