public static List<Integer> extractOriginalSequenceIDs(File featureVectorsFile) throws IOException {
  List<Integer> result=new ArrayList<>();
  Iterator<List<String>> comments=extractComments(featureVectorsFile);
  while (comments.hasNext()) {
    List<String> comment=comments.next();
    result.add(Integer.valueOf(comment.get(1)));
  }
  return result;
}

public static List < Integer > extractOriginalSequenceIDs ( File featureVectorsFile ) throws IOException { List < Integer > result = new ArrayList < > ( ) ; Iterator < List < String > > comments = extractComments ( featureVectorsFile ) ; while ( comments . hasNext ( ) ) { List < String > comment = comments . next ( ) ; result . add ( Integer . valueOf ( comment . get ( 1 ) ) ) ; } return result ; }
returns a list of original sequence ids extracted from comments
