class Google::Apis::GenomicsV1::ImportVariantsRequest

The variant data import request.

Attributes

format[RW]

The format of the variant data being imported. If unspecified, defaults to to ` VCF`. Corresponds to the JSON property `format` @return [String]

info_merge_config[RW]

A mapping between info field keys and the InfoMergeOperations to be performed on them. This is plumbed down to the MergeVariantRequests generated by the resulting import job. Corresponds to the JSON property `infoMergeConfig` @return [Hash<String,String>]

normalize_reference_names[RW]

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` @return [Boolean]

normalize_reference_names?[RW]

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` @return [Boolean]

source_uris[RW]

A list of URIs referencing variant files in Google Cloud Storage. URIs can include wildcards [as described here](cloud.google.com/storage/docs/ gsutil/addlhelp/WildcardNames). Note that recursive wildcards ('**') are not supported. Corresponds to the JSON property `sourceUris` @return [Array<String>]

variant_set_id[RW]

Required. The variant set to which variant data should be imported. Corresponds to the JSON property `variantSetId` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 2475
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1/classes.rb, line 2480
def update!(**args)
  @variant_set_id = args[:variant_set_id] if args.key?(:variant_set_id)
  @source_uris = args[:source_uris] if args.key?(:source_uris)
  @format = args[:format] if args.key?(:format)
  @normalize_reference_names = args[:normalize_reference_names] if args.key?(:normalize_reference_names)
  @info_merge_config = args[:info_merge_config] if args.key?(:info_merge_config)
end