- Set<String> types = new HashSet<String>();
- List<SequenceFeature> sfs = fr.findFeaturesAtRes(seq.getRefSeq(),
- spos);
+ /*
+ * position is not a gap
+ */
+ Set<String> types = new HashSet<>();
+ List<SequenceFeature> sfs = fr
+ .findFeaturesAtResidue(seq.getRefSeq(), spos, spos);