dv.setPosition(newPos);
dv.setLength(random.nextInt(10));
record.getReadFeatures().add(dv);
break;
case Insertion.operator:
Insertion iv = new Insertion();
iv.setPosition(newPos);
byte[] seq = new byte[random.nextInt(10) + 1];
for (int p = 0; p < seq.length; p++)
seq[p] = "ACGT".getBytes()[random.nextInt(4)];
iv.setSequence(seq);
record.getReadFeatures().add(iv);
break;
case ReadBase.operator:
ReadBase rb = new ReadBase(newPos,
"ACGT".getBytes()[random.nextInt(4)],