Class: Google::Apis::GenomicsV1::ReferenceSet

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

Overview

A reference set is a set of references which typically comprise a reference assembly for a species, such as GRCh38 which is representative of the human genome. A reference set defines a common coordinate space for comparing reference-aligned experimental data. A reference set contains 1 or more references. For more genomics resource definitions, see Fundamentals of Google Genomics

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) ⇒ ReferenceSet

Returns a new instance of ReferenceSet



3075
3076
3077
# File 'generated/google/apis/genomics_v1/classes.rb', line 3075

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

Instance Attribute Details

#assembly_idString

Public id of this reference set, such as GRCh37. Corresponds to the JSON property assemblyId

Returns:

  • (String)


3048
3049
3050
# File 'generated/google/apis/genomics_v1/classes.rb', line 3048

def assembly_id
  @assembly_id
end

#descriptionString

Free text description of this reference set. Corresponds to the JSON property description

Returns:

  • (String)


3067
3068
3069
# File 'generated/google/apis/genomics_v1/classes.rb', line 3067

def description
  @description
end

#idString

The server-generated reference set ID, unique across all reference sets. Corresponds to the JSON property id

Returns:

  • (String)


3062
3063
3064
# File 'generated/google/apis/genomics_v1/classes.rb', line 3062

def id
  @id
end

#md5checksumString

Order-independent MD5 checksum which identifies this reference set. The checksum is computed by sorting all lower case hexidecimal string reference.md5checksum (for all reference in this set) in ascending lexicographic order, concatenating, and taking the MD5 of that value. The resulting value is represented in lower case hexadecimal format. Corresponds to the JSON property md5checksum

Returns:

  • (String)


3057
3058
3059
# File 'generated/google/apis/genomics_v1/classes.rb', line 3057

def md5checksum
  @md5checksum
end

#ncbi_taxon_idFixnum

ID from http://www.ncbi.nlm.nih.gov/taxonomy (for example, 9606 for human) indicating the species which this reference set is intended to model. Note that contained references may specify a different ncbiTaxonId, as assemblies may contain reference sequences which do not belong to the modeled species, for example EBV in a human reference genome. Corresponds to the JSON property ncbiTaxonId

Returns:

  • (Fixnum)


3032
3033
3034
# File 'generated/google/apis/genomics_v1/classes.rb', line 3032

def ncbi_taxon_id
  @ncbi_taxon_id
end

#reference_idsArray<String>

The IDs of the reference objects that are part of this set. Reference.md5checksum must be unique within this set. Corresponds to the JSON property referenceIds

Returns:

  • (Array<String>)


3043
3044
3045
# File 'generated/google/apis/genomics_v1/classes.rb', line 3043

def reference_ids
  @reference_ids
end

#source_accessionsArray<String>

All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example NC_000001.11. Corresponds to the JSON property sourceAccessions

Returns:

  • (Array<String>)


3073
3074
3075
# File 'generated/google/apis/genomics_v1/classes.rb', line 3073

def source_accessions
  @source_accessions
end

#source_uriString

The URI from which the references were obtained. Corresponds to the JSON property sourceUri

Returns:

  • (String)


3037
3038
3039
# File 'generated/google/apis/genomics_v1/classes.rb', line 3037

def source_uri
  @source_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
# File 'generated/google/apis/genomics_v1/classes.rb', line 3080

def update!(**args)
  @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
  @source_uri = args[:source_uri] if args.key?(:source_uri)
  @reference_ids = args[:reference_ids] if args.key?(:reference_ids)
  @assembly_id = args[:assembly_id] if args.key?(:assembly_id)
  @md5checksum = args[:md5checksum] if args.key?(:md5checksum)
  @id = args[:id] if args.key?(:id)
  @description = args[:description] if args.key?(:description)
  @source_accessions = args[:source_accessions] if args.key?(:source_accessions)
end