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 | 213 | January 8, 2024 | |
Annotate variants with hom var samples | 0 | 343 | January 19, 2023 | |
How to extract sample IDs from MT | 0 | 31 | May 25, 2025 | |
Filtering MatrixTable for genotype in specific sample | 7 | 1700 | January 8, 2019 | |
Efficient way to filter on large number of samples by an entry value | 3 | 427 | May 10, 2021 |