Hi all. With a MatrixTable, can I know if there is a good way to extract sample IDs (mt.s) who are heterozygous for all of the variants into a Python list? I usually do it by popping it into the entries, but would appreciate it if there is a more efficient way!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Is there a way to get a list of non-reference heterozygous and homozygous variants by gene for each sample from a MatrixTable? | 0 | 185 | January 8, 2024 | |
Random sampling of rows from Mt | 2 | 276 | June 27, 2023 | |
Annotate variants with hom var samples | 0 | 333 | January 19, 2023 | |
Outputting sample IDs for multi allelic sites | 5 | 188 | April 10, 2024 | |
Filtering MatrixTable for genotype in specific sample | 7 | 1595 | January 8, 2019 |