title: balancing the bash calculations
body: <p>We have a tool for cutting adaptors <a href="https://github.com/vsbuffalo/scythe/blob/master/README.md" rel="nofollow noreferrer">https://github.com/vsbuffalo/scythe/blob/master/README.md</a> and we wanted it to be used on all the files in the raw folder and make an output of each file separately as OUT+File Name.</p>
  
  <p>Something is wrong with this script I wrote, because it doesn't take each file separately, and the whole thing doesn't work properly. It's gonna generateing empty file named OUT+files </p>
  
  <p>Expected operation will looks:</p>
  
  <p>take file1, use scythe on it, write output as OUTfile1</p>
  
  <p>take file2 etc.</p>
  
  <pre><code>    #!/bin/bash
  FILES=/home/dave/raw/*
  
  for f in $FILES
  do
    echo "Processing the $f file..."
    /home/deve/scythe/scythe -a /home/dev/scythe/illumina_adapters.fa -o "OUT"+$f $f
  done
  </code></pre>
  
  <p>Additionally, I noticed (testing for a single file) that the script uses only one core out of 130 available. Is there any way to improve it?</p>