get_reference_metadata

Omics.Client.get_reference_metadata(**kwargs)

Gets information about a genome reference's metadata.

See also: AWS API Documentation

Request Syntax

response = client.get_reference_metadata(
    id='string',
    referenceStoreId='string'
)
Parameters
  • id (string) --

    [REQUIRED]

    The reference's ID.

  • referenceStoreId (string) --

    [REQUIRED]

    The reference's reference store ID.

Return type

dict

Returns

Response Syntax

{
    'arn': 'string',
    'creationTime': datetime(2015, 1, 1),
    'description': 'string',
    'files': {
        'index': {
            'contentLength': 123,
            'partSize': 123,
            'totalParts': 123
        },
        'source': {
            'contentLength': 123,
            'partSize': 123,
            'totalParts': 123
        }
    },
    'id': 'string',
    'md5': 'string',
    'name': 'string',
    'referenceStoreId': 'string',
    'status': 'ACTIVE'|'DELETING'|'DELETED',
    'updateTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) --

    • arn (string) --

      The reference's ARN.

    • creationTime (datetime) --

      When the reference was created.

    • description (string) --

      The reference's description.

    • files (dict) --

      The reference's files.

      • index (dict) --

        The files' index.

        • contentLength (integer) --

          The file's content length.

        • partSize (integer) --

          The file's part size.

        • totalParts (integer) --

          The file's total parts.

      • source (dict) --

        The source file's location in Amazon S3.

        • contentLength (integer) --

          The file's content length.

        • partSize (integer) --

          The file's part size.

        • totalParts (integer) --

          The file's total parts.

    • id (string) --

      The reference's ID.

    • md5 (string) --

      The reference's MD5 checksum.

    • name (string) --

      The reference's name.

    • referenceStoreId (string) --

      The reference's reference store ID.

    • status (string) --

      The reference's status.

    • updateTime (datetime) --

      When the reference was updated.

Exceptions

  • Omics.Client.exceptions.InternalServerException
  • Omics.Client.exceptions.ThrottlingException
  • Omics.Client.exceptions.ValidationException
  • Omics.Client.exceptions.ResourceNotFoundException
  • Omics.Client.exceptions.AccessDeniedException
  • Omics.Client.exceptions.RequestTimeoutException