-
Notifications
You must be signed in to change notification settings - Fork 22
Description
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.