get_reference
async
¶
get_reference(
id: ReferenceId,
reference_store_id: ReferenceStoreId,
part_number: int,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = None,
range: Optional[Range] = None,
file: Optional[ReferenceFile] = None,
) -> AsyncGenerator[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/async_omics.py
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 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 | |