Closed thekugelmeister closed 2 years ago
You are correct. The plotting function that calls parse_bam for one particular window in this way is plot_browser and the window string is converted to a region object before passing to parse_bam. I will update for parse_bam to take a string from plot_browser and in general to take a string as the documentation suggests. Thank you!
Fixed on cleanup branch. Also added example code to parse_bam
documentation for calling with single region defined with string. Will close when merged into main.
When specifying a
region
argument toparse_bam
in the format specified by the documentation (chr:start-end, presumably as a string), I get the following error:This appears to be caused by direct reference to this string as if it were a
Region
object, rather than converting it first.