poretools
poretools copied to clipboard
KeyError in yield_plot and occupancy
I think there may be a problem with these options for fail reads. I get KeyError: 'template' when I attempt these options for fail reads (MAP007, minKnow version 0.51.1.62, poretools version 0.5.1) I get the following error. I do not get this error for pass reads
Command: poretools_main.py yield_plot CNV_022516/reads/downloads/fail/
Error:
File "/seq/sara/poretools-master/poretools/poretools_main.py", line 519, in
Thank for your help
Yep we have seen this as well. I will look into a fix asap
I've noticed this as well. It's because some of the failed files do not have any template data. A simple try, except should work in this regard. I'm working on a couple of scripts that split failed reads into folders explaining why they failed.
I too am having this problem using poretools 0.6.0
Im using poretools 0.6.0 in a MacOs sierra 10.12.1 and having the same issue when files do not have template data.