Class: Google::Apis::GenomicsV1::AnnotationSet
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::GenomicsV1::AnnotationSet
 
 
- 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
An annotation set is a logical grouping of annotations that share consistent type information and provenance. Examples of annotation sets include 'all genes from refseq', and 'all variant annotations from ClinVar'.
Instance Attribute Summary collapse
- 
  
    
      #dataset_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The dataset to which this annotation set belongs.
 - 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The server-generated annotation set ID, unique across all annotation sets.
 - 
  
    
      #info  ⇒ Hash<String,Array<Object>> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
A map of additional read alignment information.
 - 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The display name for this annotation set.
 - 
  
    
      #reference_set_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The ID of the reference set that defines the coordinate space for this set's annotations.
 - 
  
    
      #source_uri  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The source URI describing the file from which this annotation set was generated, if any.
 - 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The type of annotations contained within this set.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ AnnotationSet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of AnnotationSet.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ AnnotationSet
Returns a new instance of AnnotationSet
      169 170 171  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 169 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#dataset_id ⇒ String
The dataset to which this annotation set belongs.
Corresponds to the JSON property datasetId
      134 135 136  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 134 def dataset_id @dataset_id end  | 
  
#id ⇒ String
The server-generated annotation set ID, unique across all annotation sets.
Corresponds to the JSON property id
      139 140 141  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 139 def id @id end  | 
  
#info ⇒ Hash<String,Array<Object>>
A map of additional read alignment information. This must be of the form
mapinfo
      145 146 147  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 145 def info @info end  | 
  
#name ⇒ String
The display name for this annotation set.
Corresponds to the JSON property name
      150 151 152  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 150 def name @name end  | 
  
#reference_set_id ⇒ String
The ID of the reference set that defines the coordinate space for this
set's annotations.
Corresponds to the JSON property referenceSetId
      156 157 158  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 156 def reference_set_id @reference_set_id end  | 
  
#source_uri ⇒ String
The source URI describing the file from which this annotation set was
generated, if any.
Corresponds to the JSON property sourceUri
      162 163 164  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 162 def source_uri @source_uri end  | 
  
#type ⇒ String
The type of annotations contained within this set.
Corresponds to the JSON property type
      167 168 169  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 167 def type @type end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      174 175 176 177 178 179 180 181 182  | 
    
      # File 'generated/google/apis/genomics_v1/classes.rb', line 174 def update!(**args) @dataset_id = args[:dataset_id] if args.key?(:dataset_id) @id = args[:id] if args.key?(:id) @info = args[:info] if args.key?(:info) @name = args[:name] if args.key?(:name) @reference_set_id = args[:reference_set_id] if args.key?(:reference_set_id) @source_uri = args[:source_uri] if args.key?(:source_uri) @type = args[:type] if args.key?(:type) end  |