gogol-genomics-0.0.1: Google Genomics SDK.

Copyright(c) 2015 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. 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 other fields (such as key/value pairs) are discarded. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. 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: API Reference for genomics.variants.import.

Synopsis

REST Resource

type VariantsImportResource = "v1" :> ("variants:import" :> (QueryParam "$.xgafv" Text :> (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)))))))))) Source

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

Creating a Request

variantsImport Source

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 Source

Creates variant data by asynchronously importing the provided information. 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 other fields (such as key/value pairs) are discarded. In particular, this means for merged VCF variants that have conflicting INFO fields, some data will be arbitrarily discarded. 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.

Request Lenses

viUploadProtocol :: Lens' VariantsImport (Maybe Text) Source

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

viPp :: Lens' VariantsImport Bool Source

Pretty-print response.

viUploadType :: Lens' VariantsImport (Maybe Text) Source

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