Class: Google::Apis::GenomicsV1::CallSet
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::GenomicsV1::CallSet
 
- 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 call set is a collection of variant calls, typically for one sample. It belongs to a variant set.
Instance Attribute Summary collapse
- 
  
    
      #created  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The date this call set was created in milliseconds from the epoch. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The server-generated call set ID, unique across all call sets. 
- 
  
    
      #info  ⇒ Hash<String,Array<Object>> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A map of additional call set information. 
- 
  
    
      #name  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The call set name. 
- 
  
    
      #sample_id  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The sample ID this call set corresponds to. 
- 
  
    
      #variant_set_ids  ⇒ Array<String> 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    The IDs of the variant sets this call set belongs to. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ CallSet 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of CallSet. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ CallSet
Returns a new instance of CallSet
| 318 319 320 | # File 'generated/google/apis/genomics_v1/classes.rb', line 318 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#created ⇒ Fixnum
The date this call set was created in milliseconds from the epoch.
Corresponds to the JSON property created
| 285 286 287 | # File 'generated/google/apis/genomics_v1/classes.rb', line 285 def created @created end | 
#id ⇒ String
The server-generated call set ID, unique across all call sets.
Corresponds to the JSON property id
| 290 291 292 | # File 'generated/google/apis/genomics_v1/classes.rb', line 290 def id @id end | 
#info ⇒ Hash<String,Array<Object>>
A map of additional call set information. This must be of the form
mapinfo
| 296 297 298 | # File 'generated/google/apis/genomics_v1/classes.rb', line 296 def info @info end | 
#name ⇒ String
The call set name.
Corresponds to the JSON property name
| 301 302 303 | # File 'generated/google/apis/genomics_v1/classes.rb', line 301 def name @name end | 
#sample_id ⇒ String
The sample ID this call set corresponds to.
Corresponds to the JSON property sampleId
| 306 307 308 | # File 'generated/google/apis/genomics_v1/classes.rb', line 306 def sample_id @sample_id end | 
#variant_set_ids ⇒ Array<String>
The IDs of the variant sets this call set belongs to. This field must
have exactly length one, as a call set belongs to a single variant set.
This field is repeated for compatibility with the
GA4GH 0.5.1
API.
Corresponds to the JSON property variantSetIds
| 316 317 318 | # File 'generated/google/apis/genomics_v1/classes.rb', line 316 def variant_set_ids @variant_set_ids end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 323 324 325 326 327 328 329 330 | # File 'generated/google/apis/genomics_v1/classes.rb', line 323 def update!(**args) @created = args[:created] if args.key?(:created) @id = args[:id] if args.key?(:id) @info = args[:info] if args.key?(:info) @name = args[:name] if args.key?(:name) @sample_id = args[:sample_id] if args.key?(:sample_id) @variant_set_ids = args[:variant_set_ids] if args.key?(:variant_set_ids) end |