Documentation ¶
Index ¶
- func NoSync(connStr string) string
- func ReadOnly(connStr string) string
- type DB
- func (db *DB) Close() error
- func (db *DB) GetAlignment(ctx context.Context, chainID, refOffset int64) (*types.Alignment, error)
- func (db *DB) GetAllele(ctx context.Context, id int64, reference, alternate string, ...) (*types.Allele, error)
- func (db *DB) GetAlleles(ctx context.Context, id int64) ([]types.Allele, error)
- func (db *DB) GetChain(ctx context.Context, from types.Reference, chromosome types.Chromosome, ...) (*types.Chain, error)
- func (db *DB) GetVariant(ctx context.Context, id int64) (*types.Variant, error)
- func (db *DB) GetVariants(ctx context.Context, chromosome types.Chromosome, position int64) ([]types.Variant, error)
- func (db *DB) KnownAlleles(ctx context.Context) (map[int64]bool, error)
- func (db *DB) StoreAlignments(ctx context.Context, chainID int64, alignments []types.Alignment) error
- func (db *DB) StoreAlleles(ctx context.Context, alleles []types.Allele) error
- func (db *DB) StoreChain(ctx context.Context, from types.Reference, chain *types.Chain) (int64, error)
- func (db *DB) StoreVariants(ctx context.Context, variants []types.Variant) error
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) GetAlignment ¶
func (*DB) GetAlleles ¶
func (*DB) GetVariant ¶
func (*DB) GetVariants ¶
func (*DB) KnownAlleles ¶ added in v0.3.0
func (*DB) StoreAlignments ¶
func (*DB) StoreAlleles ¶
func (*DB) StoreChain ¶
Click to show internal directories.
Click to hide internal directories.