public static void main(String[] args) { try { Genome g = Organism.findGenome(args[0]); File blasttab = new File(args[1]); ProbesFromPrimers pfp = new ProbesFromPrimers(g, blasttab); Collection<NamedRegion> probes = pfp.parseProbes(); for (NamedRegion probe : probes) { String probeName = probe.getName(); System.out.println( String.format( "%s\t%s\t%d\t%d", probeName, probe.getChrom(), probe.getStart(), probe.getEnd())); } } catch (NotFoundException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } }