stockcenter

package
v0.0.0-...-d59ed34 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Overview

package stockcenter is the data source for stockcenter and related data

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CharacterReader

type CharacterReader interface {
	datasource.IteratorWithoutValue
	Value() (*Characteristics, error)
}

CharacterReader is the defined interface for reading the data

func NewTsvCharacterReader

func NewTsvCharacterReader(r io.Reader) CharacterReader

NewTsvCharacterReader is to get an instance of character reader

type Characteristics

type Characteristics struct {
	Id        string
	Character string
}

Characteristics is the container for strain characteristics

type Genotype

type Genotype struct {
	Id       string
	StrainId string
	Genotype string
}

Genotype is the container for strain genotype

type GenotypeReader

type GenotypeReader interface {
	datasource.IteratorWithoutValue
	Value() (*Genotype, error)
}

GenotypeReader is the defined interface for reading the data

func NewTsvGenotypeReader

func NewTsvGenotypeReader(r io.Reader) GenotypeReader

NewTsvGenotypeReader is to get an instance of GenotypeReader

type Phenotype

type Phenotype struct {
	StrainID     string
	Observation  string
	Environment  string
	Assay        string
	Note         string
	LiteratureID string
}

Phenotype is the container for strain phenotype

type PhenotypeReader

type PhenotypeReader interface {
	datasource.IteratorWithoutValue
	Value() (*Phenotype, error)
}

PhenotypeReader is the defined interface for reading the data

func NewPhenotypeReader

func NewPhenotypeReader(r io.Reader) PhenotypeReader

NewPhenotypeReader is to get an instance of PhenotypeReader

type PlasmidInventory

type PlasmidInventory struct {
	PlasmidID        string
	PrivateComment   string
	StoredOn         time.Time
	PhysicalLocation string
	StoredAs         string
	ObtainedAs       string
	RecordLine       string
}

PlasmidInventory is the container for plasmid inventory

type PlasmidInventoryReader

type PlasmidInventoryReader interface {
	datasource.IteratorWithoutValue
	Value() (*PlasmidInventory, error)
}

PlasmidInventoryReader is the defined interface for reading the data

func NewTsvPlasmidInventoryReader

func NewTsvPlasmidInventoryReader(r io.Reader) PlasmidInventoryReader

NewTsvPlasmidInventoryReader is to get an instance of PlasmidInventoryReader

type StockProp

type StockProp struct {
	Id       string
	Property string
	Value    string
}

StockProp is the container for stock properties

type StockPropReader

type StockPropReader interface {
	datasource.IteratorWithoutValue
	Value() (*StockProp, error)
}

StockPropReader is the defined interface for reading the data

func NewTsvStockPropReader

func NewTsvStockPropReader(r io.Reader) StockPropReader

NewTsvStockPropReader is to get an instance of StockPropReader

type StrainInventory

type StrainInventory struct {
	StrainID         string
	PrivateComment   string
	PublicComment    string
	StoredOn         time.Time
	StoredAs         string
	VialsCount       string
	VialColor        string
	PhysicalLocation string
	RecordLine       string
}

StrainInventory is the container for strain inventory

type StrainInventoryReader

type StrainInventoryReader interface {
	datasource.IteratorWithoutValue
	Value() (*StrainInventory, error)
}

StrainInventoryReader is the defined interface for reading the data

func NewTsvStrainInventoryReader

func NewTsvStrainInventoryReader(r io.Reader) StrainInventoryReader

NewTsvStrainInventoryReader is to get an instance of StrainInventoryReader

Jump to

Keyboard shortcuts

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