Class: Google::Apis::GenomicsV1::SearchReadsRequest
- Inherits:
-
Object
- Object
- Google::Apis::GenomicsV1::SearchReadsRequest
- 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
The read search request.
Instance Attribute Summary collapse
-
#end ⇒ Fixnum
The end position of the range on the reference, 0-based exclusive.
-
#page_size ⇒ Fixnum
The maximum number of results to return in a single page.
-
#page_token ⇒ String
The continuation token, which is used to page through large result sets.
-
#read_group_ids ⇒ Array<String>
The IDs of the read groups within which to search for reads.
-
#read_group_set_ids ⇒ Array<String>
The IDs of the read groups sets within which to search for reads.
-
#reference_name ⇒ String
The reference sequence name, for example
chr1
,1
, orchrX
. -
#start ⇒ Fixnum
The start position of the range on the reference, 0-based inclusive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SearchReadsRequest
constructor
A new instance of SearchReadsRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SearchReadsRequest
Returns a new instance of SearchReadsRequest
2792 2793 2794 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2792 def initialize(**args) update!(**args) end |
Instance Attribute Details
#end ⇒ Fixnum
The end position of the range on the reference, 0-based exclusive. If
specified, referenceName
must also be specified.
Corresponds to the JSON property end
2749 2750 2751 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2749 def end @end end |
#page_size ⇒ Fixnum
The maximum number of results to return in a single page. If unspecified,
defaults to 256. The maximum value is 2048.
Corresponds to the JSON property pageSize
2755 2756 2757 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2755 def page_size @page_size end |
#page_token ⇒ String
The continuation token, which is used to page through large result sets.
To get the next page of results, set this parameter to the value of
nextPageToken
from the previous response.
Corresponds to the JSON property pageToken
2762 2763 2764 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2762 def page_token @page_token end |
#read_group_ids ⇒ Array<String>
The IDs of the read groups within which to search for reads. All specified
read groups must belong to the same read group sets. Must specify one of
readGroupSetIds
or readGroupIds
.
Corresponds to the JSON property readGroupIds
2769 2770 2771 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2769 def read_group_ids @read_group_ids end |
#read_group_set_ids ⇒ Array<String>
The IDs of the read groups sets within which to search for reads. All
specified read group sets must be aligned against a common set of reference
sequences; this defines the genomic coordinates for the query. Must specify
one of readGroupSetIds
or readGroupIds
.
Corresponds to the JSON property readGroupSetIds
2777 2778 2779 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2777 def read_group_set_ids @read_group_set_ids end |
#reference_name ⇒ String
The reference sequence name, for example chr1
, 1
, or chrX
. If set to
*
, only unmapped reads are returned. If unspecified, all reads (mapped
and unmapped) are returned.
Corresponds to the JSON property referenceName
2784 2785 2786 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2784 def reference_name @reference_name end |
#start ⇒ Fixnum
The start position of the range on the reference, 0-based inclusive. If
specified, referenceName
must also be specified.
Corresponds to the JSON property start
2790 2791 2792 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2790 def start @start end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2797 2798 2799 2800 2801 2802 2803 2804 2805 |
# File 'generated/google/apis/genomics_v1/classes.rb', line 2797 def update!(**args) @end = args[:end] if args.key?(:end) @page_size = args[:page_size] if args.key?(:page_size) @page_token = args[:page_token] if args.key?(:page_token) @read_group_ids = args[:read_group_ids] if args.key?(:read_group_ids) @read_group_set_ids = args[:read_group_set_ids] if args.key?(:read_group_set_ids) @reference_name = args[:reference_name] if args.key?(:reference_name) @start = args[:start] if args.key?(:start) end |