private boolean validateCigar(final SAMRecord record,
final long recordNumber) {
if (record.getReadUnmappedFlag()) {
return true;
}
final ValidationStringency savedStringency = record
.getValidationStringency();
record.setValidationStringency(ValidationStringency.LENIENT);
final List<SAMValidationError> errors = record
.validateCigar(recordNumber);
record.setValidationStringency(savedStringency);