You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes thensorqtl to fail. I have 4 phenotypes, all 4 are dropped as there are no variants in the region that are passing the thresholds predefined. As all of thme are dropped there is nothing left to test and the thread gets stuck.
cis-QTL mapping: nominal associations for all variant-phenotype pairs
* 1033 samples
* 4 phenotypes
* 6 covariates
* 6100111 variants
* cis-window: ±1,000,000
* checking phenotypes: 4/4
** dropping 4 phenotypes without variants in cis-window
* Computing associations
Mapping chromosome 21
Exception in thread Thread-7:
Traceback (most recent call last):
File "/home/container_user/conda/lib/python3.9/threading.py", line 980, in _bootstrap_inner
self.run()
File "/home/container_user/conda/lib/python3.9/site-packages/tensorqtl/genotypeio.py", line 50, in run
for item in self.generator:
File "/home/container_user/conda/lib/python3.9/site-packages/tensorqtl/genotypeio.py", line 489, in generate_data
chr_offset = offset_dict[chrom]
KeyError: '21'
The text was updated successfully, but these errors were encountered:
maxozo
added a commit
to maxozo/tensorqtl
that referenced
this issue
Aug 16, 2024
As per my issue in broadinstitute#144 i sometimes experience freeze of tensorqtl as there is no variants in a range to test on a particular chromosome. MAF and window dropped all the genes to test on chromosome and because it still loops through it it freezes up.
Here I define the chromosones to test only based on what actually is there to test.
I resolved it by doing this as per my pull request. master...maxozo:tensorqtl:patch-1
Untill this is merged i have made a copy of genotypeio.py with a patch and i load it from my local files instead of tensorqtl package.
This causes thensorqtl to fail. I have 4 phenotypes, all 4 are dropped as there are no variants in the region that are passing the thresholds predefined. As all of thme are dropped there is nothing left to test and the thread gets stuck.
The text was updated successfully, but these errors were encountered: