-
Notifications
You must be signed in to change notification settings - Fork 0
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
Check that reads don't exceed the maximal length #44
Conversation
I think the check for having read a read that is too long is great! Maybe we have to reduce the default read-length, though, or indeed expose it as a parameters, to avoid memory issues. Line 1149 in 130c852
which will try to allocate a |
Yeah, seems I went a bit over the top (worked fine locally 🙂). A read length of 4096 will not be enough for the ONT data, so maybe we indeed do need to expose it as a parameter. |
Right, in that case an exposed parameter and a lower default value would probably be best. |
Codecov Report
@@ Coverage Diff @@
## master #44 +/- ##
=======================================
Coverage 96.96% 96.96%
=======================================
Files 20 20
Lines 2369 2376 +7
=======================================
+ Hits 2297 2304 +7
Misses 72 72
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
NEWS.md
Outdated
# mutscan 0.2.36 | ||
|
||
* Check that reads don't exceed the maximal allowed length | ||
* Allow read lengths up to 65534 nt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess here we could say * Add parameter to specify maximal read length
instead of the second item
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oops, yes, definitely - forgot to update this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is a neat solution that leaves open all options, and the defaults are likely to cover the most common cases without creating a too large memory footprint. Apart from the comment on the NEWS.md
file, I have no suggestions. Thank you!
The current failing checks on windows might be related to r-lib/actions#713 and should resolve itself soon |
Also allow reads up to 65534 nt