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

Tail end error on CancerVar.py #16

Open
bgold04 opened this issue Jul 2, 2022 · 2 comments
Open

Tail end error on CancerVar.py #16

bgold04 opened this issue Jul 2, 2022 · 2 comments

Comments

@bgold04
Copy link

bgold04 commented Jul 2, 2022

Hello,

I get a multianno file, but I also get these messages.

NOTICE: Multianno output file is written to example/PRE_02_hg19.bin.sorted.withoutchr.hg19_multianno.txt
annovar_outfile is example/PRE_02_hg19.bin.sorted.withoutchr.hg19_multianno.txt
Traceback (most recent call last):
  File "CancerVar2.py", line 1900, in <module>
    main()
  File "CancerVar2.py", line 1866, in main
    sum1=check_genes(annovar_outfile)
  File "CancerVar2.py", line 652, in check_genes
    if sum==0 and re.findall('true',paras['otherinfo'], flags=re.IGNORECASE) :
KeyError: 'otherinfo'

@quanliustc
Copy link
Collaborator

which annovar version are you using?

@bgold04
Copy link
Author

bgold04 commented Jul 22, 2022

Thank you for getting me to update annovar and revert to the original unchanged CancerVar.

Still getting an error message, though, on CentOS 8.

NOTICE: Multianno output file is written to example/PRE_25_hg19.bin.sorted.withoutchr.hg19_multianno.txt
annovar_outfile is example/PRE_25_hg19.bin.sorted.withoutchr.hg19_multianno.txt
Traceback (most recent call last):
  File "CancerVar.py", line 1900, in <module>
    main()
  File "CancerVar.py", line 1866, in main
    sum1=check_genes(annovar_outfile)
  File "CancerVar.py", line 652, in check_genes
    if sum==0 and re.findall('true',paras['otherinfo'], flags=re.IGNORECASE) :
KeyError: 'otherinfo'

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