I am trying to pass in an integer value into python's subprocess.call method:
subprocess.call('samtools','view','-bq', '1','DS130.bam','>','DS130umr.bam')
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'.
How can I get subprocess.call to interpret that '1' as an integer value?