WGLab / InterVar

A bioinformatics software tool for clinical interpretation of genetic variants by the 2015 ACMG-AMP guideline
187 stars 93 forks source link

ValueError: could not convert string to float: '.' #23

Closed ZhenhongJiang closed 6 years ago

ZhenhongJiang commented 6 years ago

Hi,when I run the example in config.ini with this command: python InterVar.py -c config.ini I got the following error. The version of python and ANNOVAR on my computer are 3.5.2 and 2017-07-17 respectively.

Notice: Begin the variants interpretation by InterVar Traceback (most recent call last): File "Intervar.py", line 2083, in main() File "Intervar.py", line 2052, in main sum2=my_inter_var(annovar_outfile) File "Intervar.py", line 1805, in my_inter_var intervar_bp=assign(BP,line,Freqs_flgs,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1680, in assign BP7=check_BP7(line,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1601, in check_BP7 if float(cls[Funcanno_flgs['GERP++_RS']]) <= float(cutoff_conserv) or cls[Funcanno_flgs['GERP++_RS']] == '.' : ValueError: could not convert string to float: '.'

Can you help me? Thanks.

quanliustc commented 6 years ago

Please update the intervar by:

https://github.com/WGLab/InterVar/archive/master.zip

Best,

Quan LI, Ph.D

mailto:leequan@gmail.com leequan@gmail.com

mailto:Quan.Li@uhnresearch.ca Quan.Li@uhnresearch.ca

http://www.quanli.tk http://www.quanli.tk

From: ZhenhongJiang [mailto:notifications@github.com] Sent: Wednesday, January 31, 2018 10:27 PM To: WGLab/InterVar InterVar@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [WGLab/InterVar] ValueError: could not convert string to float: '.' (#23)

Hi,when I run the example in config.ini with this command: python InterVar.py -c config.ini I got the following error. The version of python and ANNOVAR on my computer are 3.5.2 and 2017-07-17 respectively.

Notice: Begin the variants interpretation by InterVar Traceback (most recent call last): File "Intervar.py", line 2083, in main() File "Intervar.py", line 2052, in main sum2=my_inter_var(annovar_outfile) File "Intervar.py", line 1805, in my_inter_var intervar_bp=assign(BP,line,Freqs_flgs,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1680, in assign BP7=check_BP7(line,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1601, in check_BP7 if float(cls[Funcanno_flgs['GERP++_RS']]) <= float(cutoff_conserv) or cls[Funcanno_flgs['GERP++_RS']] == '.' : ValueError: could not convert string to float: '.'

Can you help me? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WGLab/InterVar/issues/23 , or mute the thread https://github.com/notifications/unsubscribe-auth/APD6JJ4Z5yuL7f1seuB1AfX5Cp0vBUOXks5tQS74gaJpZM4R1ADC . https://github.com/notifications/beacon/APD6JB05fE2sU2Cnq3pG3jxdvxUPBhAgks5tQS74gaJpZM4R1ADC.gif

ZhenhongJiang commented 6 years ago

Thank you very much. Everything works fine according to your advice. Best wishes,

Zhenhong Jiang, PhD

Jiangxi Province Key Laboratory of Molecular Medicine

Email: jxzhjiang@163.com

在 2018年2月1日,上午11:30,Quan LI notifications@github.com 写道:

Please update the intervar by:

https://github.com/WGLab/InterVar/archive/master.zip

Best,

Quan LI, Ph.D

mailto:leequan@gmail.com leequan@gmail.com

mailto:Quan.Li@uhnresearch.ca Quan.Li@uhnresearch.ca

http://www.quanli.tk http://www.quanli.tk

From: ZhenhongJiang [mailto:notifications@github.com] Sent: Wednesday, January 31, 2018 10:27 PM To: WGLab/InterVar InterVar@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [WGLab/InterVar] ValueError: could not convert string to float: '.' (#23)

Hi,when I run the example in config.ini with this command: python InterVar.py -c config.ini I got the following error. The version of python and ANNOVAR on my computer are 3.5.2 and 2017-07-17 respectively.

Notice: Begin the variants interpretation by InterVar Traceback (most recent call last): File "Intervar.py", line 2083, in main() File "Intervar.py", line 2052, in main sum2=my_inter_var(annovar_outfile) File "Intervar.py", line 1805, in my_inter_var intervar_bp=assign(BP,line,Freqs_flgs,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1680, in assign BP7=check_BP7(line,Funcanno_flgs,Allels_flgs) File "Intervar.py", line 1601, in check_BP7 if float(cls[Funcanno_flgs['GERP++_RS']]) <= float(cutoff_conserv) or cls[Funcanno_flgs['GERP++_RS']] == '.' : ValueError: could not convert string to float: '.'

Can you help me? Thanks.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WGLab/InterVar/issues/23 , or mute the thread https://github.com/notifications/unsubscribe-auth/APD6JJ4Z5yuL7f1seuB1AfX5Cp0vBUOXks5tQS74gaJpZM4R1ADC . https://github.com/notifications/beacon/APD6JB05fE2sU2Cnq3pG3jxdvxUPBhAgks5tQS74gaJpZM4R1ADC.gif

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/WGLab/InterVar/issues/23#issuecomment-362147767, or mute the thread https://github.com/notifications/unsubscribe-auth/Aa-J2AVok2JfY33rgUvkIwKnkYT4bqt4ks5tQS_DgaJpZM4R1ADC.