Struct google_genomics1::Variant [] [src]

pub struct Variant {
    pub info: Option<HashMap<String, Vec<String>>>,
    pub variant_set_id: Option<String>,
    pub end: Option<String>,
    pub calls: Option<Vec<VariantCall>>,
    pub created: Option<String>,
    pub id: Option<String>,
    pub filter: Option<Vec<String>>,
    pub start: Option<String>,
    pub names: Option<Vec<String>>,
    pub alternate_bases: Option<Vec<String>>,
    pub reference_name: Option<String>,
    pub quality: Option<f64>,
    pub reference_bases: Option<String>,
}

A variant represents a change in DNA sequence relative to a reference sequence. For example, a variant could represent a SNP or an insertion. Variants belong to a variant set. For more genomics resource definitions, see Fundamentals of Google Genomics Each of the calls on a variant represent a determination of genotype with respect to that variant. For example, a call might assign probability of 0.32 to the occurrence of a SNP named rs1234 in a sample named NA12345. A call belongs to a call set, which contains related calls typically from one sample.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

A map of additional variant information. This must be of the form map (string key mapping to a list of string values).

The ID of the variant set this variant belongs to.

The end position (0-based) of this variant. This corresponds to the first base after the last base in the reference allele. So, the length of the reference allele is (end - start). This is useful for variants that don't explicitly give alternate bases, for example large deletions.

The variant calls for this particular variant. Each one represents the determination of genotype with respect to this variant.

The date this variant was created, in milliseconds from the epoch.

The server-generated variant ID, unique across all variants.

A list of filters (normally quality filters) this variant has failed. PASS indicates this variant has passed all filters.

The position at which this variant occurs (0-based). This corresponds to the first base of the string of reference bases.

Names for the variant, for example a RefSNP ID.

The bases that appear instead of the reference bases.

The reference on which this variant occurs. (such as chr20 or X)

A measure of how likely this variant is to be real. A higher value is better.

The reference bases for this variant. They start at the given position.

Trait Implementations

impl Debug for Variant
[src]

Formats the value using the given formatter.

impl Clone for Variant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Variant
[src]

Returns the "default value" for a type. Read more

impl RequestValue for Variant
[src]

impl Resource for Variant
[src]

impl ResponseResult for Variant
[src]