public class AnnotatedSpectrum extends Object implements Spectrum
Constructor and Description |
---|
AnnotatedSpectrum() |
AnnotatedSpectrum(String usi,
String pepSequence,
String peptidoform,
List<String> proteinAccessions,
List<String> geneAccessions,
List<AccessionLocalization> proteinLocalizations,
List<GeneCoordinates> geneLocalizations,
String sampleAccession,
String organism,
List<AvroTuple> sample,
List<AvroTuple> biologicalAnnotations,
double precursorMz,
Integer precursorCharge,
List<AvroModification> modifications,
List<Double> masses,
List<Double> intensities,
Double retentionTime,
Integer msLevel,
Integer missedCleavages,
List<AvroTerm> qualityScores,
List<AvroTuple> msAnnotations,
String pxAccession,
Boolean isDecoy,
Double peptideIntensity) |
Modifier and Type | Method and Description |
---|---|
Collection<? extends Param> |
getAdditional()
Retrieves file format specific variables
as parameters.
|
String |
getId()
The textual representation of an ID of a scan.
|
Long |
getIndex()
Internal Spectrum in the corresponding file MGF or mzXML or mzML, starting from 1, incrementing by one for each consecutive spectrum.
|
List<Double> |
getIntensities() |
List<Double> |
getMasses() |
Integer |
getMsLevel()
Returns the msLevel of the spectrum.
|
Map<Double,Double> |
getPeakList()
Returns the spectrum's peak list as
a HashMap with the m/z values as keys
and the corresponding intensities as
values.
|
Integer |
getPrecursorCharge()
Returns the spectrum's charge or
null in case the charge is not
available.
|
Double |
getPrecursorIntensity()
Returns the precursor's intensity
or null in case it it not available.
|
Double |
getPrecursorMZ()
Returns the precursor's m/z or
null in case the precursor's m/z
is not available.
|
String |
toString() |
public AnnotatedSpectrum()
public AnnotatedSpectrum(String usi, String pepSequence, String peptidoform, List<String> proteinAccessions, List<String> geneAccessions, List<AccessionLocalization> proteinLocalizations, List<GeneCoordinates> geneLocalizations, String sampleAccession, String organism, List<AvroTuple> sample, List<AvroTuple> biologicalAnnotations, double precursorMz, Integer precursorCharge, List<AvroModification> modifications, List<Double> masses, List<Double> intensities, Double retentionTime, Integer msLevel, Integer missedCleavages, List<AvroTerm> qualityScores, List<AvroTuple> msAnnotations, String pxAccession, Boolean isDecoy, Double peptideIntensity)
public Long getIndex()
Spectrum
public String getId()
Spectrum
Spectrum.getIndex()
}.public Integer getPrecursorCharge()
Spectrum
getPrecursorCharge
in interface Spectrum
public Double getPrecursorMZ()
Spectrum
getPrecursorMZ
in interface Spectrum
public Double getPrecursorIntensity()
Spectrum
getPrecursorIntensity
in interface Spectrum
public Map<Double,Double> getPeakList()
Spectrum
getPeakList
in interface Spectrum
public Integer getMsLevel()
Spectrum
getMsLevel
in interface Spectrum
public Collection<? extends Param> getAdditional()
Spectrum
getAdditional
in interface Spectrum
Copyright © 2021. All rights reserved.