codon

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Overview

Package codon contains 31 DNA to Protein translation tables. See https://www.ncbi.nlm.nih.gov/Taxonomy/Utils/wprintgc.cgi for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AltFlatwormMt

type AltFlatwormMt struct{}

AltFlatwormMt is the NCBI mtDNA to protein translation table for flatworm

func (AltFlatwormMt) AltName

func (s AltFlatwormMt) AltName() string

AltName provides the alternative name used by NCBI

func (AltFlatwormMt) ID

func (s AltFlatwormMt) ID() uint

ID provides the alternative identifier used by NCBI

func (AltFlatwormMt) StartCodons

func (s AltFlatwormMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (AltFlatwormMt) StopCodons

func (s AltFlatwormMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (AltFlatwormMt) String

func (s AltFlatwormMt) String() string

String provides a human-readable indication of usage

func (AltFlatwormMt) Translate

func (s AltFlatwormMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type AltNamer

type AltNamer interface {
	AltName() string
}

AltNamer provides the alternative name for a codon translation table Zero value ("") indicates no alternative name.

type AltYeast

type AltYeast struct{}

AltYeast is the alternative yeast DNA to protein translation table

func (AltYeast) AltName

func (s AltYeast) AltName() string

AltName provides the alternative name used by NCBI

func (AltYeast) ID

func (s AltYeast) ID() uint

ID provides the alternative identifier used by NCBI

func (AltYeast) StartCodons

func (s AltYeast) StartCodons() []string

StartCodons lists the codons which start a transcript

func (AltYeast) StopCodons

func (s AltYeast) StopCodons() []string

StopCodons lists the codons which end a transcript

func (AltYeast) String

func (s AltYeast) String() string

String provides a human-readable indication of usage

func (AltYeast) Translate

func (s AltYeast) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type ArchaelPlastid

type ArchaelPlastid struct {
	BacterialArchaelPlantPlastid
}

ArchaelPlastid is the archael plastid DNA to protein translation table

func (ArchaelPlastid) String

func (s ArchaelPlastid) String() string

String provides a human-readable indication of usage

type AscidianMt

type AscidianMt struct{}

AscidianMt is the ascidian mtDNA to protein translation table

func (AscidianMt) AltName

func (s AscidianMt) AltName() string

AltName provides the alternative name used by NCBI

func (AscidianMt) ID

func (s AscidianMt) ID() uint

ID provides the alternative identifier used by NCBI

func (AscidianMt) StartCodons

func (s AscidianMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (AscidianMt) StopCodons

func (s AscidianMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (AscidianMt) String

func (s AscidianMt) String() string

String provides a human-readable indication of usage

func (AscidianMt) Translate

func (s AscidianMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type BacterialArchaelPlantPlastid

type BacterialArchaelPlantPlastid struct{}

BacterialArchaelPlantPlastid is the NCBI DNA to protein translation table for bacterial, archael, and plant plastid

func (BacterialArchaelPlantPlastid) AltName

AltName provides the alternative name used by NCBI

func (BacterialArchaelPlantPlastid) ID

ID provides the alternative identifier used by NCBI

func (BacterialArchaelPlantPlastid) StartCodons

func (s BacterialArchaelPlantPlastid) StartCodons() []string

StartCodons lists the codons which start a transcript

func (BacterialArchaelPlantPlastid) StopCodons

func (s BacterialArchaelPlantPlastid) StopCodons() []string

StopCodons lists the codons which end a transcript

func (BacterialArchaelPlantPlastid) String

String provides a human-readable indication of usage

func (BacterialArchaelPlantPlastid) Translate

func (s BacterialArchaelPlantPlastid) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type BacterialPlastid

type BacterialPlastid struct {
	BacterialArchaelPlantPlastid
}

BacterialPlastid is the bacterial plastid DNA to protein translation table

func (BacterialPlastid) String

func (s BacterialPlastid) String() string

String provides a human-readable indication of usage

type Blastocrithidia

type Blastocrithidia struct{}

Blastocrithidia is the blastocrithidia DNA to protein translation table

func (Blastocrithidia) AltName

func (s Blastocrithidia) AltName() string

AltName provides the alternative name used by NCBI

func (Blastocrithidia) ID

func (s Blastocrithidia) ID() uint

ID provides the alternative identifier used by NCBI

func (Blastocrithidia) StartCodons

func (s Blastocrithidia) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Blastocrithidia) StopCodons

func (s Blastocrithidia) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Blastocrithidia) String

func (s Blastocrithidia) String() string

String provides a human-readable indication of usage

func (Blastocrithidia) Translate

func (s Blastocrithidia) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type BlepharismaMacronuclear

type BlepharismaMacronuclear struct{}

BlepharismaMacronuclear is the DNA to protein translation table

func (BlepharismaMacronuclear) AltName

func (s BlepharismaMacronuclear) AltName() string

AltName provides the alternative name used by NCBI

func (BlepharismaMacronuclear) ID

ID provides the alternative identifier used by NCBI

func (BlepharismaMacronuclear) StartCodons

func (s BlepharismaMacronuclear) StartCodons() []string

StartCodons lists the codons which start a transcript

func (BlepharismaMacronuclear) StopCodons

func (s BlepharismaMacronuclear) StopCodons() []string

StopCodons lists the codons which end a transcript

func (BlepharismaMacronuclear) String

func (s BlepharismaMacronuclear) String() string

String provides a human-readable indication of usage

func (BlepharismaMacronuclear) Translate

func (s BlepharismaMacronuclear) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type CandidateDivisionSR1

type CandidateDivisionSR1 struct {
	Gracilibacteria
}

CandidateDivisionSR1 is the mtDNA to protein translation table for Candidate Division SR1

func (CandidateDivisionSR1) String

func (s CandidateDivisionSR1) String() string

String provides a human-readable indication of usag

type ChlorophyceanMt

type ChlorophyceanMt struct{}

ChlorophyceanMt is the chlorophycean mtDNA to protein translation table

func (ChlorophyceanMt) AltName

func (s ChlorophyceanMt) AltName() string

AltName provides the alternative name used by NCBI

func (ChlorophyceanMt) ID

func (s ChlorophyceanMt) ID() uint

ID provides the alternative identifier used by NCBI

func (ChlorophyceanMt) StartCodons

func (s ChlorophyceanMt) StartCodons() []string

StartCodons lists the codons which start a transcrip

func (ChlorophyceanMt) StopCodons

func (s ChlorophyceanMt) StopCodons() []string

StopCodons lists the codons which end a transcrip

func (ChlorophyceanMt) String

func (s ChlorophyceanMt) String() string

String provides a human-readable indication of usage

func (ChlorophyceanMt) Translate

func (s ChlorophyceanMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalen

type Ciliate

type Ciliate struct {
	SGC5
}

Ciliate is the DNA to protein translation table

func (Ciliate) String

func (s Ciliate) String() string

String provides a human-readable indication of usag

type CoelenterateMt

type CoelenterateMt struct {
	SGC3
}

CoelenterateMt is the coelenterate mtDNA to protein translation table

func (CoelenterateMt) String

func (s CoelenterateMt) String() string

String provides a human-readable indication of usage

type Condylostoma

type Condylostoma struct{}

Condylostoma is the condylostoma DNA to protein translation table

func (Condylostoma) AltName

func (s Condylostoma) AltName() string

AltName provides the alternative name used by NCB

func (Condylostoma) ID

func (s Condylostoma) ID() uint

ID provides the alternative identifier used by NCBI

func (Condylostoma) StartCodons

func (s Condylostoma) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Condylostoma) StopCodons

func (s Condylostoma) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Condylostoma) String

func (s Condylostoma) String() string

String provides a human-readable indication of usage

func (Condylostoma) Translate

func (s Condylostoma) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Dasycladacean

type Dasycladacean struct {
	SGC5
}

Dasycladacean is the DNA to protein translation table

func (Dasycladacean) String

func (s Dasycladacean) String() string

String provides a human-readable indication of usag

type EchinodermMt

type EchinodermMt struct {
	SGC8
}

EchinodermMt is the echinoderm mtDNA to protein translation table

func (EchinodermMt) String

func (s EchinodermMt) String() string

String provides a human-readable indication of usage

type Euplotid

type Euplotid struct {
	SGC9
}

Euplotid is the euplotid DNA to protein translation table

func (Euplotid) String

func (s Euplotid) String() string

String provides a human-readable indication of usage

type FlatwormMt

type FlatwormMt struct {
	SGC8
}

FlatwormMt is the flatworm mtDNA to protein translation table

func (FlatwormMt) String

func (s FlatwormMt) String() string

String provides a human-readable indication of usage

type Gracilibacteria

type Gracilibacteria struct{}

Gracilibacteria is the NCBI DNA to protein translation table for gracilibacteria

func (Gracilibacteria) AltName

func (s Gracilibacteria) AltName() string

AltName provides the alternative name used by NCBI

func (Gracilibacteria) ID

func (s Gracilibacteria) ID() uint

ID provides the alternative identifier used by NCBI

func (Gracilibacteria) StartCodons

func (s Gracilibacteria) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Gracilibacteria) StopCodons

func (s Gracilibacteria) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Gracilibacteria) String

func (s Gracilibacteria) String() string

String provides a human-readable indication of usag

func (Gracilibacteria) Translate

func (s Gracilibacteria) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Hexamita

type Hexamita struct {
	SGC5
}

Hexamita is the DNA to protein translation table

func (Hexamita) String

func (s Hexamita) String() string

String provides a human-readable indication of usag

type IDer

type IDer interface {
	ID() uint
}

IDer provides the ID code used by NCBI

type Interface

type Interface interface {
	Translater
	AltNamer
	IDer
	StartCodoner
	StopCodoner
}

Interface is a full featured codon lookup table

type InvertebrateMt

type InvertebrateMt struct {
	SGC4
}

InvertebrateMt is the invertebrate mtDNA to protein translation table

func (InvertebrateMt) String

func (s InvertebrateMt) String() string

String provides a human-readable indication of usage

type Karyorelict

type Karyorelict struct{}

Karyorelict is the karyorelict DNA to protein translation table

func (Karyorelict) AltName

func (s Karyorelict) AltName() string

AltName provides the alternative name used by NCB

func (Karyorelict) ID

func (s Karyorelict) ID() uint

ID provides the alternative identifier used by NCBI

func (Karyorelict) StartCodons

func (s Karyorelict) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Karyorelict) StopCodons

func (s Karyorelict) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Karyorelict) String

func (s Karyorelict) String() string

String provides a human-readable indication of usage

func (Karyorelict) Translate

func (s Karyorelict) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Mesodinium

type Mesodinium struct{}

Mesodinium is the mesodinium DNA to protein translation table

func (Mesodinium) AltName

func (s Mesodinium) AltName() string

AltName provides the alternative name used by NCBI

func (Mesodinium) ID

func (s Mesodinium) ID() uint

ID provides the alternative identifier used by NCBI

func (Mesodinium) StartCodons

func (s Mesodinium) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Mesodinium) StopCodons

func (s Mesodinium) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Mesodinium) String

func (s Mesodinium) String() string

String provides a human-readable indication of usage

func (Mesodinium) Translate

func (s Mesodinium) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type MoldMt

type MoldMt struct {
	SGC3
}

MoldMt is the mold mtDNA to protein translation table

func (MoldMt) String

func (s MoldMt) String() string

String provides a human-readable indication of usage

type Mycoplasma

type Mycoplasma struct {
	SGC3
}

Mycoplasma is the mycoplasma DNA to protein translation table

func (Mycoplasma) String

func (s Mycoplasma) String() string

String provides a human-readable indication of usage

type PachysolenTannophilus

type PachysolenTannophilus struct{}

PachysolenTannophilus is the NCBI DNA to protein translation table for Pachysolen tannophilus

func (PachysolenTannophilus) AltName

func (s PachysolenTannophilus) AltName() string

AltName provides the alternative name used by NCBI

func (PachysolenTannophilus) ID

func (s PachysolenTannophilus) ID() uint

ID provides the alternative identifier used by NCBI

func (PachysolenTannophilus) StartCodons

func (s PachysolenTannophilus) StartCodons() []string

StartCodons lists the codons which start a transcript

func (PachysolenTannophilus) StopCodons

func (s PachysolenTannophilus) StopCodons() []string

StopCodons lists the codons which end a transcript

func (PachysolenTannophilus) String

func (s PachysolenTannophilus) String() string

String provides a human-readable indication of usage

func (PachysolenTannophilus) Translate

func (s PachysolenTannophilus) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Peritrich

type Peritrich struct{}

Peritrich is the peritrich DNA to protein translation table

func (Peritrich) AltName

func (s Peritrich) AltName() string

AltName provides the alternative name used by NCBI

func (Peritrich) ID

func (s Peritrich) ID() uint

ID provides the alternative identifier used by NCBI

func (Peritrich) StartCodons

func (s Peritrich) StartCodons() []string

StartCodons lists the codons which start a transcript

func (Peritrich) StopCodons

func (s Peritrich) StopCodons() []string

StopCodons lists the codons which end a transcript

func (Peritrich) String

func (s Peritrich) String() string

String provides a human-readable indication of usage

func (Peritrich) Translate

func (s Peritrich) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type PlantPlastid

type PlantPlastid struct {
	BacterialArchaelPlantPlastid
}

PlantPlastid is the plant plastid DNA to protein translation table

func (PlantPlastid) String

func (s PlantPlastid) String() string

String provides a human-readable indication of usage

type ProtozoanMt

type ProtozoanMt struct {
	SGC3
}

ProtozoanMt is the protozoan mtDNA to protein translation table

func (ProtozoanMt) String

func (s ProtozoanMt) String() string

String provides a human-readable indication of usage

type PterobranchiaMt

type PterobranchiaMt struct{}

PterobranchiaMt is the pterobranchia mtDNA to protein translation tabl

func (PterobranchiaMt) AltName

func (s PterobranchiaMt) AltName() string

AltName provides the alternative name used by NCBI

func (PterobranchiaMt) ID

func (s PterobranchiaMt) ID() uint

ID provides the alternative identifier used by NCBI

func (PterobranchiaMt) StartCodons

func (s PterobranchiaMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (PterobranchiaMt) StopCodons

func (s PterobranchiaMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (PterobranchiaMt) String

func (s PterobranchiaMt) String() string

String provides a human-readable indication of usag

func (PterobranchiaMt) Translate

func (s PterobranchiaMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC0

type SGC0 struct{}

SGC0 is the NCBI DNA to Protein translation table

func (SGC0) AltName

func (s SGC0) AltName() string

AltName provides the alternative name used by NCBI

func (SGC0) ID

func (s SGC0) ID() uint

ID provides the identifier used by NCBI

func (SGC0) StartCodons

func (s SGC0) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC0) StopCodons

func (s SGC0) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC0) String

func (s SGC0) String() string

String provides a human-readable indication of usage

func (SGC0) Translate

func (s SGC0) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC1

type SGC1 struct{}

SGC1 is the NCBI mtDNA to protein translation table

func (SGC1) AltName

func (s SGC1) AltName() string

AltName provides the alternative name used by NCBI

func (SGC1) ID

func (s SGC1) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC1) StartCodons

func (s SGC1) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC1) StopCodons

func (s SGC1) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC1) String

func (s SGC1) String() string

String provides a human-readable indication of usage

func (SGC1) Translate

func (s SGC1) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC2

type SGC2 struct{}

SGC2 is the NCBI yeast mtDNA to protein translation table

func (SGC2) AltName

func (s SGC2) AltName() string

AltName provides the alternative name used by NCBI

func (SGC2) ID

func (s SGC2) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC2) StartCodons

func (s SGC2) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC2) StopCodons

func (s SGC2) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC2) String

func (s SGC2) String() string

String provides a human-readable indication of usage

func (SGC2) Translate

func (s SGC2) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC3

type SGC3 struct{}

SGC3 is the NCBI mtDNA to protein translation table for Mold, Protozoan, and Coelenterate As well as the standard code for Mycoplasma/Spiroplasma

func (SGC3) AltName

func (s SGC3) AltName() string

AltName provides the alternative name used by NCBI

func (SGC3) ID

func (s SGC3) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC3) StartCodons

func (s SGC3) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC3) StopCodons

func (s SGC3) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC3) String

func (s SGC3) String() string

String provides a human-readable indication of usage

func (SGC3) Translate

func (s SGC3) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC4

type SGC4 struct{}

SGC4 is the NCBI invertebrate mtDNA to protein translation table

func (SGC4) AltName

func (s SGC4) AltName() string

AltName provides the alternative name used by NCB

func (SGC4) ID

func (s SGC4) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC4) StartCodons

func (s SGC4) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC4) StopCodons

func (s SGC4) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC4) String

func (s SGC4) String() string

String provides a human-readable indication of usage

func (SGC4) Translate

func (s SGC4) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC5

type SGC5 struct{}

SGC5 is the NCBI DNA to protein translation table for Ciliate, Dasycladacean, and Hexamita

func (SGC5) AltName

func (s SGC5) AltName() string

AltName provides the alternative name used by NCBI

func (SGC5) ID

func (s SGC5) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC5) StartCodons

func (s SGC5) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC5) StopCodons

func (s SGC5) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC5) String

func (s SGC5) String() string

String provides a human-readable indication of usag

func (SGC5) Translate

func (s SGC5) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC8

type SGC8 struct{}

SGC8 is the NCBI mtDNA to protein translation table for Echinoderm and Flatworm

func (SGC8) AltName

func (s SGC8) AltName() string

AltName provides the alternative name used by NCBI

func (SGC8) ID

func (s SGC8) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC8) StartCodons

func (s SGC8) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC8) StopCodons

func (s SGC8) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC8) String

func (s SGC8) String() string

String provides a human-readable indication of usage

func (SGC8) Translate

func (s SGC8) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type SGC9

type SGC9 struct{}

SGC9 is the NCBI mtDNA to protein translation table for Echinoderm and Flatworm

func (SGC9) AltName

func (s SGC9) AltName() string

AltName provides the alternative name used by NCBI

func (SGC9) ID

func (s SGC9) ID() uint

ID provides the alternative identifier used by NCBI

func (SGC9) StartCodons

func (s SGC9) StartCodons() []string

StartCodons lists the codons which start a transcript

func (SGC9) StopCodons

func (s SGC9) StopCodons() []string

StopCodons lists the codons which end a transcript

func (SGC9) String

func (s SGC9) String() string

String provides a human-readable indication of usage

func (SGC9) Translate

func (s SGC9) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type ScenedesmusObliquusMt

type ScenedesmusObliquusMt struct{}

ScenedesmusObliquusMt is the Scenedesmus obliquus mtDNA to protein translation tabl

func (ScenedesmusObliquusMt) AltName

func (s ScenedesmusObliquusMt) AltName() string

AltName provides the alternative name used by NCBI

func (ScenedesmusObliquusMt) ID

func (s ScenedesmusObliquusMt) ID() uint

ID provides the alternative identifier used by NCBI

func (ScenedesmusObliquusMt) StartCodons

func (s ScenedesmusObliquusMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (ScenedesmusObliquusMt) StopCodons

func (s ScenedesmusObliquusMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (ScenedesmusObliquusMt) String

func (s ScenedesmusObliquusMt) String() string

String provides a human-readable indication of usage

func (ScenedesmusObliquusMt) Translate

func (s ScenedesmusObliquusMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Spiroplasma

type Spiroplasma struct {
	SGC3
}

Spiroplasma is the spiroplasma DNA to protein translation table

func (Spiroplasma) String

func (s Spiroplasma) String() string

String provides a human-readable indication of usage

type Standard

type Standard struct {
	SGC0
}

Standard is the standard DNA to Protein translation table

func (Standard) String

func (s Standard) String() string

String provides a human-readable indication of usage

type StartCodoner

type StartCodoner interface {
	StartCodons() []string
}

StartCodoner lists the codons which start a transcript

type StopCodoner

type StopCodoner interface {
	StopCodons() []string
}

StopCodoner lists the codons which end a transcript

type ThraustochytriumMt

type ThraustochytriumMt struct{}

ThraustochytriumMt is the thraustochytrium mtDNA to protein translation table

func (ThraustochytriumMt) AltName

func (s ThraustochytriumMt) AltName() string

AltName provides the alternative name used by NCBI

func (ThraustochytriumMt) ID

func (s ThraustochytriumMt) ID() uint

ID provides the alternative identifier used by NCBI

func (ThraustochytriumMt) StartCodons

func (s ThraustochytriumMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (ThraustochytriumMt) StopCodons

func (s ThraustochytriumMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (ThraustochytriumMt) String

func (s ThraustochytriumMt) String() string

String provides a human-readable indication of usage

func (ThraustochytriumMt) Translate

func (s ThraustochytriumMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type Translater

type Translater interface {
	Translate(string) (byte, bool)
}

Translater converts a codon into its amino acid equivalent

type TrematodeMt

type TrematodeMt struct{}

TrematodeMt is the trematode mtDNA to protein translation table

func (TrematodeMt) AltName

func (s TrematodeMt) AltName() string

AltName provides the alternative name used by NCB

func (TrematodeMt) ID

func (s TrematodeMt) ID() uint

ID provides the alternative identifier used by NCBI

func (TrematodeMt) StartCodons

func (s TrematodeMt) StartCodons() []string

StartCodons lists the codons which start a transcript

func (TrematodeMt) StopCodons

func (s TrematodeMt) StopCodons() []string

StopCodons lists the codons which end a transcript

func (TrematodeMt) String

func (s TrematodeMt) String() string

String provides a human-readable indication of usage

func (TrematodeMt) Translate

func (s TrematodeMt) Translate(c string) (byte, bool)

Translate converts a codon into its amino acid equivalent

type VertebrateMt

type VertebrateMt struct {
	SGC1
}

VertebrateMt is the mtDNA to protein translation table

func (VertebrateMt) String

func (s VertebrateMt) String() string

String provides a human-readable indication of usage

type YeastMt

type YeastMt struct {
	SGC2
}

YeastMt is the yeast mtDNA to protein translation table

func (YeastMt) String

func (s YeastMt) String() string

String provides a human-readable indication of usage

Jump to

Keyboard shortcuts

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