class Google::Apis::GenomicsV1beta2::Reference

A reference is a canonical assembled DNA sequence, intended to act as a reference coordinate space for other genomic annotations. A single reference might represent the human chromosome 1 or mitochandrial DNA, for instance. A reference belongs to one or more reference sets.

Attributes

id[RW]

The Google generated immutable ID of the reference. Corresponds to the JSON property `id` @return [String]

length[RW]

The length of this reference's sequence. Corresponds to the JSON property `length` @return [String]

md5checksum[RW]

MD5 of the upper-case sequence excluding all whitespace characters (this is equivalent to SQ:M5 in SAM). This value is represented in lower case hexadecimal format. Corresponds to the JSON property `md5checksum` @return [String]

name[RW]

The name of this reference, for example 22. Corresponds to the JSON property `name` @return [String]

ncbi_taxon_id[RW]

ID from www.ncbi.nlm.nih.gov/taxonomy (e.g. 9606->human) if not specified by the containing reference set. Corresponds to the JSON property `ncbiTaxonId` @return [Fixnum]

source_accessions[RW]

All known corresponding accession IDs in INSDC (GenBank/ENA/DDBJ) ideally with a version number, for example GCF_000001405.26. Corresponds to the JSON property `sourceAccessions` @return [Array<String>]

source_uri[RW]

The URI from which the sequence was obtained. Specifies a FASTA format file/ string with one name, sequence pair. Corresponds to the JSON property `sourceURI` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1beta2/classes.rb, line 2028
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/genomics_v1beta2/classes.rb, line 2033
def update!(**args)
  @id = args[:id] unless args[:id].nil?
  @length = args[:length] unless args[:length].nil?
  @md5checksum = args[:md5checksum] unless args[:md5checksum].nil?
  @name = args[:name] unless args[:name].nil?
  @ncbi_taxon_id = args[:ncbi_taxon_id] unless args[:ncbi_taxon_id].nil?
  @source_accessions = args[:source_accessions] unless args[:source_accessions].nil?
  @source_uri = args[:source_uri] unless args[:source_uri].nil?
end