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

Graceful handling of zero-length reads? #1886

Open
Danyang1111 opened this issue Feb 8, 2024 · 3 comments
Open

Graceful handling of zero-length reads? #1886

Danyang1111 opened this issue Feb 8, 2024 · 3 comments
Labels

Comments

@Danyang1111
Copy link

Hi, I am trying to generate quality plot, when I type:
plotQualityProfile(cutFs[1])
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in density.default(qscore): 'x' contains missing values
How to deal with it?

@benjjneb
Copy link
Owner

What is the output when you run library(ShortRead);foo<-readFastq(cutFs[1])?

@Dianapthv
Copy link

Hi, i have the same problem:

plotQualityProfile(cutFs[1:2])
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in density.default(qscore): 'x' contains missing values.

When I run library(ShortRead);foo<-readFastq(cutFs[1]) output looks like

print(foo)
class: ShortReadQ
length: 754907 reads; width: 0..200 cycles

@benjjneb
Copy link
Owner

@Dianapthv It looks like you have some reads that are length zero, which is causing this error. If you filter out reads below a reasonable minimum length that should be resolved. Or just work with the original data rather than the post-processing data that led to these zero-length reads.

@benjjneb benjjneb added the bug label May 27, 2024
@benjjneb benjjneb changed the title problem of qualityprofile Graceful handling of zero-length reads? May 29, 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

3 participants