ls -d * | while read id ;do bamCoverage \ -b ${id}/Aligned.sortedByCoord.out.bam \ -o ./${id}.bigwig \ --binSize 10 --normalizeUsing RPKM \ --scaleFactor 1 --numberOfProcessors 16 & \ done