You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there,
Thank you very much for developing this great tool. I use FindPeaks to analyze one 20Gb Bam file from a single cell dataset, after about 1.5 hours of running, I got an error saying
"Error in { :
task 5103 failed - "'x' values larger than vector length 'sum(width)'"
In addition: Warning message:
In .get_cds_IDX(mcols0$type, mcols0$phase) :
The "phase" metadata column contains non-NA values for features of type
stop_codon. This information was ignored.
"
This is the whole code:
FindPeaks(output.file = peak.output.file[1], # output filename
gtf.file = reference.file, # gene model as a GTF file
bamfile = bamfile[1], # BAM alignment filename.
junctions.file = "Saline_R1_junctions.bed", # BED filename of splice junctions exising in BAM file.
ncores = 6)
Import genomic features from the file as a GRanges object ... OK
Prepare the 'metadata' data frame ... OK
Make the TxDb object ... OK
55357 gene entries to process
Loading required package: stats4
Loading required package: BiocGenerics
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:stats':
IQR, mad, sd, var, xtabs
The following objects are masked from 'package:base':
Error in { :
task 5103 failed - "'x' values larger than vector length 'sum(width)'"
In addition: Warning message:
In .get_cds_IDX(mcols0$type, mcols0$phase) :
The "phase" metadata column contains non-NA values for features of type
stop_codon. This information was ignored.
Thank you very much for your help.
Best,
Jun
The text was updated successfully, but these errors were encountered:
It's not obvious what's going on and without being able to replicate the issue it's tricky to resolve. However, given that FindPeaks ran for that long before the error I'd say there is an unusual situation coming up with one of the genes or chromosomes in your data. Can I check are you working with human or mouse or a different species? One way to narrow down the issue would be to selectively run FindPeaks on different chromosomes. You can set filter.chr = TRUE and use the chr.names parameter to set a subset of chromosomes (or just one) to test and try different chromosomes until you find the one which is throwing the error. Hopefully this will help identity where the issue is at least.
Dear Ralph,
Thank you very much for your prompt response. I appreciate it.
I am working with both mouse and human genomes. I really love Sierra and would like to use Sierra for all of the ongoing scRNA-seq projects in my group. I will try to do what you suggest and let you know which chromosome(s) give(s) me a hard time later.
A small comment, it will be highly appreciated if you can tell people how big the bam files you used in the Sierra Vignette and how much time it takes in each step so that common users like me will have a better sense. But it is irrelevant:).
Hi there,
Thank you very much for developing this great tool. I use FindPeaks to analyze one 20Gb Bam file from a single cell dataset, after about 1.5 hours of running, I got an error saying
"Error in { :
task 5103 failed - "'x' values larger than vector length 'sum(width)'"
In addition: Warning message:
In .get_cds_IDX(mcols0$type, mcols0$phase) :
The "phase" metadata column contains non-NA values for features of type
stop_codon. This information was ignored.
"
This is the whole code:
FindPeaks(output.file = peak.output.file[1], # output filename
gtf.file = reference.file, # gene model as a GTF file
bamfile = bamfile[1], # BAM alignment filename.
junctions.file = "Saline_R1_junctions.bed", # BED filename of splice junctions exising in BAM file.
ncores = 6)
Import genomic features from the file as a GRanges object ... OK
Prepare the 'metadata' data frame ... OK
Make the TxDb object ... OK
55357 gene entries to process
Loading required package: stats4
Loading required package: BiocGenerics
Attaching package: 'BiocGenerics'
The following objects are masked from 'package:stats':
The following objects are masked from 'package:base':
Loading required package: S4Vectors
Attaching package: 'S4Vectors'
The following objects are masked from 'package:base':
Loading required package: IRanges
Loading required package: GenomeInfoDb
Error in { :
task 5103 failed - "'x' values larger than vector length 'sum(width)'"
In addition: Warning message:
In .get_cds_IDX(mcols0$type, mcols0$phase) :
The "phase" metadata column contains non-NA values for features of type
stop_codon. This information was ignored.
Thank you very much for your help.
Best,
Jun
The text was updated successfully, but these errors were encountered: