8000 Control over minimum coverage + better error messages · Issue #154 · smithlabcode/ribotricer · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Control over minimum coverage + better error messages #154

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

Closed
< 8000 div class="mb-2 flex-shrink-0">
pinin4fjords opened this issue Mar 15, 2024 · 2 comments
Closed

Control over minimum coverage + better error messages #154

pinin4fjords opened this issue Mar 15, 2024 · 2 comments

Comments

@pinin4fjords
Copy link
Contributor
pinin4fjords commented Mar 15, 2024

Is your feature request related to a problem? Please describe.

Minimum metagene coverage is essentially hard-coded, since a default value is set here, and no interface to that value is provided when calling the function in places like this.

The result is that no reads are selected, and errors appear like:

WARNING: no periodic read length found... using cutoff 0.0

That doesn't really describe the issue- the problem is that no reads passed the coverage threshold.

This also prevents operation in relatively low read counts, which might make sense scientifically, but makes the module hard to use in test scenarios (where scientific validity is not required).

Describe the solution you'd like
Would you be amenable to a detect-orfs CLI parameter which controls this value? Happy to make a PR.

There should also be an error triggered when all reads are removed in the coverage filter, to make it clear that periodicity is not the problem.

Additional context
Attempting to include ribotricer in the nf-core riboseq workflow.

@pinin4fjords pinin4fjords changed the title Control over minimum coverage Control over minimum coverage + better error messages Mar 15, 2024
@pinin4fjords
Copy link
Contributor Author

Roughly like #155 (whipped up in 10 mins, so just illustrating)

@saketkc
Copy link
Collaborator
saketkc commented Mar 22, 2024

Closed by #155

@saketkc saketkc closed this as completed Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0