Documentation
¶
Index ¶
- Constants
- func GetDatabaseConnection() (*sql.DB, *gorp.DbMap, error)
- func GetEvidence(evidenceId int) ([]byte, error)
- func InitDatabase()
- func InitEvidence(dbmap *gorp.DbMap) error
- type Evidence
- type EvidenceError
- type Genome
- type GenomeError
- type Genotype
- type Genotypes
- type Location
- type Sequence
- type Variant
Constants ¶
View Source
const (
// FIXME
DbFile = "awtk.sqlite3"
)
Variables ¶
This section is empty.
Functions ¶
func GetEvidence ¶
func InitDatabase ¶
func InitDatabase()
func InitEvidence ¶
InitEvidence initializes evidences table records.
Types ¶
type EvidenceError ¶
type EvidenceError struct {
Msg string
}
func (*EvidenceError) Error ¶
func (err *EvidenceError) Error() string
type Genome ¶
type Genome struct {
Id int `json:"id"`
FilePath string `json:"filePath" form:"filePath"`
SampleName string `json:"sampleName"`
SampleIndex int `json:"sampleIndex"`
}
func CreateGenomes ¶
func GetGenomes ¶
type GenomeError ¶
type GenomeError struct {
Msg string
}
func (*GenomeError) Error ¶
func (err *GenomeError) Error() string
type Genotypes ¶
type Genotypes struct {
SampleName string `json:"sampleName"`
Genotypes []Genotype `json:"genotypes"`
}
func (*Genotypes) AddGenotype ¶
type Sequence ¶
Click to show internal directories.
Click to hide internal directories.