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

INFO - Unexpected error: DataFrame.drop() takes from 1 to 2 positional arguments but 3 were given #192

Open
guandailu opened this issue May 16, 2024 · 1 comment

Comments

@guandailu
Copy link

guandailu commented May 16, 2024

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 "

@halkelchen
Copy link

halkelchen commented Jun 13, 2024

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

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

2 participants