Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TargetColumns = []string{"UniProtKB-AC", "UniProtKB-ID", "GeneID", "Ensembl", "Symbol", "LocusTag", "Synonyms"}
Functions ¶
func Load ¶
func Load(mappingFileDir string) map[string]*ConversionTable
Types ¶
type ConversionTable ¶
type ConversionTable struct {
MappingTable map[string]map[string]*MappingEntry
}
type IdMapper ¶
type IdMapper struct { Tables map[string]*ConversionTable Species string }
func NewIdMapper ¶
type Mapper ¶
type Mapper interface {
Map(values []string, filter []string) MappingResult
}
type MappingEntry ¶
type MappingResult ¶
type MappingResult struct { Matched []MappingEntry `json:"matched"` Unmatched []string `json:"unmatched"` }
Click to show internal directories.
Click to hide internal directories.