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



842
843
844
# File 'generated/google/apis/genomics_v1/classes.rb', line 842

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)


820
821
822
# File 'generated/google/apis/genomics_v1/classes.rb', line 820

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)


828
829
830
# File 'generated/google/apis/genomics_v1/classes.rb', line 828

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)


835
836
837
# File 'generated/google/apis/genomics_v1/classes.rb', line 835

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)


840
841
842
# File 'generated/google/apis/genomics_v1/classes.rb', line 840

def sequencing_center
  @sequencing_center
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



847
848
849
850
851
852
# File 'generated/google/apis/genomics_v1/classes.rb', line 847

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