mzidentml

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 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 interrested

func Read

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

Read reads mzIdentML content from io.reader

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