Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decomposing circular sequences #4

Open
veghp opened this issue Aug 17, 2021 · 0 comments
Open

Decomposing circular sequences #4

veghp opened this issue Aug 17, 2021 · 0 comments

Comments

@veghp
Copy link
Member

veghp commented Aug 17, 2021

  1. Cut similar-length fragments: the two end fragments in a circular sequence are actually joined and thus the fragment doesn't have the desired length.
  2. Cut in featured zones: the issue doesn't apply here. However, this option can be used as a workaround for the above, by specifying !cut regions at regular intervals on the circle.

A simple solution is to add an option to cut_sequence() that adjusts the cut points for circular sequences:

if equal_segments is not None:

A full solution could consider any rotation of the sequence. However, this does not seem to be practically necessary.

Suggestions are welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant