self.errors.append("Run defined by %s is invalid. Specified peak calling type '%s' is invalid with peak calling tool '%s'."%(self,self.peak_type,self.peak))
else:
self.errors.append("Run defined by %s is invalid. Specified peak calling type '%s' is not supported."%(self,self.peak_type))
self.errors.append("Run defined by %s is invalid. Specified peak calling type '%s' is invalid with peak calling tool '%s'. Should be one of %s."%(self,self.peak_type,self.peak,chipathlon.conf.peak_types[self.peak]))