Class: Google::Apis::GenomicsV1::Experiment

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/genomics_v1/classes.rb,
generated/google/apis/genomics_v1/representations.rb,
generated/google/apis/genomics_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Experiment

Returns a new instance of Experiment



3437
3438
3439
# File 'generated/google/apis/genomics_v1/classes.rb', line 3437

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#instrument_modelString

The instrument model used as part of this experiment. This maps to sequencing technology in the SAM spec. Corresponds to the JSON property instrumentModel

Returns:

  • (String)


3435
3436
3437
# File 'generated/google/apis/genomics_v1/classes.rb', line 3435

def instrument_model
  @instrument_model
end

#library_idString

A client-supplied library identifier; a library is a collection of DNA fragments which have been prepared for sequencing from a sample. This field is important for quality control as error or bias can be introduced during sample preparation. Corresponds to the JSON property libraryId

Returns:

  • (String)


3429
3430
3431
# File 'generated/google/apis/genomics_v1/classes.rb', line 3429

def library_id
  @library_id
end

#platform_unitString

The platform unit used as part of this experiment, for example flowcell-barcode.lane for Illumina or slide for SOLiD. Corresponds to the Corresponds to the JSON property platformUnit

Returns:

  • (String)


3421
3422
3423
# File 'generated/google/apis/genomics_v1/classes.rb', line 3421

def platform_unit
  @platform_unit
end

#sequencing_centerString

The sequencing center used as part of this experiment. Corresponds to the JSON property sequencingCenter

Returns:

  • (String)


3414
3415
3416
# File 'generated/google/apis/genomics_v1/classes.rb', line 3414

def sequencing_center
  @sequencing_center
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3442
3443
3444
3445
3446
3447
# File 'generated/google/apis/genomics_v1/classes.rb', line 3442

def update!(**args)
  @sequencing_center = args[:sequencing_center] if args.key?(:sequencing_center)
  @platform_unit = args[:platform_unit] if args.key?(:platform_unit)
  @library_id = args[:library_id] if args.key?(:library_id)
  @instrument_model = args[:instrument_model] if args.key?(:instrument_model)
end