This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Read Bam file for Graduation project

how to solve this ?

the code:

bamf <- system.file("file.bam",package="rbamtools",idx=FALSE,verbose=0)
r1 <- bamReader(bamf)

error:

Error in .local(.Object, ...) : 
  [bam_reader_open] Opening bam_file "" failed!
r

Have you checked the relevant help for rbamtools? Is the file in your working directory for R?

0 answers

No answers yet.

Log in to answer this question.