cli

package
v0.0.0-...-2b433ae Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: BSD-2-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadUniprotMappings

func LoadUniprotMappings(cltx *cli.Context) error

LoadUniprotMappings stores uniprot and gene name or identifier mapping in redis

func UniprotFlags

func UniprotFlags() []cli.Flag

Types

type UniProtCrossRefProperty

type UniProtCrossRefProperty struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type UniProtCrossReference

type UniProtCrossReference struct {
	Database   string                    `json:"database"`
	ID         string                    `json:"id"`
	Properties []UniProtCrossRefProperty `json:"properties"`
}

type UniProtEntry

type UniProtEntry struct {
	PrimaryAccession string                  `json:"primaryAccession"`
	CrossReferences  []UniProtCrossReference `json:"uniProtKBCrossReferences"`
}

type UniProtResponse

type UniProtResponse struct {
	Results []UniProtEntry `json:"results"`
}

Jump to

Keyboard shortcuts

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