}
public void readAnnotationFields(Annotation annot, DataInput in,
List<String> types) throws IOException {
IntWritable posType = new IntWritable();
posType.readFields(in);
annot.setType(types.get(posType.get()));
annot.setStart(WritableUtils.readVLong(in));
annot.setEnd(WritableUtils.readVLong(in));
HashMap<String, String> features = null;
int numFeatures = in.readInt();