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.



1478
1479
1480
# File 'generated/google/apis/genomics_v1/classes.rb', line 1478

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)


1476
1477
1478
# File 'generated/google/apis/genomics_v1/classes.rb', line 1476

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)


1458
1459
1460
# File 'generated/google/apis/genomics_v1/classes.rb', line 1458

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 @RG PU field in the SAM spec. Corresponds to the JSON property platformUnit

Returns:

  • (String)


1465
1466
1467
# File 'generated/google/apis/genomics_v1/classes.rb', line 1465

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)


1470
1471
1472
# File 'generated/google/apis/genomics_v1/classes.rb', line 1470

def sequencing_center
  @sequencing_center
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1483
1484
1485
1486
1487
1488
# File 'generated/google/apis/genomics_v1/classes.rb', line 1483

def update!(**args)
  @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)
  @instrument_model = args[:instrument_model] if args.key?(:instrument_model)
end