enhancements. bug fixes.

* added error checking to SNP - make sure output files exist and are
not empty.
* added error checking to SPAdes - make sure output file exists and is
not empty.
* fixes bug with specification of input directory.
* fixed STAR so that SE runs also use the error checking.