-
Notifications
You must be signed in to change notification settings - Fork 10
Description
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