22 lines
557 B
Go
22 lines
557 B
Go
|
|
||
|
// locusValue provides the LocusValue type
|
||
|
// This represents the value at a particular locus in a genome
|
||
|
|
||
|
package locusValue
|
||
|
|
||
|
|
||
|
//TODO: Add the ability for only 1 base to exist (Example: Y chromosome loci)
|
||
|
//TODO: Rename Base1/2 to Allele1/2
|
||
|
|
||
|
|
||
|
// This type represents a locus base pair value
|
||
|
type LocusValue struct{
|
||
|
|
||
|
// If true, then Base 1 and 2 have significance
|
||
|
// If false, Base 1 and 2 could be swapped and it makes no difference to accuracy
|
||
|
LocusIsPhased bool
|
||
|
|
||
|
// Potential options: "C"/"A"/"T"/"G"/"I"/"D"
|
||
|
Base1Value string
|
||
|
Base2Value string
|
||
|
}
|