sgkit icon indicating copy to clipboard operation
sgkit copied to clipboard

Display call allele counts

Open timothymillar opened this issue 4 years ago • 0 comments

It would be nice display a call_allele_count array in a more intuitive manner, similar to the display_genotypes function (#37). Scikit-allel does this nicely with its GenotypeAlleleCountsArray class which displays ordered counts seperated by :. For example the call_allele_count array

[
    [2, 0, 0], [1, 0, 1], [1, 1, 0]
    [2, 0, 0], [1, 1, 0], [1, 0, 0]
]

would be displayed something like

2:0:0    1:0:1    1:1:0
2:0:0    1:1:0    1:0:0

timothymillar avatar May 18 '21 02:05 timothymillar