BioPAXL2Reader reader = new BioPAXL2Reader(model);
reader.createGraph((BioPAXL2Graph) root);
}
else if (level == BioPAXLevel.L3)
{
root = new BioPAXL3Graph(model);
BioPAXL3Reader reader = new BioPAXL3Reader(model);
reader.createGraph((BioPAXL3Graph) root);
}
}
}