Search in sources :

Example 1 with ModificationLocalizationScorer

use of eu.isas.peptideshaker.ptm.ModificationLocalizationScorer in project peptide-shaker by compomics.

the class ProteinProcessor method processProteins.

/**
 * Scores the PTMs of all protein matches contained in an identification
 * object, estimates spectrum counting and summary statistics.
 *
 * @param modificationLocalizationScorer The modification localization
 * scorer to use.
 * @param metrics If provided, metrics on proteins will be saved while
 * iterating the matches.
 * @param modificationProvider The modification provider to use.
 * @param waitingHandler The handler displaying feedback to the user.
 * @param exceptionHandler The exception handler to use.
 * @param processingParameters The processing parameters.
 *
 * @throws java.lang.InterruptedException exception thrown if a thread gets
 * interrupted
 * @throws java.util.concurrent.TimeoutException exception thrown if the
 * operation times out
 */
public void processProteins(ModificationLocalizationScorer modificationLocalizationScorer, Metrics metrics, ModificationProvider modificationProvider, WaitingHandler waitingHandler, ExceptionHandler exceptionHandler, ProcessingParameters processingParameters) throws InterruptedException, TimeoutException {
    waitingHandler.setWaitingText("Scoring Protein Modification Localization. Please Wait...");
    int max = identification.getProteinIdentification().size();
    waitingHandler.setSecondaryProgressCounterIndeterminate(false);
    waitingHandler.setMaxSecondaryProgressCounter(max);
    // validate the proteins
    ExecutorService pool = Executors.newFixedThreadPool(processingParameters.getnThreads());
    ProteinMatchesIterator proteinMatchesIterator = identification.getProteinMatchesIterator(waitingHandler);
    ArrayList<ProteinRunnable> runnables = new ArrayList<>(processingParameters.getnThreads());
    for (int i = 1; i <= processingParameters.getnThreads(); i++) {
        ProteinRunnable runnable = new ProteinRunnable(proteinMatchesIterator, modificationLocalizationScorer, modificationProvider, waitingHandler, exceptionHandler);
        pool.submit(runnable);
        runnables.add(runnable);
    }
    if (waitingHandler.isRunCanceled()) {
        pool.shutdownNow();
    }
    pool.shutdown();
    if (!pool.awaitTermination(identification.getProteinIdentification().size(), TimeUnit.MINUTES)) {
        throw new InterruptedException("Protein matches validation timed out. Please contact the developers.");
    }
    waitingHandler.setSecondaryProgressCounterIndeterminate(true);
    if (metrics != null) {
        metrics.setMaxSpectrumCounting(runnables.stream().mapToDouble(ProteinRunnable::getMaxSpectrumCounting).sum());
        metrics.setnValidatedProteins(runnables.stream().mapToInt(ProteinRunnable::getnValidatedProteins).sum());
        metrics.setnConfidentProteins(runnables.stream().mapToInt(ProteinRunnable::getnConfidentProteins).sum());
        metrics.setMaxNPeptides(runnables.stream().mapToInt(ProteinRunnable::getMaxPeptides).max().orElse(0));
        metrics.setMaxNPsms(runnables.stream().mapToInt(ProteinRunnable::getMaxPsms).max().orElse(0));
        metrics.setMaxMW(runnables.stream().mapToDouble(ProteinRunnable::getMaxMW).max().orElse(0.0));
        metrics.setMaxProteinAccessionLength(runnables.stream().mapToInt(ProteinRunnable::getMaxProteinAccessionLength).max().orElse(0));
        TreeMap<Double, TreeMap<Integer, TreeMap<Integer, TreeSet<Long>>>> orderMap1 = new TreeMap<>();
        for (int i = 0; i < runnables.size(); i++) {
            HashMap<Double, HashMap<Integer, HashMap<Integer, HashSet<Long>>>> threadMap1 = runnables.get(i).getOrderMap();
            for (Entry<Double, HashMap<Integer, HashMap<Integer, HashSet<Long>>>> entry1 : threadMap1.entrySet()) {
                double key1 = entry1.getKey();
                HashMap<Integer, HashMap<Integer, HashSet<Long>>> threadMap2 = entry1.getValue();
                TreeMap<Integer, TreeMap<Integer, TreeSet<Long>>> orderMap2 = orderMap1.get(key1);
                if (orderMap2 == null) {
                    orderMap2 = new TreeMap<>();
                    orderMap1.put(key1, orderMap2);
                }
                for (Entry<Integer, HashMap<Integer, HashSet<Long>>> entry2 : threadMap2.entrySet()) {
                    int key2 = entry2.getKey();
                    HashMap<Integer, HashSet<Long>> threadMap3 = entry2.getValue();
                    TreeMap<Integer, TreeSet<Long>> orderMap3 = orderMap2.get(key2);
                    if (orderMap3 == null) {
                        orderMap3 = new TreeMap<>();
                        orderMap2.put(key2, orderMap3);
                    }
                    for (Entry<Integer, HashSet<Long>> entry3 : threadMap3.entrySet()) {
                        int key3 = entry3.getKey();
                        HashSet<Long> threadSet = entry3.getValue();
                        TreeSet<Long> orderedSet = orderMap3.get(key3);
                        if (orderedSet == null) {
                            orderedSet = new TreeSet<>();
                            orderMap3.put(key3, orderedSet);
                        }
                        orderedSet.addAll(threadSet);
                    }
                }
            }
        }
        long[] proteinKeys = orderMap1.values().stream().flatMap(map -> map.values().stream()).flatMap(map -> map.values().stream()).flatMap(set -> set.stream()).mapToLong(a -> a).toArray();
        metrics.setProteinKeys(proteinKeys);
    }
}
Also used : Arrays(java.util.Arrays) IdentificationFeaturesGenerator(com.compomics.util.experiment.identification.features.IdentificationFeaturesGenerator) TimeoutException(java.util.concurrent.TimeoutException) HashMap(java.util.HashMap) TreeSet(java.util.TreeSet) ArrayList(java.util.ArrayList) HashSet(java.util.HashSet) WaitingHandler(com.compomics.util.waiting.WaitingHandler) ProteinMatch(com.compomics.util.experiment.identification.matches.ProteinMatch) ProteinMatchesIterator(com.compomics.util.experiment.identification.matches_iterators.ProteinMatchesIterator) ProcessingParameters(com.compomics.util.parameters.tools.ProcessingParameters) ModificationProvider(com.compomics.util.experiment.biology.modifications.ModificationProvider) ExecutorService(java.util.concurrent.ExecutorService) MatchValidationLevel(com.compomics.util.experiment.identification.validation.MatchValidationLevel) SequenceProvider(com.compomics.util.experiment.io.biology.protein.SequenceProvider) Identification(com.compomics.util.experiment.identification.Identification) Executors(java.util.concurrent.Executors) TimeUnit(java.util.concurrent.TimeUnit) IdentificationParameters(com.compomics.util.parameters.identification.IdentificationParameters) ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) PSParameter(com.compomics.util.experiment.identification.peptide_shaker.PSParameter) TreeMap(java.util.TreeMap) Entry(java.util.Map.Entry) ProteinUtils(com.compomics.util.experiment.identification.utils.ProteinUtils) ExceptionHandler(com.compomics.util.exceptions.ExceptionHandler) Metrics(com.compomics.util.experiment.identification.peptide_shaker.Metrics) HashMap(java.util.HashMap) ArrayList(java.util.ArrayList) TreeSet(java.util.TreeSet) ProteinMatchesIterator(com.compomics.util.experiment.identification.matches_iterators.ProteinMatchesIterator) HashSet(java.util.HashSet) TreeMap(java.util.TreeMap) ExecutorService(java.util.concurrent.ExecutorService)

Example 2 with ModificationLocalizationScorer

use of eu.isas.peptideshaker.ptm.ModificationLocalizationScorer in project peptide-shaker by compomics.

the class PeptideShakerGUI method updateMainMatch.

/**
 * Update the protein match in the different tabs.
 *
 * @param mainMatch the protein match to use
 * @param proteinInferenceType the protein inference group type
 */
public void updateMainMatch(String mainMatch, int proteinInferenceType) {
    try {
        ModificationLocalizationScorer ptmScorer = new ModificationLocalizationScorer();
        Identification identification = getIdentification();
        ProteinMatch proteinMatch = identification.getProteinMatch(selectedProteinKey);
        ptmScorer.scorePTMs(identification, proteinMatch, getIdentificationParameters(), false, modificationFactory, null);
    } catch (Exception e) {
        catchException(e);
    }
    overviewPanel.updateProteinTable();
    proteinStructurePanel.updateMainMatch(mainMatch, proteinInferenceType);
}
Also used : ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) ProteinMatch(com.compomics.util.experiment.identification.matches.ProteinMatch) ConnectException(java.net.ConnectException) UnknownHostException(java.net.UnknownHostException)

Example 3 with ModificationLocalizationScorer

use of eu.isas.peptideshaker.ptm.ModificationLocalizationScorer in project peptide-shaker by compomics.

the class ModificationSiteInferenceDialog method okButtonActionPerformed.

// GEN-LAST:event_cancelButtonActionPerformed
/**
 * Updates the data and then closes the dialog.
 *
 * @param evt
 */
private void okButtonActionPerformed(java.awt.event.ActionEvent evt) {
    // GEN-FIRST:event_okButtonActionPerformed
    boolean changed = false;
    if (changed) {
        try {
            // save changes in the peptide match
            Identification identification = peptideShakerGUI.getIdentification();
            // update protein level PTM scoring
            ModificationLocalizationScorer ptmScorer = new ModificationLocalizationScorer();
            IdentificationParameters identificationParameters = peptideShakerGUI.getIdentificationParameters();
            identification.getProteinMatches(peptideMatch.getKey()).stream().map(key -> identification.getProteinMatch(key)).forEach(proteinMatch -> ptmScorer.scorePTMs(identification, proteinMatch, identificationParameters, false, modificationFactory, null));
        } catch (Exception e) {
            peptideShakerGUI.catchException(e);
        }
    }
    dispose();
}
Also used : Color(java.awt.Color) ModificationFactory(com.compomics.util.experiment.biology.modifications.ModificationFactory) Arrays(java.util.Arrays) HelpDialog(com.compomics.util.gui.error_handlers.HelpDialog) PeptideUtils(com.compomics.util.experiment.identification.utils.PeptideUtils) HashMap(java.util.HashMap) PeptideMatch(com.compomics.util.experiment.identification.matches.PeptideMatch) ModificationScoring(com.compomics.util.experiment.identification.peptide_shaker.ModificationScoring) TableCellRenderer(javax.swing.table.TableCellRenderer) SwingConstants(javax.swing.SwingConstants) SpectrumMatch(com.compomics.util.experiment.identification.matches.SpectrumMatch) ArrayList(java.util.ArrayList) JSparklinesIntegerColorTableCellRenderer(no.uib.jsparklines.renderers.JSparklinesIntegerColorTableCellRenderer) Modification(com.compomics.util.experiment.biology.modifications.Modification) NimbusCheckBoxRenderer(no.uib.jsparklines.extra.NimbusCheckBoxRenderer) ModificationParameters(com.compomics.util.parameters.identification.search.ModificationParameters) PSModificationScores(com.compomics.util.experiment.identification.peptide_shaker.PSModificationScores) DefaultTableModel(javax.swing.table.DefaultTableModel) SequenceMatchingParameters(com.compomics.util.parameters.identification.advanced.SequenceMatchingParameters) SequenceProvider(com.compomics.util.experiment.io.biology.protein.SequenceProvider) Identification(com.compomics.util.experiment.identification.Identification) Peptide(com.compomics.util.experiment.biology.proteins.Peptide) Collectors(java.util.stream.Collectors) DisplayParameters(eu.isas.peptideshaker.preferences.DisplayParameters) AlignedTableCellRenderer(com.compomics.util.gui.renderers.AlignedTableCellRenderer) IdentificationParameters(com.compomics.util.parameters.identification.IdentificationParameters) DisplayFeaturesGenerator(eu.isas.peptideshaker.utils.DisplayFeaturesGenerator) ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) JLabel(javax.swing.JLabel) Toolkit(java.awt.Toolkit) ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) IdentificationParameters(com.compomics.util.parameters.identification.IdentificationParameters) Identification(com.compomics.util.experiment.identification.Identification)

Example 4 with ModificationLocalizationScorer

use of eu.isas.peptideshaker.ptm.ModificationLocalizationScorer in project peptide-shaker by compomics.

the class PeptideShakerGUI method validationQcMenuItemActionPerformed.

// GEN-LAST:event_configurationFilesSettingsActionPerformed
/**
 * Open the ValidationQCPreferencesDialog.
 *
 * @param evt
 */
private void validationQcMenuItemActionPerformed(java.awt.event.ActionEvent evt) {
    // GEN-FIRST:event_validationQcMenuItemActionPerformed
    final IdMatchValidationParameters idValidationParameters = getIdentificationParameters().getIdValidationParameters();
    final ValidationQcParameters validationQCParameters = idValidationParameters.getValidationQCParameters();
    ValidationQCParametersDialog validationQCParametersDialog = new ValidationQCParametersDialog(this, validationQCParameters, getIdentificationParameters().getSearchParameters().getModificationParameters().getAllModifications(), true);
    if (!validationQCParametersDialog.isCanceled()) {
        ValidationQcParameters newParameters = validationQCParametersDialog.getValidationQCParameters();
        if (!newParameters.isSameAs(validationQCParameters)) {
            idValidationParameters.setValidationQCParameters(newParameters);
            // Update the assumptions QC filters
            for (Filter filter : newParameters.getPsmFilters()) {
                PsmFilter psmFilter = (PsmFilter) filter;
                AssumptionFilter assumptionFilter = psmFilter.getAssumptionFilter();
                assumptionFilter.clear();
                for (String itemName : psmFilter.getItemsNames()) {
                    assumptionFilter.setFilterItem(itemName, psmFilter.getComparatorForItem(itemName), psmFilter.getValue(itemName));
                }
            }
            progressDialog = new ProgressDialogX(PeptideShakerGUI.this, Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")), Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker-orange.gif")), true);
            progressDialog.setTitle("Validating. Please Wait...");
            progressDialog.setPrimaryProgressCounterIndeterminate(false);
            new Thread(new Runnable() {

                public void run() {
                    try {
                        progressDialog.setVisible(true);
                    } catch (IndexOutOfBoundsException e) {
                    // ignore
                    }
                }
            }, "ProgressDialog").start();
            new Thread("RecalculateThread") {

                @Override
                public void run() {
                    PeptideShakerGUI peptideShakerGUI = PeptideShakerGUI.this;
                    try {
                        PSMaps pSMaps = new PSMaps();
                        pSMaps = (PSMaps) peptideShakerGUI.getIdentification().getUrParam(pSMaps);
                        MatchesValidator matchesValidator = new MatchesValidator(pSMaps.getPsmMap(), pSMaps.getPeptideMap(), pSMaps.getProteinMap());
                        matchesValidator.validateIdentifications(peptideShakerGUI.getIdentification(), peptideShakerGUI.getMetrics(), pSMaps.getInputMap(), progressDialog, exceptionHandler, peptideShakerGUI.getIdentificationFeaturesGenerator(), peptideShakerGUI.getSequenceProvider(), peptideShakerGUI.getProteinDetailsProvider(), peptideShakerGUI.getSpectrumProvider(), peptideShakerGUI.getGeneMaps(), peptideShakerGUI.getIdentificationParameters(), peptideShakerGUI.getProjectType(), peptideShakerGUI.getProcessingParameters());
                        progressDialog.setPrimaryProgressCounterIndeterminate(true);
                        ProteinProcessor proteinProcessor = new ProteinProcessor(peptideShakerGUI.getIdentification(), peptideShakerGUI.getIdentificationParameters(), peptideShakerGUI.getIdentificationFeaturesGenerator(), peptideShakerGUI.getSequenceProvider());
                        proteinProcessor.processProteins(new ModificationLocalizationScorer(), peptideShakerGUI.getMetrics(), modificationFactory, progressDialog, peptideShakerGUI.getExceptionHandler(), peptideShakerGUI.getProcessingParameters());
                        if (!progressDialog.isRunCanceled()) {
                            // update the other tabs
                            peptideShakerGUI.getMetrics().setnValidatedProteins(-1);
                            peptideShakerGUI.getMetrics().setnConfidentProteins(-1);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.OVER_VIEW_TAB_INDEX, false);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.PROTEIN_FRACTIONS_TAB_INDEX, false);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.STRUCTURES_TAB_INDEX, false);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.MODIFICATIONS_TAB_INDEX, false);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.QC_PLOTS_TAB_INDEX, false);
                            peptideShakerGUI.setUpdated(PeptideShakerGUI.SPECTRUM_ID_TAB_INDEX, false);
                            peptideShakerGUI.setDataSaved(false);
                        } else {
                            idValidationParameters.setValidationQCParameters(validationQCParameters);
                        }
                    } catch (Exception e) {
                        peptideShakerGUI.catchException(e);
                    }
                    progressDialog.setRunFinished();
                    PeptideShakerGUI.this.repaintPanels();
                }
            }.start();
        }
    }
}
Also used : MatchesValidator(eu.isas.peptideshaker.validation.MatchesValidator) PSMaps(eu.isas.peptideshaker.scoring.PSMaps) IdMatchValidationParameters(com.compomics.util.parameters.identification.advanced.IdMatchValidationParameters) ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) AssumptionFilter(com.compomics.util.experiment.identification.filtering.AssumptionFilter) ConnectException(java.net.ConnectException) UnknownHostException(java.net.UnknownHostException) ProgressDialogX(com.compomics.util.gui.waiting.waitinghandlers.ProgressDialogX) PsmFilter(com.compomics.util.experiment.identification.filtering.PsmFilter) FileFilter(javax.swing.filechooser.FileFilter) Filter(com.compomics.util.experiment.filtering.Filter) FileAndFileFilter(com.compomics.util.gui.file_handling.FileAndFileFilter) AssumptionFilter(com.compomics.util.experiment.identification.filtering.AssumptionFilter) ValidationQcParameters(com.compomics.util.parameters.identification.advanced.ValidationQcParameters) ProteinProcessor(eu.isas.peptideshaker.processing.ProteinProcessor) PsmFilter(com.compomics.util.experiment.identification.filtering.PsmFilter) ValidationQCParametersDialog(com.compomics.util.gui.parameters.identification.advanced.ValidationQCParametersDialog)

Example 5 with ModificationLocalizationScorer

use of eu.isas.peptideshaker.ptm.ModificationLocalizationScorer in project peptide-shaker by compomics.

the class ValidationPanel method validateButtonActionPerformed.

// GEN-LAST:event_formComponentResized
/**
 * Validate the data using the current settings.
 *
 * @param evt
 */
private void validateButtonActionPerformed(java.awt.event.ActionEvent evt) {
    // GEN-FIRST:event_validateButtonActionPerformed
    double lastThreshold = Double.valueOf(thresholdInput.getText());
    thresholdInputActionPerformed(null);
    if (lastThreshold < 0 || lastThreshold > 100) {
        JOptionPane.showMessageDialog(this, "Please verify the given threshold. Interval: [0, 100].", "Threshold Error", JOptionPane.WARNING_MESSAGE);
    } else {
        progressDialog = new ProgressDialogX(peptideShakerGUI, Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker.gif")), Toolkit.getDefaultToolkit().getImage(getClass().getResource("/icons/peptide-shaker-orange.gif")), true);
        progressDialog.setTitle("Recalculating. Please Wait...");
        progressDialog.setPrimaryProgressCounterIndeterminate(false);
        new Thread(new Runnable() {

            public void run() {
                try {
                    progressDialog.setVisible(true);
                } catch (IndexOutOfBoundsException e) {
                // ignore
                }
            }
        }, "ProgressDialog").start();
        new Thread("RecalculateThread") {

            @Override
            public void run() {
                try {
                    PSMaps pSMaps = new PSMaps();
                    pSMaps = (PSMaps) peptideShakerGUI.getIdentification().getUrParam(pSMaps);
                    MatchesValidator matchesValidator = new MatchesValidator(pSMaps.getPsmMap(), pSMaps.getPeptideMap(), pSMaps.getProteinMap());
                    matchesValidator.validateIdentifications(peptideShakerGUI.getIdentification(), peptideShakerGUI.getMetrics(), pSMaps.getInputMap(), progressDialog, peptideShakerGUI.getExceptionHandler(), peptideShakerGUI.getIdentificationFeaturesGenerator(), peptideShakerGUI.getSequenceProvider(), peptideShakerGUI.getProteinDetailsProvider(), peptideShakerGUI.getSpectrumProvider(), peptideShakerGUI.getGeneMaps(), peptideShakerGUI.getIdentificationParameters(), peptideShakerGUI.getProjectType(), peptideShakerGUI.getProcessingParameters());
                    progressDialog.setPrimaryProgressCounterIndeterminate(true);
                    if (peptideShakerGUI.getProjectType() == ProjectType.protein) {
                        ProteinProcessor proteinProcessor = new ProteinProcessor(peptideShakerGUI.getIdentification(), peptideShakerGUI.getIdentificationParameters(), peptideShakerGUI.getIdentificationFeaturesGenerator(), peptideShakerGUI.getSequenceProvider());
                        proteinProcessor.processProteins(new ModificationLocalizationScorer(), peptideShakerGUI.getMetrics(), modificationFactory, progressDialog, peptideShakerGUI.getExceptionHandler(), peptideShakerGUI.getProcessingParameters());
                    }
                    if (!progressDialog.isRunCanceled()) {
                        // update the other tabs
                        peptideShakerGUI.getMetrics().setnValidatedProteins(-1);
                        peptideShakerGUI.getMetrics().setnConfidentProteins(-1);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.OVER_VIEW_TAB_INDEX, false);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.PROTEIN_FRACTIONS_TAB_INDEX, false);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.STRUCTURES_TAB_INDEX, false);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.MODIFICATIONS_TAB_INDEX, false);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.QC_PLOTS_TAB_INDEX, false);
                        peptideShakerGUI.setUpdated(PeptideShakerGUI.SPECTRUM_ID_TAB_INDEX, false);
                        dataValidated = true;
                        validateButton.setEnabled(false);
                        double input = Double.valueOf(thresholdInput.getText());
                        int inputType = thresholdTypeCmb.getSelectedIndex();
                        TargetDecoyResults currentResults = currentTargetDecoyMap.getTargetDecoyResults();
                        currentResults.setUserInput(input);
                        currentResults.setInputType(inputType);
                        String selectedGroup = (String) groupSelectionTable.getValueAt(groupSelectionTable.getSelectedRow(), 1);
                        originalThresholds.put(selectedGroup, input);
                        originalThresholdTypes.put(selectedGroup, inputType);
                        peptideShakerGUI.setDataSaved(false);
                    } else {
                    // @TODO: ideally the validation settings ought to be reset as well..?
                    }
                } catch (Exception e) {
                    peptideShakerGUI.catchException(e);
                }
                progressDialog.setRunFinished();
            }
        }.start();
    }
}
Also used : MatchesValidator(eu.isas.peptideshaker.validation.MatchesValidator) PSMaps(eu.isas.peptideshaker.scoring.PSMaps) ModificationLocalizationScorer(eu.isas.peptideshaker.ptm.ModificationLocalizationScorer) ProgressDialogX(com.compomics.util.gui.waiting.waitinghandlers.ProgressDialogX) ProteinProcessor(eu.isas.peptideshaker.processing.ProteinProcessor) TargetDecoyResults(eu.isas.peptideshaker.scoring.targetdecoy.TargetDecoyResults)

Aggregations

ModificationLocalizationScorer (eu.isas.peptideshaker.ptm.ModificationLocalizationScorer)5 Identification (com.compomics.util.experiment.identification.Identification)2 ProteinMatch (com.compomics.util.experiment.identification.matches.ProteinMatch)2 SequenceProvider (com.compomics.util.experiment.io.biology.protein.SequenceProvider)2 ProgressDialogX (com.compomics.util.gui.waiting.waitinghandlers.ProgressDialogX)2 IdentificationParameters (com.compomics.util.parameters.identification.IdentificationParameters)2 ProteinProcessor (eu.isas.peptideshaker.processing.ProteinProcessor)2 PSMaps (eu.isas.peptideshaker.scoring.PSMaps)2 MatchesValidator (eu.isas.peptideshaker.validation.MatchesValidator)2 ConnectException (java.net.ConnectException)2 UnknownHostException (java.net.UnknownHostException)2 ArrayList (java.util.ArrayList)2 Arrays (java.util.Arrays)2 HashMap (java.util.HashMap)2 ExceptionHandler (com.compomics.util.exceptions.ExceptionHandler)1 Modification (com.compomics.util.experiment.biology.modifications.Modification)1 ModificationFactory (com.compomics.util.experiment.biology.modifications.ModificationFactory)1 ModificationProvider (com.compomics.util.experiment.biology.modifications.ModificationProvider)1 Peptide (com.compomics.util.experiment.biology.proteins.Peptide)1 Filter (com.compomics.util.experiment.filtering.Filter)1