Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point exception #33

Open
umbrellaling opened this issue Jan 9, 2024 · 0 comments
Open

Floating point exception #33

umbrellaling opened this issue Jan 9, 2024 · 0 comments

Comments

@umbrellaling
Copy link

I was in trouble in step 1, seeing below:
[INFO] Loaded 294114 SNPs with rs IDs and single-letter alleles on chromosome 17 from the GWAS summary data file
[INFO] 183946 SNPs left after filtering
[INFO] Loaded 500929 SNPs with rs IDs and single-letter alleles on chromosome 17 from the GWAS summary data file
[INFO] 182424 SNPs left after filtering
[INFO] Loading fam file /home/ygl/1kg_eur_1pct/1kg_eur_1pct_chr17.fam
[INFO] Loading bim file /home/ygl/1kg_eur_1pct/1kg_eur_1pct_chr17.bim
/home/ygl/anaconda3/envs/hess/lib/python2.7/site-packages/pysnptools/snpreader/snpreader.py:676: FutureWarning: Method .as_matrix will be removed in a future version. Use .values instead.
pos = fields.as_matrix([0,2,3])
/home/ygl/anaconda3/envs/hess/lib/python2.7/site-packages/pysnptools/snpreader/snpreader.py:625: FutureWarning: Conversion of the second argument of issubdtype from str to str is deprecated. In future, it will be treated as np.string_ == np.dtype(str).type.
assert np.issubdtype(self._row.dtype, str) and len(self._row.shape)==2 and self._row.shape[1]==2, "iid should be dtype str, have two dimensions, and the second dimension should be size 2"
/home/ygl/anaconda3/envs/hess/lib/python2.7/site-packages/pysnptools/snpreader/snpreader.py:626: FutureWarning: Conversion of the second argument of issubdtype from str to str is deprecated. In future, it will be treated as np.string_ == np.dtype(str).type.
assert np.issubdtype(self._col.dtype, str) and len(self._col.shape)==1, "sid should be of dtype of str and one dimensional"
[INFO] bed file is open /home/ygl/1kg_eur_1pct/1kg_eur_1pct_chr17.bed
[INFO] 2635 SNPs in locus chr17:56-1172399
Floating point exception

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant