You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a BedTool is instantiated from a list of intervals, it seems that you can only iterate over it once, including from any instance methods which happen to use the iterator.
The first print statement returns 1, while the second returns 0. This causes major problems if you want to use an instance method that relies on the iterator, such as field_count() and intersect().
System information
pybedtools: v0.6.2
OS X 10.8
The text was updated successfully, but these errors were encountered:
When a BedTool is instantiated from a list of intervals, it seems that you can only iterate over it once, including from any instance methods which happen to use the iterator.
Failing code:
The first print statement returns 1, while the second returns 0. This causes major problems if you want to use an instance method that relies on the iterator, such as
field_count()
andintersect()
.System information
pybedtools: v0.6.2
OS X 10.8
The text was updated successfully, but these errors were encountered: