public String getCyclopeptideSequence() {
        String cyclopeptideSequence = "";
        List<String> highscore = new ArrayList();
        List<List<Object>> leaderboard = new ArrayList();
        this.stringPeptideList.add("");
        while (!this.stringPeptideList.isEmpty()) {
            highscore = copy(this.stringPeptideList);
            branch();
            leaderboard = createLeaderboard();
            this.stringPeptideList.clear();
            for (List<Object> list : leaderboard) {
                this.stringPeptideList.add((String) list.get(1));
            }
            copyList(leaderboard);
            sortList(this.globalLeaderboard);
            leaderboard.clear();
            if (this.stringPeptideList.isEmpty()) {
                cyclopeptideSequence = (String) this.globalLeaderboard.get(0).get(1);
                cyclopeptideSequence = stringToMasses(cyclopeptideSequence);
            }
        }
        return cyclopeptideSequence;
    }