Struct gapi_grpc::google::genomics::v1::VariantCall[][src]

pub struct VariantCall {
    pub call_set_id: String,
    pub call_set_name: String,
    pub genotype: Vec<i32>,
    pub phaseset: String,
    pub genotype_likelihood: Vec<f64>,
    pub info: HashMap<String, ListValue>,
}

A call represents the determination of genotype with respect to a particular variant. It may include associated information such as quality and phasing. For example, a call might assign a probability of 0.32 to the occurrence of a SNP named rs1234 in a call set with the name NA12345.

Fields

call_set_id: String

The ID of the call set this variant call belongs to.

call_set_name: String

The name of the call set this variant call belongs to.

genotype: Vec<i32>

The genotype of this variant call. Each value represents either the value of the referenceBases field or a 1-based index into alternateBases. If a variant had a referenceBases value of T and an alternateBases value of ["A", "C"], and the genotype was [2, 1], that would mean the call represented the heterozygous value CA for this variant. If the genotype was instead [0, 1], the represented value would be TA. Ordering of the genotype values is important if the phaseset is present. If a genotype is not called (that is, a . is present in the GT string) -1 is returned.

phaseset: String

If this field is present, this variant call’s genotype ordering implies the phase of the bases and is consistent with any other variant calls in the same reference sequence which have the same phaseset value. When importing data from VCF, if the genotype data was phased but no phase set was specified this field will be set to *.

genotype_likelihood: Vec<f64>

The genotype likelihoods for this variant call. Each array entry represents how likely a specific genotype is for this call. The value ordering is defined by the GL tag in the VCF spec. If Phred-scaled genotype likelihood scores (PL) are available and log10(P) genotype likelihood scores (GL) are not, PL scores are converted to GL scores. If both are available, PL scores are stored in info.

info: HashMap<String, ListValue>

A map of additional variant call information. This must be of the form map<string, string[]> (string key mapping to a list of string values).

Trait Implementations

impl Clone for VariantCall[src]

impl Debug for VariantCall[src]

impl Default for VariantCall[src]

impl Message for VariantCall[src]

impl PartialEq<VariantCall> for VariantCall[src]

impl StructuralPartialEq for VariantCall[src]

Auto Trait Implementations

impl RefUnwindSafe for VariantCall

impl Send for VariantCall

impl Sync for VariantCall

impl Unpin for VariantCall

impl UnwindSafe for VariantCall

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]