Genotype ploidy summary functions
See original GitHub issueIt would be useful to be able to summarize ploidy along different dimensions when working with mixed ploidy data. Currently ploidy can only be inferred from the call_genotype array by the number of allele values > -1 at each call.
Methods could be implemented to calculate the following arrays:
'call_genotype_ploidy'
of shape (variants, samples)'variant_ploidy'
of shape (variants, )'sample_ploidy'
of shape (samples, )
If ploidy is variable across a given variant or sample then -1 should be returned indicating mixed-ploidy along that dimension.
There was some discussion of this in #243 but it was agreed that this is better as a separate PR #373 (comment)
Example: call_genotype array:
[[[0, 0, -1, -1], [0, 0, 1, 1], [0, 0, 1, 1]],
[[0, 0, 0, -1], [0, 1, -2, -2], [0, 1, 1, 1]],
[[0, 0, 0, 1], [0, 0, -2, -2], [0, 0, 0, 0]],]
call_genotype_ploidy array:
[[4, 4, 4],
[4, 2, 4],
[4, 2, 4]]
variant_ploidy array:
[ 4,
-1,
-1]
sample_ploidy array:
[4, -1, 4]
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top Results From Across the Web
Ploidy - an overview | ScienceDirect Topics
Ploidy level is a term referring to the number of chromosome sets in somatic cells of the diplophase (2n) or gametophytic cells of...
Read more >Assessing Ploidy Level Analysis and Single Pollen ... - NCBI
This strategy was used to analyze the genetic composition of single pollen nuclei of different citrus species. The flow cytometry and microscope ...
Read more >Ploidy and the Causes of Genomic Evolution - Oxford Academic
Polyploidization results primarily from 3 mutational mechanisms: gametic nonreduction (the production of unreduced gametes caused by an error in meiosis), ...
Read more >Disaggregation of Ploidy, Gender, and Genotype Effects on ...
Our findings provide new insights into the genetic effects of ploidy, gender, and genotype on wood and fiber traits within a full-sib poplar...
Read more >Detection of individual ploidy levels with genotyping‐by‐ ...
Whereas the method does not require prior information on ploidy, a reference set of samples with known ploidy can be included in the...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tomwhite I actually realized a couple of days ago that the methods in #472 still need to be added to the docs and top level API. I’ll put another PR together shortly.
Can this be closed now that #472 is merged?