Class: Google::Apis::GenomicsV1beta2::ImportVariantsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1beta2::ImportVariantsRequest
- Includes:
- Core::Hashable
- Defined in:
- generated/google/apis/genomics_v1beta2/classes.rb,
generated/google/apis/genomics_v1beta2/representations.rb,
generated/google/apis/genomics_v1beta2/representations.rb
Overview
The variant data import request.
Instance Attribute Summary collapse
-
#format ⇒ String
The format of the variant data being imported.
-
#normalize_reference_names ⇒ Boolean
(also: #normalize_reference_names?)
Convert reference names to the canonical representation.
-
#source_uris ⇒ Array<String>
A list of URIs referencing variant files in Google Cloud Storage.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ImportVariantsRequest
constructor
A new instance of ImportVariantsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ ImportVariantsRequest
Returns a new instance of ImportVariantsRequest.
959 960 961 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 959 def initialize(**args) update!(**args) end |
Instance Attribute Details
#format ⇒ String
The format of the variant data being imported. If unspecified, defaults to to "
VCF".
Corresponds to the JSON property format
939 940 941 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 939 def format @format end |
#normalize_reference_names ⇒ Boolean Also known as: normalize_reference_names?
Convert reference names to the canonical representation. hg19 haploytypes (
those reference names containing "_hap") are not modified in any way. All
other reference names are modified according to the following rules: The
reference name is capitalized. The "chr" prefix is dropped for all autosomes
and sex chromsomes. For example "chr17" becomes "17" and "chrX" becomes "X".
All mitochondrial chromosomes ("chrM", "chrMT", etc) become "MT".
Corresponds to the JSON property normalizeReferenceNames
949 950 951 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 949 def normalize_reference_names @normalize_reference_names end |
#source_uris ⇒ Array<String>
A list of URIs referencing variant files in Google Cloud Storage. URIs can
include wildcards as described here. Note that recursive wildcards ('**') are
not supported.
Corresponds to the JSON property sourceUris
957 958 959 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 957 def source_uris @source_uris end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
964 965 966 967 968 |
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 964 def update!(**args) @format = args[:format] unless args[:format].nil? @normalize_reference_names = args[:normalize_reference_names] unless args[:normalize_reference_names].nil? @source_uris = args[:source_uris] unless args[:source_uris].nil? end |