ExomeDepth
ExomeDepth copied to clipboard
For using it on Rstudio windows
Hi,
Can i use the package in Rstudio of windows? My R version for R studio is 3.4
Hi, I have installed in in my Rstudio, but when I ma giving this command error is coming my.counts <- getBamCounts(bed.frame = exons.hg19,bam.files = Lib1.bam,include.chr = FALSE,referenceFasta = hg19) Error in getBamCounts(bed.frame = exons.hg19, bam.files = Lib1.bam, include.chr = FALSE, : object 'hg19' not found I kept all the files in the data folder of exomedepth where should i keep them? how can I load my own bed file. need help.
For referenceFasta = hg19
there is no variable called hg19
so you are receiving the error. You need to specify a path to the file as a string in quotes, e.g. referenceFasta='/some/where/hg19.fasta'
Thank you for the reply, but even though I am changing the path it is not taking it. Also it is showing error for all the other files. All the files i kept inside the data folder of Exomedepth folder in R. Need help to parse the files.
Upps, i did not realize that the issue was closed, I opened a new issue... Dear Vincent,
I am facing I guess a similar problem
bis1 <- getBamCounts(bed.frame = regions.df, bam.files = file.path("./BAMs_all","qG16018101bis.final.bam"), include.chr = FALSE, referenceFasta = "Z:/RNA_seq/Ref_Genomes_fa/hg19.fa") Reference fasta file provided so ExomeDepth will compute the GC content in each window Error in value[3L] : record 1 (1:1138878-1139350) failed file: Z:/RNA_seq/Ref_Genomes_fa/hg19.fa
I have tried also with hg38.fa (both fasta files are being used by other methods with no problems. If I ommit the fasta files it works but results are not what I expect so I am trying to make the method adjust by GC content as a first trial. Best,
Lara