Skip to main content

read_sets

Creates, updates, deletes, gets or lists a read_sets resource.

Overview

Nameread_sets
TypeResource
Idaws.omics.read_sets

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
payloadstring (byte)The read set file payload.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_read_setselectid, sequence_store_id, partNumber, regionfileRetrieves detailed information from parts of a read set and returns the read set in the same format that it was uploaded. You must have read sets uploaded to your sequence store in order to run this operation.
list_read_setsselectsequence_store_id, regionmaxResults, nextTokenRetrieves a list of read sets from a sequence store ID and returns the metadata in JSON format.
start_read_set_activation_jobexecsequence_store_id, region, sourcesActivates an archived read set and returns its metadata in a JSON formatted output. AWS HealthOmics automatically archives unused read sets after 30 days. To monitor the status of your read set activation job, use the GetReadSetActivationJob operation. To learn more, see Activating read sets in the Amazon Web Services HealthOmics User Guide.
start_read_set_export_jobexecsequence_store_id, region, destination, roleArn, sourcesStarts a read set export job. When the export job is finished, the read set is exported to an Amazon S3 bucket which can be retrieved using the GetReadSetExportJob API operation. To monitor the status of the export job, use the ListReadSetExportJobs API operation.
start_read_set_import_jobexecsequence_store_id, region, roleArn, sourcesImports a read set from the sequence store. Read set import jobs support a maximum of 100 read sets of different types. Monitor the progress of your read set import job by calling the GetReadSetImportJob API operation.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
idstringThe read set's ID.
partNumberintegerThe part number to retrieve.
regionstringAWS region (default: us-east-1)
sequence_store_idstringThe read set's sequence store ID.
filestringThe file to retrieve.
maxResultsintegerThe maximum number of read sets to return in one page of results.
nextTokenstringSpecify the pagination token from a previous request to retrieve the next page of results.

SELECT examples

Retrieves detailed information from parts of a read set and returns the read set in the same format that it was uploaded. You must have read sets uploaded to your sequence store in order to run this operation.

SELECT
payload
FROM aws.omics.read_sets
WHERE id = '{{ id }}' -- required
AND sequence_store_id = '{{ sequence_store_id }}' -- required
AND partNumber = '{{ partNumber }}' -- required
AND region = '{{ region }}' -- required
AND file = '{{ file }}'
;

Lifecycle Methods

Activates an archived read set and returns its metadata in a JSON formatted output. AWS HealthOmics automatically archives unused read sets after 30 days. To monitor the status of your read set activation job, use the GetReadSetActivationJob operation. To learn more, see Activating read sets in the Amazon Web Services HealthOmics User Guide.

EXEC aws.omics.read_sets.start_read_set_activation_job
@sequence_store_id='{{ sequence_store_id }}' --required,
@region='{{ region }}' --required
@@json=
'{
"clientToken": "{{ clientToken }}",
"sources": "{{ sources }}"
}'
;