class Google::Apis::GenomicsV1::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. For more genomics resource definitions, see [Fundamentals of Google Genomics](cloud.google.com/ genomics/fundamentals-of-google-genomics)

Attributes

id[RW]

The server-generated reference ID, unique across all references. 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. For example, 9606 for human. 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. Typically specifies a FASTA format file. Corresponds to the JSON property `sourceUri` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/genomics_v1/classes.rb, line 2384
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_v1/classes.rb, line 2389
def update!(**args)
  @id = args[:id] if args.key?(:id)
  @length = args[:length] if args.key?(:length)
  @md5checksum = args[:md5checksum] if args.key?(:md5checksum)
  @name = args[:name] if args.key?(:name)
  @source_uri = args[:source_uri] if args.key?(:source_uri)
  @source_accessions = args[:source_accessions] if args.key?(:source_accessions)
  @ncbi_taxon_id = args[:ncbi_taxon_id] if args.key?(:ncbi_taxon_id)
end