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



717
718
719
# File 'generated/google/apis/genomics_v1/classes.rb', line 717

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)


695
696
697
# File 'generated/google/apis/genomics_v1/classes.rb', line 695

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)


703
704
705
# File 'generated/google/apis/genomics_v1/classes.rb', line 703

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)


710
711
712
# File 'generated/google/apis/genomics_v1/classes.rb', line 710

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)


715
716
717
# File 'generated/google/apis/genomics_v1/classes.rb', line 715

def sequencing_center
  @sequencing_center
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



722
723
724
725
726
727
# File 'generated/google/apis/genomics_v1/classes.rb', line 722

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