}
public CanFindThreshold thresholdCalculator(Named motif) {
try {
File thresholds_file = new File(pathToThresholds, motif.getName() + ".thr");
PvalueBsearchList pvalueBsearchList = PvalueBsearchList.load_from_file(thresholds_file);
return new FindThresholdBsearch(pvalueBsearchList);
} catch (FileNotFoundException e) {
return null;
}
}