I found an edge case when running metheor tag when looking for trinucelotide bases with reads ending in a deletion. Adding a simple check to confirm length fixes the issue, but would be open to alternatives if you have any ideas!
Here is an example of a read that breaks metheor tag:
Which returned the following error before the fix:
Parsing reference genome...
Done!
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/tag.rs:26:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
I found an edge case when running
metheor tag
when looking for trinucelotide bases with reads ending in a deletion. Adding a simple check to confirm length fixes the issue, but would be open to alternatives if you have any ideas!Here is an example of a read that breaks
metheor tag
:Which returned the following error before the fix: