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

Error message #37

Open
cyanophage opened this issue May 20, 2022 · 0 comments
Open

Error message #37

cyanophage opened this issue May 20, 2022 · 0 comments

Comments

@cyanophage
Copy link

Hi

I got this error message when running deTiN on my own data. I have tried it with the example_data and it runs fine and produces output. I think this error is because I haven't provided Exac data. I wanted to run my data through without the Exac info first to see how it does and then maybe add it in later.

Traceback (most recent call last):
File "build/lib/deTiN/deTiN.py", line 611, in
main()
File "build/lib/deTiN/deTiN.py", line 544, in main
di.candidates = du.select_candidate_mutations(di.call_stats_table, di.exac_db_file)
File "/rds/project/rds-70r4qFasPsQ/PBCP/Work/scripts/deTiN/build/lib/deTiN/deTiN_utilities.py", line 336, in select_candidate_mutations
candidate_sites = remove_exac_sites_from_call_stats(candidate_sites, exac_db_file)
File "/rds/project/rds-70r4qFasPsQ/PBCP/Work/scripts/deTiN/build/lib/deTiN/deTiN_utilities.py", line 681, in remove_exac_sites_from_call_stats
with open(exac_file, 'rb') as handle:
TypeError: coercing to Unicode: need string or buffer, NoneType found

The Exac data isn't required, but it seems to throw this error without it. If I comment out line 336 in deTiN_utilities.py then it doesn't give this error message.

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