gogol-genomics-0.3.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.Variants.Import

Contents

Description

Creates variant data by asynchronously importing the provided information. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics The variants for import will be merged with any existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and Variant info fields are merged as specified in infoMergeConfig. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.

See: Genomics API Reference for genomics.variants.import.

Synopsis

REST Resource

type VariantsImportResource = "v1" :> ("variants:import" :> (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] ImportVariantsRequest :> Post '[JSON] Operation)))))))))) #

A resource alias for genomics.variants.import method which the VariantsImport request conforms to.

Creating a Request

variantsImport #

Creates a value of VariantsImport with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data VariantsImport #

Creates variant data by asynchronously importing the provided information. For the definitions of variant sets and other genomics resources, see Fundamentals of Google Genomics The variants for import will be merged with any existing variant that matches its reference sequence, start, end, reference bases, and alternative bases. If no such variant exists, a new one will be created. When variants are merged, the call information from the new variant is added to the existing variant, and Variant info fields are merged as specified in infoMergeConfig. As a special case, for single-sample VCF files, QUAL and FILTER fields will be moved to the call level; these are sometimes interpreted in a call-specific context. Imported VCF headers are appended to the metadata already in a variant set.

See: variantsImport smart constructor.

Instances

Eq VariantsImport # 
Data VariantsImport # 

Methods

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

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

toConstr :: VariantsImport -> Constr #

dataTypeOf :: VariantsImport -> DataType #

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

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

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

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

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

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

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

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

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

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

Show VariantsImport # 
Generic VariantsImport # 

Associated Types

type Rep VariantsImport :: * -> * #

GoogleRequest VariantsImport # 
type Rep VariantsImport # 
type Scopes VariantsImport # 
type Scopes VariantsImport = (:) Symbol "https://www.googleapis.com/auth/cloud-platform" ((:) Symbol "https://www.googleapis.com/auth/devstorage.read_write" ((:) Symbol "https://www.googleapis.com/auth/genomics" ([] Symbol)))
type Rs VariantsImport # 

Request Lenses

viXgafv :: Lens' VariantsImport (Maybe Xgafv) #

V1 error format.

viUploadProtocol :: Lens' VariantsImport (Maybe Text) #

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

viPp :: Lens' VariantsImport Bool #

Pretty-print response.

viAccessToken :: Lens' VariantsImport (Maybe Text) #

OAuth access token.

viUploadType :: Lens' VariantsImport (Maybe Text) #

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

viPayload :: Lens' VariantsImport ImportVariantsRequest #

Multipart request metadata.

viBearerToken :: Lens' VariantsImport (Maybe Text) #

OAuth bearer token.