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

Implement New Tool: "Shuffle Sequence" #17

Open
TheLostLambda opened this issue Apr 9, 2022 · 0 comments
Open

Implement New Tool: "Shuffle Sequence" #17

TheLostLambda opened this issue Apr 9, 2022 · 0 comments
Assignees
Labels
basic enhancement New feature or request tool Related to tool implementation

Comments

@TheLostLambda
Copy link
Collaborator

What should this tool do?
Randomly shuffles a DNA, RNA, or Protein sequence.

Is there an existing reference implementation?
There is an SMS version here, but it may be tricky to compare as this function is inherently random.

What are the tool's inputs?
A sequence of any type

What is the tool's output?
A shuffled sequence of the same type as the input

Other Implementation Details
This shouldn't be hard to implement using the rand crate (there is a nice method for this).

It may be difficult to test this function, so we might need to rely on some statistics. Base counts and length should remain the same obviously, but I assume the hamming distance between pre and post-shuffled sequences will be normally distributed? That will need some investigation and maths.

@TheLostLambda TheLostLambda added enhancement New feature or request tool Related to tool implementation basic labels Apr 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
basic enhancement New feature or request tool Related to tool implementation
Projects
None yet
Development

No branches or pull requests

2 participants