-
Notifications
You must be signed in to change notification settings - Fork 141
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
Solving the "Error: BiocParallel errors" (in almost every sample) #1946
Comments
What is What is the output of |
Thanks so much for the reply @benjjneb !!
|
Could there be any input files in your data that are empty (i.e. contain no sequences)? See this comment thread: #1503 (comment) If there are, removing those before running |
@benjjneb Thanks! I found that the input files had the error and solved it. Sorry but can I ask one more thing, please? I am having these errors in one large dataset when running the code Error in filterAndTrim(fnFs, filtFs, fnRs, filtRs, truncLen = c(150, 150), : Can you give me some advice on how to solve this? |
The error messages indicate that for pairs of forward/reverse fastq files, one of the files has many reads (100k or 83.5k) while the other has zero reads. To troubleshoot, I would check that this error is caused by a single sample (i.e. |
Hi, I am an undergraduate studying bioinformatics in the microbiome analysis field, and I am having a BiocParallel Error every time I run my code for the ENA database datasets.
The same code worked well for NCBI datasets, and I kept on debugging but couldn't solve the problem.
Following is the code I used:
library(dada2)
library(ggplot2)
library(dplyr)
path <- "/Users/User/Documents/SeniorThesis/zebraENA/reads_fastq/PRJNA806371"
list.files(path)
#Assuming your forward and reverse fastq filenames have the format: SRRXXXXXXX_1.fastq and SRRXXXXXXX_2.fastq
fnFs <- sort(list.files(path, pattern="_1\.fastq.gz$", full.names = TRUE))
fnRs <- sort(list.files(path, pattern="2\.fastq.gz$", full.names = TRUE))
#Extract sample names, assuming filenames have the format: SRRXXXXXXX_X.fastq
sample.names <- sapply(strsplit(basename(fnFs), ""),
[
, 1)#INSPECT READ QUALITY PROFILES
QPF <- plotQualityProfile(fnFs[1:2])
Error: BiocParallel errors
1 remote errors, element index: 1
0 unevaluated and other errors
first remote error:
Error in data.frame(sequence = names(freqtbl$top), count = as.integer(freqtbl$top), : arguments imply differing number of rows: 0, 1
I am getting this same error in almost every single public data I used..
Please give me comments how to solve this error.
Thanks so much in advance!
The text was updated successfully, but these errors were encountered: