The "variants" collection of methods.
More...
|
| convertToArrayAndStripNulls ($o) |
|
The "variants" collection of methods.
Typical usage is: $genomicsService = new Google_Service_Genomics(...); $variants = $genomicsService->variants;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ create()
Creates a new variant.
(variants.create)
- Parameters
-
Google_Variant | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ delete()
Google_Service_Genomics_Variants_Resource::delete |
( |
| $variantId, |
|
|
| $optParams = array() ) |
Deletes a variant.
(variants.delete)
- Parameters
-
string | $variantId | The ID of the variant to be deleted. |
array | $optParams | Optional parameters. |
- Return values
-
◆ get()
Google_Service_Genomics_Variants_Resource::get |
( |
| $variantId, |
|
|
| $optParams = array() ) |
Gets a variant by ID.
(variants.get)
- Parameters
-
string | $variantId | The ID of the variant. |
array | $optParams | Optional parameters. |
- Return values
-
◆ import()
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. (variants.import)
- Parameters
-
Google_ImportVariantsRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
◆ patch()
Updates a variant.
This method supports patch semantics. Returns the modified variant without its calls. (variants.patch)
- Parameters
-
string | $variantId | The ID of the variant to be updated. |
Google_Variant | $postBody | |
array | $optParams | Optional parameters. |
@opt_param string updateMask An optional mask specifying which fields to update. At this time, mutable fields are names and info. Acceptable values are "names" and "info". If unspecified, all mutable fields will be updated.
- Return values
-
◆ search()
Gets a list of variants matching the criteria.
Implements GlobalAllianceApi. searchVariants. (variants.search)
- Parameters
-
Google_SearchVariantsRequest | $postBody | |
array | $optParams | Optional parameters. |
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Genomics.php