- // TODO new method findPositions(startCol, endCol)? JAL-2544
- int startResidue = seqs[i].findPosition(startCol);
- int endResidue = seqs[i].findPosition(endCol);
- String[] types = featureTypes == null ? null : featureTypes
- .toArray(new String[featureTypes.size()]);
- List<SequenceFeature> sfs = seqs[i].getFeatures().findFeatures(
- startResidue, endResidue, types);
+ String[] types = featureTypes == null ? null
+ : featureTypes.toArray(new String[featureTypes.size()]);
+ List<SequenceFeature> sfs = seqs[i].findFeatures(startCol + 1,
+ endCol + 1, types);