Open guandailu opened 6 months ago
I just ran into this same error, did you ever figure out how to fix it?
!python /Users/halk/MetaXcan/software/SPrediXcan.py \ --model_db_path /Users/halk/Downloads/eqtl/mashr/mashr_Whole_Blood.db \ --covariance /Users/halk/Downloads/eqtl/mashr/mashr_Whole_Blood.txt.gz \ --gwas_file /Users/halk/cleandatawithsnps.txt \ --snp_column SNPID \ --effect_allele_column EA \ --non_effect_allele_column NEA \ --zscore_column Z \ --pvalue_column P \ --keep_non_rsid \ --output_file output/spredixcan_TWAS_whole_blood.csv
INFO - Unexpected error: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given
my command: "python3 SPrediXcan.py --model_db_path GTEx_V1_Liver_mRNA_ElasticNet_model_filtered_signif.db --covariance GTEx_V1_Liver_mRNA_ElasticNet_models_covariances.gz --gwas_file GWAMA.rsid_formated.txt --snp_column SNP --effect_allele_column A1 --non_effect_allele_column A2 --beta_column b --pvalue_column p --output_file test "