| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE
Size of the batches to use when adding objects to the database.
|
| Constructor and Description |
|---|
PsmImportRunnable(ConcurrentLinkedQueue<com.compomics.util.experiment.identification.matches.SpectrumMatch> spectrumMatchQueue,
com.compomics.util.parameters.identification.IdentificationParameters identificationParameters,
com.compomics.util.experiment.io.identification.IdfileReader fileReader,
File idFile,
com.compomics.util.experiment.identification.Identification identification,
com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider,
com.compomics.util.experiment.identification.protein_inference.FastaMapper fastaMapper,
com.compomics.util.waiting.WaitingHandler waitingHandler,
com.compomics.util.exceptions.ExceptionHandler exceptionHandler)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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 |
getPeptideIssue()
Returns the number of PSMs which did not pass the import filters due to a
peptide issue.
|
HashMap<String,Integer> |
getProteinCount()
Returns the occurrence of each protein.
|
void |
run() |
public static final int BATCH_SIZE
public PsmImportRunnable(ConcurrentLinkedQueue<com.compomics.util.experiment.identification.matches.SpectrumMatch> spectrumMatchQueue, com.compomics.util.parameters.identification.IdentificationParameters identificationParameters, com.compomics.util.experiment.io.identification.IdfileReader fileReader, File idFile, com.compomics.util.experiment.identification.Identification identification, com.compomics.util.experiment.io.biology.protein.SequenceProvider sequenceProvider, com.compomics.util.experiment.identification.protein_inference.FastaMapper fastaMapper, com.compomics.util.waiting.WaitingHandler waitingHandler, com.compomics.util.exceptions.ExceptionHandler exceptionHandler)
spectrumMatchQueue - the spectrum matches iterator to useidentificationParameters - the identification parametersfileReader - the reader of the file which the matches are imported
fromidFile - the file which the matches are imported fromidentification - the identification object where to store the
matchessequenceProvider - the protein sequence providerfastaMapper - the FASTA mapper used to map peptides to proteinswaitingHandler - The waiting handler to display feedback to the
user.exceptionHandler - The handler of exceptions.public long getnPSMs()
public long getnPeptideAssumptionsTotal()
public int getPeptideIssue()
public int getModificationIssue()
Copyright © 2021. All rights reserved.