get_reference
¶
get_reference(
id: ReferenceId,
reference_store_id: ReferenceStoreId,
part_number: int,
*,
config_overrides: Optional[OmicsClientConfig] = None,
range: Optional[Range] = None,
file: Optional[ReferenceFile] = None,
) -> Generator[GetReferenceResponse]
Downloads parts of data from a reference genome and returns the reference file in the same format that it was uploaded.
For more information, see Creating a HealthOmics reference store in the Amazon Web Services HealthOmics User Guide.
Parameters:
-
id(ReferenceId) –The reference's ID.
-
reference_store_id(ReferenceStoreId) –The reference's store ID.
-
range(Optional[Range], default:None) –The range to retrieve.
-
part_number(int) –The part number to retrieve.
-
file(Optional[ReferenceFile], default:None) –The file to retrieve.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RangeNotSatisfiableException–The ranges specified in the request are not valid.
-
RequestTimeoutException–The request timed out.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/omics.py
2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 | |