griffithlab / GenVisR

Genome data visualizations
Creative Commons Zero v1.0 Universal
206 stars 62 forks source link

Installation issue in AWS jupyter notebook instance #361

Closed sharmi298 closed 5 years ago

sharmi298 commented 5 years ago

During installation I get the following message and shows 'package not found error' when I use the library function

R version used: 3.6.0

Bioconductor version 3.9 (BiocManager 1.30.4), R 3.6.0 (2019-04-26) Installing package(s) 'GenVisR' also installing the dependencies ‘vctrs’, ‘blob’, ‘GenomicAlignments’, ‘DelayedArray’, ‘RSQLite’, ‘XVector’, ‘rtracklayer’, ‘BiocParallel’, ‘Rhtslib’, ‘SummarizedExperiment’, ‘AnnotationDbi’, ‘biomaRt’, ‘Biostrings’, ‘GenomicFeatures’, ‘GenomicRanges’, ‘IRanges’, ‘Rsamtools’, ‘BSgenome’, ‘GenomeInfoDb’, ‘VariantAnnotation’

Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘Rhtslib’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘IRanges’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘DelayedArray’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘XVector’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘GenomeInfoDb’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘Rsamtools’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘GenomicAlignments’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘rtracklayer’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘GenomicFeatures’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘BSgenome’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘VariantAnnotation’ had non-zero exit status”Warning message in install.packages(pkgs = doing, lib = lib, repos = repos, ...): “installation of package ‘GenVisR’ had non-zero exit status”Updating HTML index of packages in '.Library' Making 'packages.html' ... done Update old packages: 'askpass', 'boot', 'callr', 'caret', 'clipr', 'cluster', 'curl', 'dbplyr', 'digest', 'dplyr', 'evaluate', 'foreach', 'formatR', 'fs', 'ggplot2', 'glmnet', 'gower', 'haven', 'hexbin', 'hms', 'ipred', 'IRkernel', 'iterators', 'knitr', 'markdown', 'MASS', 'mime', 'nlme', 'numDeriv', 'openssl', 'pillar', 'processx', 'progress', 'quantmod', 'Rcpp', 'recipes', 'repr', 'reprex', 'reticulate', 'rmarkdown', 'rvest', 'tibble', 'tinytex', 'xfun', 'xml2', 'zoo'

zlskidmore commented 5 years ago

is this the full error message. I don't think GenVisR specifically is the issue but rather it's one of GenVisRs dependencies. I suspect one of these R package dependencies requires some system dependencies ( by system dependency i mean a unix/windows library not an R one) and the errors are propagating based on these missing system dependencies.

Can you try and install GenomicFeatures from Bioconductor that should fail based on the error messages above. Essentially this will have to be traced back to which underlying package/s GenVisR uses are causing the issue.

sselvara-nmdp commented 5 years ago

Hi Zachary,

Yes, the GenomicFeatures package failed as well. I think it's something to do with the 'Rhtslib' package. The Rhtslib package is not getting installed in the AWS environment.

If you have any idea regarding this issue, please get back to me as it will be very useful for my project.


From: Zachary Skidmore notifications@github.com Sent: Wednesday, July 31, 2019 4:45 PM To: griffithlab/GenVisR GenVisR@noreply.github.com Cc: Sharmila Selvaraj sselvara@NMDP.ORG; Manual manual@noreply.github.com Subject: Re: [griffithlab/GenVisR] Installation issue in AWS jupyter notebook instance (#361)

is this the full error message. I don't think GenVisR specifically is the issue but rather it's one of GenVisRs dependencies. I suspect one of these dependencies requires some system dependencies and the errors are propagating based on these missing system dependencies.

Can you try and install GenomicFeatures from Bioconductor that should fail based on the error messages above. Essentially this will have to be traced back to which underlying package/s GenVisR uses are causing the issue.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_griffithlab_GenVisR_issues_361-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAMOKOSI7S3Q3VBCQ4T4RDBLQCIBV5A5CNFSM4IIH4ZS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3IU6QA-23issuecomment-2D517033792&d=DwMCaQ&c=C_O335FEx-vf3XHLXGN8TO1BAxpi8-UjLCbu_DQ0pZI&r=PwCqScgSTN-TQlWAP8zJJY7LuqRaZ8EIW_2CTR33AaI&m=R4Dv4QFAgHKjvhG54Za0ng8IYoW4RVUTUDBMsbGy1Vc&s=hPtrvIUnHb1h9uD_djVAG8BnUQwteX9FMAL-pxk1EgE&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMOKOSIX22NV3R5U6VBWXITQCIBV5ANCNFSM4IIH4ZSQ&d=DwMCaQ&c=C_O335FEx-vf3XHLXGN8TO1BAxpi8-UjLCbu_DQ0pZI&r=PwCqScgSTN-TQlWAP8zJJY7LuqRaZ8EIW_2CTR33AaI&m=R4Dv4QFAgHKjvhG54Za0ng8IYoW4RVUTUDBMsbGy1Vc&s=6JSgjwa79zYy3RsqZFw8o50fWv43dMykj0OvSAwmmYY&e=.

zlskidmore commented 5 years ago

are you running ubuntu? Rhtslib is the R implementation of the htslib library. Tthese are the system packages needed to get htslib to work on a vanilla ubuntu instance, if you apt-get install these in the linux terminal it might help things

apt-get update -y && apt-get install -y \
    bzip2 \
    build-essential \
    zlib1g-dev \
    libncurses5-dev \
    libncursesw5-dev \
    libnss-sss \
    libbz2-dev \
    liblzma-dev \
    libcurl4-openssl-dev \
sselvara-nmdp commented 5 years ago

I am running it on the AWS Sagemaker Jupyter notebook instance. I am very new so I am facing this difficulty. Not sure how I could install htslib in AWS.


From: Zachary Skidmore notifications@github.com Sent: Thursday, August 1, 2019 2:56 PM To: griffithlab/GenVisR GenVisR@noreply.github.com Cc: Sharmila Selvaraj sselvara@NMDP.ORG; Manual manual@noreply.github.com Subject: Re: [griffithlab/GenVisR] Installation issue in AWS jupyter notebook instance (#361)

are you running ubuntu? Rhtslib is the R implementation of the htslib library. Tthese are the system packages needed to get htslib to work on a vanilla ubuntu instance, if you apt-get install these in the linux terminal it might help things

apt-get update -y && apt-get install -y \ bzip2 \ build-essential \ zlib1g-dev \ libncurses5-dev \ libncursesw5-dev \ libnss-sss \ libbz2-dev \ liblzma-dev \ libcurl4-openssl-dev \

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_griffithlab_GenVisR_issues_361-3Femail-5Fsource-3Dnotifications-26email-5Ftoken-3DAMOKOSMBSBCDA2BXCEISX7DQCM5VFA5CNFSM4IIH4ZS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3LWVCQ-23issuecomment-2D517433994&d=DwMCaQ&c=C_O335FEx-vf3XHLXGN8TO1BAxpi8-UjLCbu_DQ0pZI&r=PwCqScgSTN-TQlWAP8zJJY7LuqRaZ8EIW_2CTR33AaI&m=77EfAfDgCgbeNfSUCgrT7GeQu6TJwBg8gad_Muzw2jY&s=q2-IPygHaN-ETGL8WFnsDr5yesu4kA0GqJ8Wl0X3OS8&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AMOKOSINQRJOHFWHAB7AEADQCM5VFANCNFSM4IIH4ZSQ&d=DwMCaQ&c=C_O335FEx-vf3XHLXGN8TO1BAxpi8-UjLCbu_DQ0pZI&r=PwCqScgSTN-TQlWAP8zJJY7LuqRaZ8EIW_2CTR33AaI&m=77EfAfDgCgbeNfSUCgrT7GeQu6TJwBg8gad_Muzw2jY&s=veM7gfRr5_7qShZPYHhVbCVjWXAZKUK2La_RFzWNzmk&e=.

zlskidmore commented 5 years ago

I'm not super familiar with sagemaker, but you'll need to install those unix packages above to get this to work I think. I would assume sagemaker is running on a unix distribution so if you can get to a command line running apt-get install should be sufficient to get those packages

sharmi298 commented 5 years ago

Thank you for the quick reply! Will try to work it out