Class: Google::Apis::GenomicsV1beta2::FastqMetadata

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ FastqMetadata

Returns a new instance of FastqMetadata.



856
857
858
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 856

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

Instance Attribute Details

#library_nameString

Optionally specifies the library name for alignment from FASTQ. Corresponds to the JSON property libraryName

Returns:

  • (String)


832
833
834
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 832

def library_name
  @library_name
end

#platform_nameString

Optionally specifies the platform name for alignment from FASTQ. For example: CAPILLARY, LS454, ILLUMINA, SOLID, HELICOS, IONTORRENT, PACBIO. Corresponds to the JSON property platformName

Returns:

  • (String)


838
839
840
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 838

def platform_name
  @platform_name
end

#platform_unitString

Optionally specifies the platform unit for alignment from FASTQ. For example: flowcell-barcode.lane for Illumina or slide for SOLID. Corresponds to the JSON property platformUnit

Returns:

  • (String)


844
845
846
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 844

def platform_unit
  @platform_unit
end

#read_group_nameString

Optionally specifies the read group name for alignment from FASTQ. Corresponds to the JSON property readGroupName

Returns:

  • (String)


849
850
851
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 849

def read_group_name
  @read_group_name
end

#sample_nameString

Optionally specifies the sample name for alignment from FASTQ. Corresponds to the JSON property sampleName

Returns:

  • (String)


854
855
856
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 854

def sample_name
  @sample_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



861
862
863
864
865
866
867
# File 'generated/google/apis/genomics_v1beta2/classes.rb', line 861

def update!(**args)
  @library_name = args[:library_name] unless args[:library_name].nil?
  @platform_name = args[:platform_name] unless args[:platform_name].nil?
  @platform_unit = args[:platform_unit] unless args[:platform_unit].nil?
  @read_group_name = args[:read_group_name] unless args[:read_group_name].nil?
  @sample_name = args[:sample_name] unless args[:sample_name].nil?
end