Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GroupIdentification ¶
type GroupIdentification struct {
GroupNumber uint32
Probability float64
Proteins ProtIDList
}
GroupIdentification tag
type PepIDList ¶
type PepIDList []PeptideIdentification
PepIDList is a list of PeptideSpectrumMatch
type PepXML ¶
type PepXML struct {
FileName string
SpectraFile string
DecoyTag string
Database string
Prophet string
DefinedModMassDiff map[float64]float64
DefinedModAminoAcid map[float64]string
Models []pep.DistributionPoint
PeptideIdentification PepIDList
}
PepXML data
func (*PepXML) PromoteProteinIDs ¶
func (p *PepXML) PromoteProteinIDs()
PromoteProteinIDs promotes protein identifications where the reference protein is indistinguishable to other target proteins.
func (*PepXML) ReportModels ¶
ReportModels creates PNG images using the PeptideProphet TD score distribution
type PeptideIdentification ¶
type PeptideIdentification struct {
Index uint32
Spectrum string
Scan int
Peptide string
Protein string
ModifiedPeptide string
AlternativeProteins []string
AlternativeTargetProteins []string
ModPositions []string
AssignedModMasses []float64
AssignedMassDiffs []float64
AssignedAminoAcid []string
AssumedCharge uint8
HitRank uint8
PrecursorNeutralMass float64
PrecursorExpMass float64
RetentionTime float64
CalcNeutralPepMass float64
RawMassDiff float64
Massdiff float64
LocalizedMassDiff string
Probability float64
Expectation float64
Xcorr float64
DeltaCN float64
DeltaCNStar float64
SPScore float64
SPRank float64
Hyperscore float64
Nextscore float64
DiscriminantValue float64
Intensity float64
}
PeptideIdentification struct
type PeptideIonIdentification ¶
type PeptideIonIdentification struct {
PeptideSequence string
ModifiedPeptide string
Charge uint8
InitialProbability float64
Weight float64
GroupWeight float64
CalcNeutralPepMass float64
Razor int
IsNondegenerateEvidence bool
IsUnique bool
Labels tmt.Labels
}
PeptideIonIdentification struct
type Precursor ¶
type Precursor struct {
ParentIndex int
ParentScan int
SelectedIon float64
ChargeState int
PeakIntensity float64
}
Precursor struct
type ProtIDList ¶
type ProtIDList []ProteinIdentification
ProtIDList list represents a list of custom protein identifications
func (*ProtIDList) Restore ¶
func (p *ProtIDList) Restore() error
Restore reads philosopher results files and restore the data sctructure
func (*ProtIDList) Serialize ¶
func (p *ProtIDList) Serialize() error
Serialize converts the whle structure to a gob file
type ProtXML ¶
ProtXML struct
func (*ProtXML) PromoteProteinIDs ¶
func (p *ProtXML) PromoteProteinIDs()
PromoteProteinIDs promotes protein identifications where the reference protein is indistinguishable to other target proteins.
type ProteinIdentification ¶
type ProteinIdentification struct {
GroupNumber uint32
GroupSiblingID string
ProteinName string
UniqueStrippedPeptides []string
Length int
PercentCoverage float32
PctSpectrumIDs float32
GroupProbability float64
Probability float64
Confidence float64
//RazorTopPepProb float64
TopPepProb float64
IndistinguishableProtein []string
PeptideIons []PeptideIonIdentification
HasRazor bool
Picked int
}
ProteinIdentification struct
type Raw ¶
Raw struct