refactored tag with more general error handeling
refactored qualimap to a sge job. added parameters for setting max threads and memory for GATK and qualimap on the cluster. Added more log statements.