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

Add better examples to find() #35

Open
tmaklin opened this issue Nov 18, 2024 · 0 comments
Open

Add better examples to find() #35

tmaklin opened this issue Nov 18, 2024 · 0 comments
Labels

Comments

@tmaklin
Copy link
Owner

tmaklin commented Nov 18, 2024

/

/ ```rust

/ use sablast::build;

/ use sablast::find;

/ use sablast::index::BuildOpts;

/ use sablast::derandomize::DerandomizeOpts;

/ use kbo::build;

/ use kbo::find;

/ use kbo::FindOpts;

/ use kbo::index::BuildOpts;

/ use kbo::format::RLE;

/

/ let reference: Vec<Vec<u8>> = vec![vec![b'A',b'A',b'A',b'G',b'A',b'A',b'C',b'C',b'A',b'-',b'T',b'C',b'A',b'G',b'G',b'G',b'C',b'G']];

/ let mut opts = BuildOpts::default();

https://github.com/tmaklin/sablast/blob/102a2e359c52082a7c098970b66184280c0603d5/src/lib.rs#L473

/// 4. Number of mismatches and 1-character insertions in the block.
///
/// # Examples
///
/// TODO Add better examples to find()
///
/// ```rust
/// use kbo::build;
/// use kbo::find;
/// use kbo::FindOpts;
/// use kbo::index::BuildOpts;
/// use kbo::format::RLE;
///
/// let reference: Vec<Vec<u8>> = vec![vec![b'A',b'A',b'A',b'G',b'A',b'A',b'C',b'C',b'A',b'-',b'T',b'C',b'A',b'G',b'G',b'G',b'C',b'G']];
/// let mut opts = BuildOpts::default();
@tmaklin tmaklin added the todo label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant