public static void convertToLegacyCigar(SAMRecord record){
  record.setCigar(convertToLegacyCigar(record.getCigar()));
}

public static void convertToLegacyCigar ( SAMRecord record ) { record . setCigar ( convertToLegacyCigar ( record . getCigar ( ) ) ) ; }
updates the cigar in the supplied record to be legacy - compatible .
