Examples of TagMatcher


Examples of com.compomics.util.experiment.identification.tags.matchers.TagMatcher

        HashMap<String, LinkedList<SpectrumMatch>> tagMap = idfileReader.getTagsMap();
        if (tagMap != null && !tagMap.isEmpty()) {
            waitingHandler.setMaxSecondaryProgressCounter(tagMap.size());
            waitingHandler.appendReport("Mapping de novo tags to peptides.", true, true);
            for (String key : tagMap.keySet()) {
            TagMatcher tagMatcher = new TagMatcher(searchParameters.getModificationProfile().getFixedModifications(), searchParameters.getModificationProfile().getAllNotFixedModifications(), sequenceMatchingPreferences);
                Iterator<SpectrumMatch> matchIterator = tagMap.get(key).iterator();
                while (matchIterator.hasNext()) {
                    SpectrumMatch spectrumMatch = matchIterator.next();
                    mapTagsForSpectrumMatch(spectrumMatch, tagMatcher, key, waitingHandler, !matchIterator.hasNext());
                }
View Full Code Here

Examples of com.compomics.util.experiment.identification.tags.matchers.TagMatcher

        HashMap<String, LinkedList<SpectrumMatch>> tagMap = idfileReader.getTagsMap();
        if (tagMap != null && !tagMap.isEmpty()) {
            waitingHandler.setMaxSecondaryProgressCounter(tagMap.size());
            waitingHandler.appendReport("Mapping de novo tags to peptides.", true, true);
            for (String key : tagMap.keySet()) {
            TagMatcher tagMatcher = new TagMatcher(searchParameters.getModificationProfile().getFixedModifications(), searchParameters.getModificationProfile().getAllNotFixedModifications(), sequenceMatchingPreferences);
            tagMatcher.setSynchronizedIndexing(true);
                Iterator<SpectrumMatch> matchIterator = tagMap.get(key).iterator();
                while (matchIterator.hasNext()) {
                    SpectrumMatch spectrumMatch = matchIterator.next();
                    SpectrumMatchTagMapperRunnable tagMapperRunnable = new SpectrumMatchTagMapperRunnable(spectrumMatch, tagMatcher, key, waitingHandler, !matchIterator.hasNext());
                    pool.submit(tagMapperRunnable);
View Full Code Here

Examples of com.compomics.util.experiment.identification.tags.matchers.TagMatcher

         */
        public KeyTagMapperRunnable(LinkedList<SpectrumMatch> spectrumMatches, ArrayList<String> fixedModifications, ArrayList<String> variableModifications, SequenceMatchingPreferences sequenceMatchingPreferences, String key, WaitingHandler waitingHandler) {
            this.spectrumMatches = spectrumMatches;
            this.key = key;
            this.waitingHandler = waitingHandler;
            this.tagMatcher = new TagMatcher(fixedModifications, variableModifications, sequenceMatchingPreferences);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.