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 |
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
.
- 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))))))))))
- variantsImport :: ImportVariantsRequest -> VariantsImport
- data VariantsImport
- viXgafv :: Lens' VariantsImport (Maybe Xgafv)
- viUploadProtocol :: Lens' VariantsImport (Maybe Text)
- viPp :: Lens' VariantsImport Bool
- viAccessToken :: Lens' VariantsImport (Maybe Text)
- viUploadType :: Lens' VariantsImport (Maybe Text)
- viPayload :: Lens' VariantsImport ImportVariantsRequest
- viBearerToken :: Lens' VariantsImport (Maybe Text)
- viCallback :: Lens' VariantsImport (Maybe Text)
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)))))))))) Source #
A resource alias for genomics.variants.import
method which the
VariantsImport
request conforms to.
Creating a Request
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. 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.
Request Lenses
viUploadProtocol :: Lens' VariantsImport (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
viAccessToken :: Lens' VariantsImport (Maybe Text) Source #
OAuth access token.
viUploadType :: Lens' VariantsImport (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
viPayload :: Lens' VariantsImport ImportVariantsRequest Source #
Multipart request metadata.
viBearerToken :: Lens' VariantsImport (Maybe Text) Source #
OAuth bearer token.
viCallback :: Lens' VariantsImport (Maybe Text) Source #
JSONP