Hi Dan,
I follow the explanation in the solution you provided. But this error occurred again, can you help me to take a look at what else could go wrong? I have attached my code below.
I used:
hl.init(spark_conf={
âspark.executor.extraClassPathâ: â/usr/lib64/libblas.so.3.4.2.so:/usr/lib64/liblapack.so.3.4.2â})
mt=hl.import_plink(bed= â,bim=â â,fam=â/ ',quant_pheno=True,types={âquant_phenoâ:hl.tfloat64})
mt= mt.annotate_cols(is_case =
hl.case()
.when(mt.quant_pheno == -9, False )
.when(mt.quant_pheno == 1, True )
.or_missing())
mt = mt.drop(âquant_phenoâ)
covar = (hl.import_table(âcovar.txtâ,types={âIIDâ:hl.tstr},impute= True ).key_by(âIIDâ))
mt = mt.annotate_cols(covar=covar[mt.s])
result_ht =hl.logistic_regression_rows(test=âwaldâ,
y=mt.is_case,
x=mt.GT.n_alt_alleles() ,
covariates = [1,mt.covar.X1, mt.covar.X2]) # this line is where the code has an error.
There are a few versions of liblapack.so and libblas.so. So I just used the most recent I think.
Please let me know what else I can provide to clarify my problem!
Thanks!
-Fengyi