mzidentml

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidIdentIndex = errors.New("mzIdentML: invalid identification index")
)

Functions

This section is empty.

Types

type Identification

type Identification struct {
	PepSeq        string
	PepID         string
	Charge        int
	ModMass       float64
	SpecID        string
	RetentionTime float64
	Cv            []cvParam
}

type MzIdentML

type MzIdentML struct {
	// contains filtered or unexported fields
}

MzIdentML holds only the part of mzIdentML files in which we are interested

func Read

func Read(reader io.Reader) (MzIdentML, error)

Read reads mzIdentML content from io.reader TODO: Handle incorrect mzID files which have the first letter of the MzIdentML in lower case

func (*MzIdentML) Ident

func (m *MzIdentML) Ident(i int) (Identification, error)

func (*MzIdentML) NumIdents

func (m *MzIdentML) NumIdents() int

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL