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 ¶
- type AltFlatwormMt
- type AltNamer
- type AltYeast
- type ArchaelPlastid
- type AscidianMt
- type BacterialArchaelPlantPlastid
- func (s BacterialArchaelPlantPlastid) AltName() string
- func (s BacterialArchaelPlantPlastid) ID() uint
- func (s BacterialArchaelPlantPlastid) StartCodons() []string
- func (s BacterialArchaelPlantPlastid) StopCodons() []string
- func (s BacterialArchaelPlantPlastid) String() string
- func (s BacterialArchaelPlantPlastid) Translate(c string) (byte, bool)
- type BacterialPlastid
- type Blastocrithidia
- type BlepharismaMacronuclear
- func (s BlepharismaMacronuclear) AltName() string
- func (s BlepharismaMacronuclear) ID() uint
- func (s BlepharismaMacronuclear) StartCodons() []string
- func (s BlepharismaMacronuclear) StopCodons() []string
- func (s BlepharismaMacronuclear) String() string
- func (s BlepharismaMacronuclear) Translate(c string) (byte, bool)
- type CandidateDivisionSR1
- type ChlorophyceanMt
- type Ciliate
- type CoelenterateMt
- type Condylostoma
- type Dasycladacean
- type EchinodermMt
- type Euplotid
- type FlatwormMt
- type Gracilibacteria
- type Hexamita
- type IDer
- type Interface
- type InvertebrateMt
- type Karyorelict
- type Mesodinium
- type MoldMt
- type Mycoplasma
- type PachysolenTannophilus
- func (s PachysolenTannophilus) AltName() string
- func (s PachysolenTannophilus) ID() uint
- func (s PachysolenTannophilus) StartCodons() []string
- func (s PachysolenTannophilus) StopCodons() []string
- func (s PachysolenTannophilus) String() string
- func (s PachysolenTannophilus) Translate(c string) (byte, bool)
- type Peritrich
- type PlantPlastid
- type ProtozoanMt
- type PterobranchiaMt
- type SGC0
- type SGC1
- type SGC2
- type SGC3
- type SGC4
- type SGC5
- type SGC8
- type SGC9
- type ScenedesmusObliquusMt
- func (s ScenedesmusObliquusMt) AltName() string
- func (s ScenedesmusObliquusMt) ID() uint
- func (s ScenedesmusObliquusMt) StartCodons() []string
- func (s ScenedesmusObliquusMt) StopCodons() []string
- func (s ScenedesmusObliquusMt) String() string
- func (s ScenedesmusObliquusMt) Translate(c string) (byte, bool)
- type Spiroplasma
- type Standard
- type StartCodoner
- type StopCodoner
- type ThraustochytriumMt
- type Translater
- type TrematodeMt
- type VertebrateMt
- type YeastMt
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
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) StartCodons ¶
StartCodons lists the codons which start a transcript
func (AltYeast) StopCodons ¶
StopCodons lists the codons which end a transcript
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
type BacterialArchaelPlantPlastid ¶
type BacterialArchaelPlantPlastid struct{}
BacterialArchaelPlantPlastid is the NCBI DNA to protein translation table for bacterial, archael, and plant plastid
func (BacterialArchaelPlantPlastid) AltName ¶
func (s BacterialArchaelPlantPlastid) AltName() string
AltName provides the alternative name used by NCBI
func (BacterialArchaelPlantPlastid) ID ¶
func (s BacterialArchaelPlantPlastid) ID() uint
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 ¶
func (s BacterialArchaelPlantPlastid) String() string
String provides a human-readable indication of usage
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
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 ¶
func (s BlepharismaMacronuclear) ID() uint
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
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
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
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
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
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
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
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
type Peritrich ¶
type Peritrich struct{}
Peritrich is the peritrich DNA to protein translation table
func (Peritrich) StartCodons ¶
StartCodons lists the codons which start a transcript
func (Peritrich) StopCodons ¶
StopCodons lists the codons which end a transcript
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
type SGC0 ¶
type SGC0 struct{}
SGC0 is the NCBI DNA to Protein translation table
func (SGC0) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC0) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC1 ¶
type SGC1 struct{}
SGC1 is the NCBI mtDNA to protein translation table
func (SGC1) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC1) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC2 ¶
type SGC2 struct{}
SGC2 is the NCBI yeast mtDNA to protein translation table
func (SGC2) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC2) StopCodons ¶
StopCodons lists the codons which end a transcript
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) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC3) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC4 ¶
type SGC4 struct{}
SGC4 is the NCBI invertebrate mtDNA to protein translation table
func (SGC4) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC4) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC5 ¶
type SGC5 struct{}
SGC5 is the NCBI DNA to protein translation table for Ciliate, Dasycladacean, and Hexamita
func (SGC5) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC5) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC8 ¶
type SGC8 struct{}
SGC8 is the NCBI mtDNA to protein translation table for Echinoderm and Flatworm
func (SGC8) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC8) StopCodons ¶
StopCodons lists the codons which end a transcript
type SGC9 ¶
type SGC9 struct{}
SGC9 is the NCBI mtDNA to protein translation table for Echinoderm and Flatworm
func (SGC9) StartCodons ¶
StartCodons lists the codons which start a transcript
func (SGC9) StopCodons ¶
StopCodons lists the codons which end a transcript
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
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
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
type Translater ¶
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
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
Source Files ¶
- alt_flatworm_mt.go
- alt_yeast.go
- ascidian_mt.go
- blastocrithidia.go
- blepharism_macronuclear.go
- chlorophycean_mt.go
- condylostoma.go
- doc.go
- gracilibacteria.go
- interfaces.go
- karyorelict.go
- mesodinium.go
- pachysolen_tannophilus.go
- peritrich.go
- plastid.go
- pterobranchia_mt.go
- scenedesmus_obliquus_mt.go
- sgc0.go
- sgc1.go
- sgc2.go
- sgc3.go
- sgc4.go
- sgc5.go
- sgc8.go
- sgc9.go
- thraustochytrium_mt.go
- trematode_mt.go