Entering edit mode
5.4 years ago
1vishalmishra
•
0
Hello everyone,
I need some help regarding RAPIDR package in R.
when i run my command:-
makeBinnedCountsFile(bam.file.list = c("sample.bam", "sample1.bam"),sampleIDs = c("sample", "sample1"),binned.counts.fname = output.fname, k = 20000, mask )
it gives error.
Binning counts in bam files
doing the binning
Error in value[[3L]](cond) :
failed to open BamFile: failed to load BAM index
file: sample.bam
In addition: Warning message:
In doTryCatch(return(expr), name, parentenv, handler) :
[bam_index_load] fail to load BAM index.
please solve this problem.
Have you indexed your BAM file ?
No i am totally new with this package. I think RAPIDR package automatically index the bam file using Rsamtool.
solved. thank you for your response.
I added code markup to your post for increased readability. You can do this by selecting the text and clicking the 101010 button. When you compose or edit a post that button is in your toolbar, see image below: