Skip to content

Differentiate variant_id flavors #9

Description

@grosscol

Issue or current state

variant_id is a variable name that has different meanings depending on the context.
These are easily confused and not entirely obvious which meaning is expected even when they appear in context.

  • In sequences it's expected to be the VCF format of chrom-pos-ref-alt
  • In the browser routes, e.g. /variant/api/snv/<string:variant_id> it is expected to be a dbSNP rsID

Resolved when

Different expectations of content have different variable names.

  • var_ref_id for the variant reference identifiers.
  • var_vcf_id for the VCF style variant identifiers.

Activity

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

    triageLanding area for issues discovered during development.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions