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

unsupported operand type(s) for +: 'float' and 'str' #41

Closed
YaCui opened this issue May 18, 2022 · 0 comments
Closed

unsupported operand type(s) for +: 'float' and 'str' #41

YaCui opened this issue May 18, 2022 · 0 comments

Comments

@YaCui
Copy link

YaCui commented May 18, 2022

Hi,

Thank for develop this usful tool. I got the following error when I run focus finemap. Do you know how to fix it? Thanks!

===================================
FOCUS v0.802

focus finemap
EA_WBC.Chen.2020/EA_WBC_new_munged_chr1.tsv.gz
./1000G_EUR_Phase3_plink/1000G.EUR.QC.1
focus.db
--locations 37:EUR
--p-threshold 5e-07
--chr 1
--out 1_AAA.chr1

Starting log...
[2022-05-18 16:30:57 - INFO] Detecting 1 populations for fine-mapping.
[2022-05-18 16:30:57 - INFO] As a result, running single-population FOCUS.
[2022-05-18 16:30:57 - INFO] Preparing GWAS summary file for population at EA_WBC.Chen.2020/EA_WBC_new_munged_chr1.tsv.gz.
[2022-05-18 16:31:05 - INFO] Preparing reference SNP data for population at ./1000G_EUR_Phase3_plink/1000G.EUR.QC.1.
[2022-05-18 16:31:11 - INFO] Preparing weight database at focus.db.
[2022-05-18 16:31:12 - INFO] Preparing user-defined locations at 37:EUR.
[2022-05-18 16:31:12 - INFO] Found 1703 independent regions on the entire genome.
[2022-05-18 16:31:12 - INFO] 133 independent regions currently used after being filtered on chromosome, start, and stop.
[2022-05-18 16:31:12 - INFO] Preparing data at region 1:10583-1:1892607. Skipping if following warning occurs.
[2022-05-18 16:31:12 - INFO] Deciding prior probability for a gene to be causal.
[2022-05-18 16:31:12 - INFO] Using gencode file prior probability 0.007575757575757576.
[2022-05-18 16:31:12 - WARNING] No GWAS SNPs with p-value < 5e-07 found at region 1:10583-1:1892607 at EA_WBC.Chen.2020/EA_WBC_new_munged_chr1.tsv.gz. Skipping.
[2022-05-18 16:31:13 - INFO] Preparing data at region 1:4380811-1:5913893. Skipping if following warning occurs.
[2022-05-18 16:31:13 - INFO] Deciding prior probability for a gene to be causal.
[2022-05-18 16:31:13 - INFO] Using gencode file prior probability 0.09090909090909091.
[2022-05-18 16:31:13 - WARNING] No GWAS SNPs with p-value < 5e-07 found at region 1:4380811-1:5913893 at EA_WBC.Chen.2020/EA_WBC_new_munged_chr1.tsv.gz. Skipping.
[2022-05-18 16:31:13 - INFO] Preparing data at region 1:5913893-1:7247335. Skipping if following warning occurs.
[2022-05-18 16:31:13 - INFO] Deciding prior probability for a gene to be causal.
[2022-05-18 16:31:14 - INFO] Using gencode file prior probability 0.03125.
[2022-05-18 16:31:14 - WARNING] No GWAS SNPs with p-value < 5e-07 found at region 1:5913893-1:7247335 at EA_WBC.Chen.2020/EA_WBC_new_munged_chr1.tsv.gz. Skipping.
[2022-05-18 16:31:14 - INFO] Preparing data at region 1:7247335-1:9365199. Skipping if following warning occurs.
[2022-05-18 16:31:14 - INFO] Deciding prior probability for a gene to be causal.
[2022-05-18 16:31:14 - INFO] Using gencode file prior probability 0.018867924528301886.
[2022-05-18 16:32:24 - INFO] Fine-mapping starts at region 1:7247335-1:9365199.
[2022-05-18 16:32:24 - INFO] Aligning GWAS, LD, and eQTL weights for the single population. Region 1:7247335-1:9365199 will skip if following errors occur.
[2022-05-18 16:32:24 - ERROR] unsupported operand type(s) for +: 'float' and 'str'
[2022-05-18 16:32:24 - INFO] Finished TWAS & fine-mapping. Thanks for using FOCUS, and have a nice day!

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