lookup

package
v0.0.0-...-040724e Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2019 License: BSD-3-Clause, GPL-2.0, BSD-3-Clause, + 1 more Imports: 6 Imported by: 2

Documentation

Overview

Package lookup enables looking up restriction enzyme properties from name.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindEnzymeNamesofClass

func FindEnzymeNamesofClass(class string) (enzymelist []string)

FindEnzymeNamesofClass returns a list of all RestrictionEnzyme names belonging to the requested class. Example class arguments are typeII and typeIIs. If an invalid class is specified an empty list will be returned.

func FindEnzymesofClass

func FindEnzymesofClass(class string) (enzymelist []wtype.RestrictionEnzyme)

FindEnzymesofClass returns a list of all RestrictionEnzymes belonging to the requested class. Example class arguments are typeII and typeIIs. If an invalid class is specified an empty list will be returned.

func RestrictionEnzyme

func RestrictionEnzyme(name string) (enzyme wtype.RestrictionEnzyme, err error)

RestrictionEnzyme looks up a Restriction enzyme and returns the result as a RestrictionEnzyme object. An error is returned if no enzyme is found with the specified name.

func TypeIIs

func TypeIIs(name string) (enzyme wtype.TypeIIs, err error)

TypeIIs looks up a TypeIIs enzyme and returns the result as a TypeIIs enzyme object. An error is returned if no enzyme is found with the specified name.

Types

This section is empty.

Jump to

Keyboard shortcuts

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