for (BasicFeature f : features) {
float s = f.getScore();
hasScore = hasScore || !Float.isNaN(s);
if (isEncodePeak) {
EncodePeakFeature pf = (EncodePeakFeature) f;
signals.add(pf.getSignal());
qvalues.add(pf.getQValue());
pvalues.add(pf.getPValue());
}
final int length = f.getLength();
if (length > longest) longest = length;