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
Thanks so much for filing a reproducible issue! I have to explain that you have discovered one bug and encountered one confusing feature.
First, the Sequence.longname method should definitely be updated to behave as you expect.
The second issue you raise is actually expected behavior. The one_based_attributes argument only applies to the "friendly" coordinate representation but should have no effect on the slice notation. I should update the documentation to make this explicit. I believe that having a switch for the slicing notation would be quite confusing and allow subtle bugs to go unnoticed.
Setting
one_based_attributes=False
on aFasta
object does not propagate indexing operations properly down to the underlying Faidx or Sequence objects.Given the following test data file:
and using pyfaidx @ 6e54c9b with the following preamble:
I get the following issues:
The text was updated successfully, but these errors were encountered: