public abstract class PeptideScoring extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
baseScoreAccession
accession of the base score
|
protected boolean |
higherScoreBetter
whether higher value of the base score is better than a lower value
|
Constructor and Description |
---|
PeptideScoring(String scoreAccession,
boolean oboLookup)
Creates a new scoring object and determines (if appropriate), if a higher
value is better for the given base-score.
|
Modifier and Type | Method and Description |
---|---|
abstract Double |
calculatePeptideScore(IntermediatePeptide intermediatePeptide)
Calculates the peptide score for the intermediate peptide.
|
protected String baseScoreAccession
protected boolean higherScoreBetter
public PeptideScoring(String scoreAccession, boolean oboLookup)
scoreAccession
- oboLookup
- public abstract Double calculatePeptideScore(IntermediatePeptide intermediatePeptide)
The scoring PSMs are set in the intermediatePeptide, as well as the final score.
intermediatePeptide
- Copyright © 2015. All Rights Reserved.