Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Call ¶
type Call struct { ID uuid.UUID `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` IndividualID uuid.UUID `json:"individual_id" db:"individual_id"` Individual *Individual `json:"individual" belongs_to:"individual"` VariantID uuid.UUID `json:"variant_id" db:"variant_id"` Variant *Variant `json:"variant" belongs_to:"variant"` Genotype string `json:"genotype" db:"genotype"` Format string `json:"format" db:"format"` }
Call : The ORM-side representation of the Call data object.
A single variant call on a single individual. Contains some unique data, but is essentially the many-to-many association between variants and individuals.
func (*Call) Validate ¶
Validate gets run every time you call a "pop.Validate*" (pop.ValidateAndSave, pop.ValidateAndCreate, pop.ValidateAndUpdate) method. This method is not required and may be deleted.
func (*Call) ValidateCreate ¶
ValidateCreate gets run every time you call "pop.ValidateAndCreate" method. This method is not required and may be deleted.
func (*Call) ValidateUpdate ¶
ValidateUpdate gets run every time you call "pop.ValidateAndUpdate" method. This method is not required and may be deleted.
type Individual ¶
type Individual struct { ID uuid.UUID `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` Description string `json:"description" db:"description"` Variants Variants `json:"variants" many_to_many:"calls"` }
Individual : The ORM-side representation of the Individual data object.
An individual whose variant data is present in the variant service.
func (Individual) String ¶
func (i Individual) String() string
String is not required by pop and may be deleted
func (*Individual) Validate ¶
func (i *Individual) Validate(tx *pop.Connection) (*validate.Errors, error)
Validate gets run every time you call a "pop.Validate*" (pop.ValidateAndSave, pop.ValidateAndCreate, pop.ValidateAndUpdate) method. This method is not required and may be deleted.
func (*Individual) ValidateCreate ¶
func (i *Individual) ValidateCreate(tx *pop.Connection) (*validate.Errors, error)
ValidateCreate gets run every time you call "pop.ValidateAndCreate" method. This method is not required and may be deleted.
func (*Individual) ValidateUpdate ¶
func (i *Individual) ValidateUpdate(tx *pop.Connection) (*validate.Errors, error)
ValidateUpdate gets run every time you call "pop.ValidateAndUpdate" method. This method is not required and may be deleted.
type Individuals ¶
type Individuals []Individual
Individuals is not required by pop and may be deleted
func (Individuals) String ¶
func (i Individuals) String() string
String is not required by pop and may be deleted
type Variant ¶
type Variant struct { ID uuid.UUID `json:"id" db:"id"` CreatedAt time.Time `json:"created_at" db:"created_at"` UpdatedAt time.Time `json:"updated_at" db:"updated_at"` Name string `json:"name" db:"name"` Chromosome string `json:"chromosome" db:"chromosome"` Start nulls.Int `json:"start" db:"start"` Ref string `json:"ref" db:"ref"` Alt string `json:"alt" db:"alt"` Individuals Individuals `json:"individuals" many_to_many:"calls"` }
Variant : The ORM-side representation of the Variant data object.
A single variant, which may be called in many individuals in the variant service.
func (*Variant) Validate ¶
Validate gets run every time you call a "pop.Validate*" (pop.ValidateAndSave, pop.ValidateAndCreate, pop.ValidateAndUpdate) method. This method is not required and may be deleted.
func (*Variant) ValidateCreate ¶
ValidateCreate gets run every time you call "pop.ValidateAndCreate" method. This method is not required and may be deleted.
func (*Variant) ValidateUpdate ¶
ValidateUpdate gets run every time you call "pop.ValidateAndUpdate" method. This method is not required and may be deleted.