gogol-genomics-0.2.0: Google Genomics SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Genomics.Reads.Search

Contents

Description

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.

Synopsis

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

readsSearch Source #

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.

Instances

Eq ReadsSearch Source # 
Data ReadsSearch Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ReadsSearch -> c ReadsSearch #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ReadsSearch #

toConstr :: ReadsSearch -> Constr #

dataTypeOf :: ReadsSearch -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ReadsSearch) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ReadsSearch) #

gmapT :: (forall b. Data b => b -> b) -> ReadsSearch -> ReadsSearch #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ReadsSearch -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ReadsSearch -> r #

gmapQ :: (forall d. Data d => d -> u) -> ReadsSearch -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ReadsSearch -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ReadsSearch -> m ReadsSearch #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadsSearch -> m ReadsSearch #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ReadsSearch -> m ReadsSearch #

Show ReadsSearch Source # 
Generic ReadsSearch Source # 

Associated Types

type Rep ReadsSearch :: * -> * #

GoogleRequest ReadsSearch Source # 

Associated Types

type Rs ReadsSearch :: * #

type Scopes ReadsSearch :: [Symbol] #

type Rep ReadsSearch Source # 
type Scopes ReadsSearch Source # 
type Scopes ReadsSearch = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/genomics" ((:) Symbol "https://www.googleapis.com/auth/genomics.readonly" ([] Symbol)))
type Rs ReadsSearch Source # 

Request Lenses

reaUploadProtocol :: Lens' ReadsSearch (Maybe Text) Source #

Upload protocol for media (e.g. "raw", "multipart").

reaPp :: Lens' ReadsSearch Bool Source #

Pretty-print response.

reaUploadType :: Lens' ReadsSearch (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").

reaPayload :: Lens' ReadsSearch SearchReadsRequest Source #

Multipart request metadata.