code: public int[] getAnchors() {
  		int[] anchor = new int[getScoreMatrixDimensions()[0] - 1];
  		for (int i = 0; i < anchor.length; i++) {
  			anchor[i] = -1;
  		}
  		for (int i = 0; i < anchors.size(); i++) {
  			anchor[anchors.get(i).getQueryIndex()] = anchors.get(i).getTargetIndex();
  		}
  		return anchor;
  	}
docs: Returns the list of anchors.  The populated elements correspond to query compounds with a connection established
  to a target compound.
  
  @return the list of anchors