Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to install HoneyBADGER packge #8

Closed
hmassalha opened this issue Mar 17, 2018 · 3 comments
Closed

unable to install HoneyBADGER packge #8

hmassalha opened this issue Mar 17, 2018 · 3 comments

Comments

@hmassalha
Copy link

Dear Jean,
I have problems to install HoneyBADGER packge. I tried using your recommended code lines:

require(devtools)
devtools::install_github('JEFworks/HoneyBADGER')

and get the following error:

> require(devtools)
Loading required package: devtools
Warning message:
package ‘devtools’ was built under R version 3.4.3 
> devtools::install_github('JEFworks/HoneyBADGER')
Downloading GitHub repo JEFworks/HoneyBADGER@master
from URL https://api.github.com/repos/JEFworks/HoneyBADGER/zipball/master
Installing HoneyBADGER
"C:/PROGRA~1/R/R-34~1.1/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL  \
  "C:/Users/Hassan/AppData/Local/Temp/RtmpEl8p7L/devtools18d0487b12d8/JEFworks-HoneyBADGER-28b51c9"  \
  --library="C:/Program Files/R/R-3.4.1/library" --install-tests 

ERROR: dependencies 'GenomicRanges', 'ChIPseeker' are not available for package 'HoneyBADGER'
* removing 'C:/Program Files/R/R-3.4.1/library/HoneyBADGER'
Installation failed: Command failed (1)

Do you have any suggestion why I am getting this?

Thanks a lot, HM

@JEFworks
Copy link
Collaborator

Hi HM,

GenomicRanges and ChIPseeker are both available through Bioconductor and not CRAN, so you will need to install them separately first using Bioconductor:

## try http:// if https:// URLs are not supported
source("https://bioconductor.org/biocLite.R")
biocLite("GenomicRanges")
biocLite("ChIPseeker")

Best,
Jean

@hmassalha
Copy link
Author

Thanks Jean for your fast response.
I managed to install all the required packages and the HoneyBADGER. Would it be possible to provide a text file that includes a very brief explanation for the different outputs of this pipeline, especially in how to prepare the dataset to be processed with HoneyBADGER. As I am new for this type of analysis, it is difficult for me to follow the type, quality and required information for the analysis.
Thanks a lot, HM

@JEFworks
Copy link
Collaborator

Hi HM,

Excellent.

There is a tutorial available on how to prepare matrices of heterozygous SNP counts from bam files: http://jef.works/HoneyBADGER/Preparing_Data.html

Please see if that tutorial is sufficient and if you have additional suggestions and questions, feel free to make another issue.

Best,
Jean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants