Documentation
¶
Index ¶
- Variables
- func BapiCmdRunOptions(cmd *cobra.Command)
- func BioToolsCmdRunOptions(cmd *cobra.Command, args []string)
- func CligovCmdRunOptions(cmd *cobra.Command, args []string)
- func Covid19CmdRunOptions(cmd *cobra.Command, args []string)
- func CrossRefCmdRunOptions(cmd *cobra.Command, args []string)
- func Dataset2toolsCmdRunOptions(cmd *cobra.Command, args []string)
- func Execute()
- func GdcCmdRunOptions(cmd *cobra.Command, args []string)
- func MgRastCmdRunOptions(cmd *cobra.Command, args []string)
- func NcbiCmdRunOptions(cmd *cobra.Command, args []string)
Constants ¶
This section is empty.
Variables ¶
View Source
var BapiCmd = &cobra.Command{ Use: "api", Short: "Query bioinformatics website APIs.", Long: `Query bioinformatics website APIs.`, Run: func(cmd *cobra.Command, args []string) { BapiCmdRunOptions(cmd) }, }
BapiCmd is the "bget api" cobra command object
View Source
var BioToolsCmd = &cobra.Command{ Use: "biots", Short: "Query bio.tools website APIs.", Long: `Query bio.tools website APIs. Detail see https://biotools.readthedocs.io/en/latest/api_reference.html`, Run: func(cmd *cobra.Command, args []string) { BioToolsCmdRunOptions(cmd, args) }, }
View Source
var CligovCmd = &cobra.Command{ Use: "cligov", Short: "Query clinicaltrials.gov website APIs.", Long: `Query clinicaltrials.gov website APIs. Detail see https://clinicaltrials.gov/api/gui/ref/api_urls`, Run: func(cmd *cobra.Command, args []string) { CligovCmdRunOptions(cmd, args) }, }
View Source
var Covid19Cmd = &cobra.Command{ Use: "covid19", Short: "Query covid19api.com website APIs.", Long: `Query covid19api.com website APIs. Detail see https://covid19api.com`, Run: func(cmd *cobra.Command, args []string) { Covid19CmdRunOptions(cmd, args) }, }
View Source
var CrossRefCmd = &cobra.Command{ Use: "crf", Short: "Query crossref guestquery APIs.", Long: `Query crossref guestquery APIs. Detail see https://www.crossref.org/guestquery website.`, Run: func(cmd *cobra.Command, args []string) { CrossRefCmdRunOptions(cmd, args) }, }
View Source
var Dataset2toolsCmd = &cobra.Command{ Use: "dta", Short: "Query dataset2tools website APIs: datasets (d), tools (t), and canned analysis (a).", Long: `Query dataset2tools website APIs: datasets (d), tools (t), and canned analysis (a).`, Run: func(cmd *cobra.Command, args []string) { Dataset2toolsCmdRunOptions(cmd, args) }, }
View Source
var GdcCmd = &cobra.Command{ Use: "gdc", Short: "Query GDC portal website APIs.", Long: `Query GDC portal website APIs.`, Run: func(cmd *cobra.Command, args []string) { GdcCmdRunOptions(cmd, args) }, }
View Source
var MgRastAnnoCmd = &cobra.Command{ Use: "anno", Short: "Query http://api.mg-rast.org/anno website annotation APIs.", Long: `Query http://api.mg-rast.org/anno website annotation APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { MgRastEndp.Annotation = true MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastCmd = &cobra.Command{ Use: "mgrast", Short: "Query mg-rast website APIs.", Long: `Query mg-rast website APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastComputeCmd = &cobra.Command{ Use: "compute", Short: "Query http://api.mg-rast.org/compute website compute APIs.", Long: `Query http://api.mg-rast.org/compute website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { MgRastEndp.Compute = true MgRastEndp.ParamsCompute.Retry = bapiClis.Retries MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastDarkMatterCmd = &cobra.Command{ Use: "darkmatter", Short: "Query http://api.mg-rast.org/darkmatter website compute APIs.", Long: `Query http://api.mg-rast.org/darkmatter website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { MgRastEndp.DarkMatter = true MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastDownloadCmd = &cobra.Command{ Use: "download", Short: "Query http://api.mg-rast.org/download website compute APIs.", Long: `Query http://api.mg-rast.org/download website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { MgRastEndp.Download = true MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastEndp types.MgRastEndpoints
View Source
var MgRastLibraryCmd = &cobra.Command{ Use: "library [id]", Short: "Query http://api.mg-rast.org/library website compute APIs.", Long: `Query http://api.mg-rast.org/library website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { if len(args) > 0 { MgRastEndp.Library = args[0] } else { MgRastEndp.Library = "nil" } MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastProjectCmd = &cobra.Command{ Use: "proj", Short: "Query http://api.mg-rast.org/project website compute APIs.", Long: `Query http://api.mg-rast.org/project website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { if len(args) > 0 { MgRastEndp.Project = args[0] } else { MgRastEndp.Project = "nil" } MgRastCmdRunOptions(cmd, args) }, }
View Source
var MgRastSampleCmd = &cobra.Command{ Use: "sample [id]", Short: "Query http://api.mg-rast.org/sample website compute APIs.", Long: `Query http://api.mg-rast.org/sample website compute APIs. Detail see http://api.mg-rast.org/api.html`, Run: func(cmd *cobra.Command, args []string) { if len(args) > 0 { MgRastEndp.Sample = args[0] } else { MgRastEndp.Sample = "nil" } MgRastCmdRunOptions(cmd, args) }, }
View Source
var NcbiCmd = &cobra.Command{ Use: "ncbi", Short: "Query ncbi website APIs.", Long: `Query ncbi website APIs.`, Run: func(cmd *cobra.Command, args []string) { NcbiCmdRunOptions(cmd, args) }, }
Functions ¶
func BapiCmdRunOptions ¶
BapiCmdRunOptions is the main of bapi
func BioToolsCmdRunOptions ¶
func CligovCmdRunOptions ¶
func Covid19CmdRunOptions ¶
func CrossRefCmdRunOptions ¶
func GdcCmdRunOptions ¶
func MgRastCmdRunOptions ¶
func NcbiCmdRunOptions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.