Skip to content

ReferenceSequence URL support #2022

Closed as not planned
Closed as not planned

Description

@jeromekelleher

The initial version of Reference sequence support allows us to store the reference sequence explicitly in the .data attribute. However, this is wasteful if the reference is well known and available in other ways (like, GRCh38, e.g.). The ReferenceSequence low-level infrastructure contains a .url attribute, which we would like to use as a way of fetching known references from some location. Examples of what we might do are:

  • Load the reference sequence from a local file, e.g., url="file:///local/path/reference.fa"
  • Load the reference sequence from a URL, using the refget API

In the URL case, we would want to implement some transparent caching, so that local copies of the reference data are stored and we don't incur network fetches everytime.

It seems likely that URLs would only be support in Python (although file support would be possible in C).

Activity

  1. added
    enhancement
    on Dec 6, 2021
  2. added this to the Python upcoming milestone on Dec 6, 2021
  3. added
    future
    on Jun 12, 2025
  4. benjeffery commented on Jun 12, 2025

    @benjeffery
    Member

    Closing for inactivity and labelling "future", please re-open if you plan to work on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementfuture

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions