Skip to content

[C API] Change vargen genotypes (and elsewhere) to int32? #463

Closed

Description

@jeromekelleher

The vargen struct is complicated by having a genotypes.i8 and genotypes.i16 as well as the complexity we get in the code from changing between the two.

If we're only looking at a single site, then there's probably no point in this: it's unlikely we save any real time or space by having the int8 type. It's only when we're storing a genotype matrix that this will really matter, but that's not something that we should be doing really.

Probably we could percolate this change right through the Python API also without affecting users.

Activity

  1. added
    C API
    on Feb 12, 2020
  2. added this to the C API 0.99.3 milestone on Feb 12, 2020
  3. jeromekelleher commented on Jul 23, 2021

    @jeromekelleher
    MemberAuthor

    See also #605

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

Metadata

Metadata

Labels

C API

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions