HPO

package
v0.0.0-...-5420e35 Latest Latest
Warning

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

Go to latest
Published: May 22, 2017 License: MIT Imports: 13 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IndexHPO

func IndexHPO() error

IndexHPO - build the index

func QueryHPO

func QueryHPO(query Queries.ITamalouQuery) ([]*Models.Disease, error)

QueryHPO - Return array of diseases from the HPO databases

func QueryIndex

func QueryIndex(query Queries.ITamalouQuery) ([]string, error)

QueryIndex - obo index Get IDs of terms matching the query (name or synonymes)

func SQLiteQuery

func SQLiteQuery(diseasesIDs []string) ([]*Models.Disease, error)

SQLiteQuery - Make a request on HPO SQLite database @param query : The query to make

Note that the query will be prepend with "SELECT ... FROM ... WHERE "
You can use the following fields names :
          'disease_db', 'disease_id', 'disease_label', 'sign_id'

@return results : Array fill with HPOSQLiteStruct @return error : Contains an error if one occurs

Types

This section is empty.

Jump to

Keyboard shortcuts

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