Standard · v1.3.0

GA4GH htsget

Maintained by GA4GH Federated Analysis Work Stream · Samtools specification community

What it helps you do

htsget supports ticket-based retrieval of complete or region-scoped read and variant data in BAM, CRAM, VCF, and BCF formats through GET or POST requests and service metadata.

  • Omics
  • Bioinformatics
PlanAcquireHarmonizeExchangeLearn + reuse

01

Where it fits and where it does not

Use these four checks before committing implementation time.

Use it when
Remote genomic analysis and visualization that need selected genomic regions or full datasets without copying an entire source object first.
Limits
The API does not define source-file semantics, consent, authorization policy, reference aliases, or QC. Servers may transcode data, and bearer tokens or returned ticket URLs require careful handling.
Best for
Omics and Bioinformatics teams working across Exchange → Learn + reuse.
Maturity
ScalingUsable now, but adoption or tooling is still developing. Pilot the exact stack first.

02

See it in the workflow

This view shows the input, the change the standard introduces, and the resulting output.

  1. InputWhat starts

    Omics and Bioinformatics source data, metadata, and local mappings

  2. htsgetWhat changes

    Use htsget as a pinned standard across Exchange → Learn + reuse

  3. OutputWhat becomes possible

    A handoff the next system or team can validate against the same release

Readiness gateThe API does not define source-file semantics, consent, authorization policy, reference aliases, or QC. Servers may transcode data, and bearer tokens or returned ticket URLs require careful handling.

03

A concrete example

Deploy separate reads and variants endpoints, advertise v1.3.0 through service-info, enforce TLS and authorization, validate ticket URLs and byte streams, and test reference-name and coordinate behavior.

Why it matters: Enables efficient retrieval of genomic slices for analysis, while region selection can create sampling bias and still requires provenance, reference, cohort, and QC controls.

04

What it fits with

Streams records encoded with GA4GH HTS formats; DRS can locate the source object, refget can resolve its reference, and Crypt4GH or repository controls can protect the stored asset.

05

Implementation starter

Start with one bounded handoff. Pin, test, and review it before scaling.

  1. Define one handoff, its accountable owner, and the decision htsget must support.

  2. Pin the exact version and companion artifacts: v1.3.0.

  3. Map one representative input to the required standard artifacts.

  4. Test the result against the canonical source and record every exception.

  5. Preserve the source data, mappings, and review evidence before scaling.

06

Test the main limitation

Risk

The API does not define source-file semantics, consent, authorization policy, reference aliases, or QC. Servers may transcode data, and bearer tokens or returned ticket URLs require careful handling.

Test

Run one representative end-to-end pilot and record exactly where htsget loses context, needs an extension, or depends on another standard.

Risk

Machine-readable output may still be unfit for analysis or ML.

Test

Test the output for missing context, provenance, terminology alignment, time leakage, and the intended downstream decision. Enables efficient retrieval of genomic slices for analysis, while region selection can create sampling bias and still requires provenance, reference, cohort, and QC controls.

07

Official resources

Specifications, diagrams, examples, and guides from the organizations that maintain them.

  • Primary sourcev1.3.0

    htsget retrieval API v1.3.0

    Official publisher or steward guidance for this standard profile.

    Publisher
    GA4GH Federated Analysis Work Stream · Samtools specification community
    Open official source

Next action

Put this profile in context

Compare its role with adjacent standards or place it inside an end-to-end data pathway before choosing an implementation.