Closed csestili closed 2 years ago
I was only able to reproduce this when the narrowPeak file was space-separated rather than tab-separated. If you convert spaces to tabs in your example file it should work. If that does not work though please reopen!
(the reason it works as string is because that method is specifically designed for quickly testing small files written in-line as string; it does extra work which is not useful on larger files in practice)
hi, I'm having trouble using
pybedtools
to read from anarrowPeak
file.I do not get this error when I read the contents of the same file as a string:
so, I suppose I could just load it from string, as a workaround, but it would be nicer to be able to just feed in a filename. maybe I am just not calling it correctly?