I'm trying to prepare the environment and assay specific files for the R package PureCN following https://www.bioconductor.org/packages/devel/bioc/vignettes/PureCN/inst/doc/Quick.html
The R version that I am using is R 4.0.1
The command from the PureCN vignette that I am using is:
$ Rscript $PURECN/IntervalFile.R --infile baits_hg19.bed \
--fasta hg19.fa --outfile $OUT_REF/baits_hg19_intervals.txt \
--offtarget --genome hg19 \
--export $OUT_REF/baits_optimized_hg19.bed \
--mappability wgEncodeCrgMapabilityAlign100mer.bigWig \
--reptiming wgEncodeUwRepliSeqK562WaveSignalRep1.bigWig
I am using hg38, so I have followed the instructions to change 19 to 38 for the previous steps, so my command from is:
$ Rscript $PURECN/IntervalFile.R --infile baits_hg38.bed \
--fasta hg38.fa --outfile $OUT_REF/baits_hg38_intervals.txt \
--offtarget --genome hg38 \
--export $OUT_REF/baits_optimized_hg38.bed \
--mappability wgEncodeCrgMapabilityAlign100mer.bigWig \
--reptiming wgEncodeUwRepliSeqK562WaveSignalRep1.bigWig
The error message that I am encountering and have not been able to figure out is:
Warning message:
package 'optparse' was built under R version 4.0.2
Warning message:
****no function found corresponding to methods exports from 'BSgenome' for: 'releaseName'**
Error in normalizePath(path.expand(path), winslash, mustWork) :
path[1]="hg38.fa": The system cannot find the file specified**
Execution halted
Any help or suggestions would be much appreciated.
Hello cg_ref_database,
Please use the formatting bar (especially the
![code_formatting](https://image.ibb.co/fg0nMx/code_formatting.png)
code
option) to present your post better. I've done it for you this time.Thank you!
Thank you for doing that! I'll be sure to do so for future posts.