public class PsmImporter extends Object
| Constructor and Description |
|---|
PsmImporter()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
HashSet<Integer> |
getCharges()
Returns the different charges found.
|
double |
getMaxPeptideErrorDa()
Returns the maximal peptide mass error found in Da.
|
double |
getMaxPeptideErrorPpm()
Returns the maximal peptide mass error found in ppm.
|
double |
getMaxTagErrorDa()
Returns the maximal tag mass error found in Da.
|
double |
getMaxTagErrorPpm()
Returns the maximal tag mass error found in ppm.
|
int |
getMissingProteins()
Returns the number of PSMs where a protein was missing.
|
int |
getModificationIssue()
Returns the number of PSMs which did not pass the import filters due to a
modification parsing issue.
|
long |
getnPeptideAssumptionsTotal()
Returns the total number of peptide assumptions parsed.
|
long |
getnPSMs()
Returns the number of PSMs processed.
|
int |
getnRetained()
Returns the number of PSMs retained after filtering.
|
int |
getPeptideIssue()
Returns the number of PSMs which did not pass the import filters due to a
peptide issue.
|
int |
getPrecursorIssue()
Returns the number of PSMs which did not pass the import filters due to a
precursor issue.
|
HashMap<String,Integer> |
getProteinCount()
Returns the occurrence of each protein.
|
int |
getProteinIssue()
Returns the number of PSMs which did not pass the import filters due to a
protein issue.
|
int |
getPsmsRejected()
Returns the number of PSMs which did not pass the import filters.
|
void |
importPsms(ArrayList<com.compomics.util.experiment.identification.matches.SpectrumMatch> spectrumMatches,
com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
InputMap inputMap,
com.compomics.util.experiment.io.identification.IdfileReader fileReader,
File idFile,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider,
com.compomics.util.experiment.identification.protein_inference.FastaMapper fastaMapper,
int nThreads,
com.compomics.util.waiting.WaitingHandler waitingHandler,
com.compomics.util.exceptions.ExceptionHandler exceptionHandler)
Imports PSMs.
|
static void |
verifyXTandemModifications(com.compomics.util.parameters.identification.IdentificationParameters identificationParameters)
Verifies that the modifications targeted by the quick acetyl and quick
pyrolidone are included in the identification parameters.
|
public void importPsms(ArrayList<com.compomics.util.experiment.identification.matches.SpectrumMatch> spectrumMatches, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, InputMap inputMap, com.compomics.util.experiment.io.identification.IdfileReader fileReader, File idFile, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.mass_spectrometry.SpectrumProvider spectrumProvider, com.compomics.util.experiment.identification.protein_inference.FastaMapper fastaMapper, int nThreads, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler) throws InterruptedException, TimeoutException
spectrumMatches - The PSMs to import.identification - The identification object.identificationParameters - The identification parameters.inputMap - The input map.fileReader - The file reader.idFile - The identification file.sequenceProvider - The sequence provider.spectrumProvider - The spectrum provider.fastaMapper - The sequence mapper.nThreads - The number of threads to use.waitingHandler - The waiting handler to display progress and allow
canceling the import.exceptionHandler - The handler of exceptions.InterruptedException - Exception thrown if a thread is
interrupted.TimeoutException - Exception thrown if the
process timed out.public static void verifyXTandemModifications(com.compomics.util.parameters.identification.IdentificationParameters identificationParameters)
identificationParameters - the identification parameterspublic long getnPSMs()
public long getnPeptideAssumptionsTotal()
public int getPsmsRejected()
public int getProteinIssue()
public int getPeptideIssue()
public int getPrecursorIssue()
public int getModificationIssue()
public int getMissingProteins()
public int getnRetained()
public HashSet<Integer> getCharges()
public double getMaxPeptideErrorPpm()
public double getMaxPeptideErrorDa()
public double getMaxTagErrorPpm()
public double getMaxTagErrorDa()
Copyright © 2021. All rights reserved.