Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Gets a list of reads for one or more read group sets. For the definitions of read group sets and other genomics resources, see Fundamentals of Google Genomics Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (by reference sequence, then position). Reads with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield reads in the same order across their respective streams of paginated responses. Implements GlobalAllianceApi.searchReads.
See: Genomics API Reference for genomics.reads.search
.
- type ReadsSearchResource = "v1" :> ("reads" :> ("search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchReadsRequest :> Post '[JSON] SearchReadsResponse)))))))))))
- readsSearch :: SearchReadsRequest -> ReadsSearch
- data ReadsSearch
- reaXgafv :: Lens' ReadsSearch (Maybe Xgafv)
- reaUploadProtocol :: Lens' ReadsSearch (Maybe Text)
- reaPp :: Lens' ReadsSearch Bool
- reaAccessToken :: Lens' ReadsSearch (Maybe Text)
- reaUploadType :: Lens' ReadsSearch (Maybe Text)
- reaPayload :: Lens' ReadsSearch SearchReadsRequest
- reaBearerToken :: Lens' ReadsSearch (Maybe Text)
- reaCallback :: Lens' ReadsSearch (Maybe Text)
REST Resource
type ReadsSearchResource = "v1" :> ("reads" :> ("search" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "pp" Bool :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "bearer_token" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] SearchReadsRequest :> Post '[JSON] SearchReadsResponse))))))))))) Source #
A resource alias for genomics.reads.search
method which the
ReadsSearch
request conforms to.
Creating a Request
Creates a value of ReadsSearch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReadsSearch Source #
Gets a list of reads for one or more read group sets. For the definitions of read group sets and other genomics resources, see Fundamentals of Google Genomics Reads search operates over a genomic coordinate space of reference sequence & position defined over the reference sequences to which the requested read group sets are aligned. If a target positional range is specified, search returns all reads whose alignment to the reference genome overlap the range. A query which specifies only read group set IDs yields all reads in those read group sets, including unmapped reads. All reads returned (including reads on subsequent pages) are ordered by genomic coordinate (by reference sequence, then position). Reads with equivalent genomic coordinates are returned in an unspecified order. This order is consistent, such that two queries for the same content (regardless of page size) yield reads in the same order across their respective streams of paginated responses. Implements GlobalAllianceApi.searchReads.
See: readsSearch
smart constructor.
Request Lenses
reaUploadProtocol :: Lens' ReadsSearch (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
reaAccessToken :: Lens' ReadsSearch (Maybe Text) Source #
OAuth access token.
reaUploadType :: Lens' ReadsSearch (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
reaPayload :: Lens' ReadsSearch SearchReadsRequest Source #
Multipart request metadata.
reaBearerToken :: Lens' ReadsSearch (Maybe Text) Source #
OAuth bearer token.
reaCallback :: Lens' ReadsSearch (Maybe Text) Source #
JSONP