#!/bin/bash for x in `more <>`; do echo "${x}"; mkdir ${x}; bsub -q normal -P <> -o ${x}/${x}.o -e ${x}/${x}.e ~sh16/scripts/primers_to_tab.py -p -o ${x}.contigs_velvet.fa ; done