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



879
880
881
# File 'generated/google/apis/genomics_v1/classes.rb', line 879

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)


857
858
859
# File 'generated/google/apis/genomics_v1/classes.rb', line 857

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)


865
866
867
# File 'generated/google/apis/genomics_v1/classes.rb', line 865

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)


872
873
874
# File 'generated/google/apis/genomics_v1/classes.rb', line 872

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)


877
878
879
# File 'generated/google/apis/genomics_v1/classes.rb', line 877

def sequencing_center
  @sequencing_center
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



884
885
886
887
888
889
# File 'generated/google/apis/genomics_v1/classes.rb', line 884

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