Documentation ¶
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Export ¶
Export returns a json file of the Rebase database
Example ¶
enzymeMap, _ := Read("data/rebase_test.txt") enzymeJson := Export(enzymeMap) fmt.Println(string(enzymeJson)[:100])
Output: {"AaaI":{"name":"AaaI","isoschizomers":["XmaIII","BseX3I","BsoDI","BstZI","EagI","EclXI","Eco52I","S
Types ¶
type Enzyme ¶
type Enzyme struct { Name string `json:"name"` Isoschizomers []string `json:"isoschizomers"` RecognitionSequence string `json:"recognitionSequence"` MethylationSite string `json:"methylationSite"` MicroOrganism string `json:"microorganism"` Source string `json:"source"` CommercialAvailability []string `json:"commercialAvailability"` References string `json:"references"` }
Enzyme represents a single enzyme within the Rebase database
Click to show internal directories.
Click to hide internal directories.