What steps will reproduce the problem?
1. open a bamfile with no index
2. get AssertionError with no indication of what happened.
changing line 819 of csamtools.pyx to:
assert samfile._hasIndex(), ("%s must have index" % samfile.filename)
does the trick.
Original issue reported on code.google.com by bpederse on 28 Oct 2010 at 12:18
Original issue reported on code.google.com by
bpederse
on 28 Oct 2010 at 12:18