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

install cnv_facets 0.16.0 with r-facets 0.6.1 using anaconda3 #35

Open
jh2663 opened this issue May 6, 2021 · 1 comment
Open

install cnv_facets 0.16.0 with r-facets 0.6.1 using anaconda3 #35

jh2663 opened this issue May 6, 2021 · 1 comment

Comments

@jh2663
Copy link

jh2663 commented May 6, 2021

Hi. thank you for your effort with this script. I am just wondering if there is a way of installing r-facets 0.6.1 version with the 0.16.0 version of cnv_facets using conda or mamba command in linux system. I find r-facets 0.6.1 is only installable in R >=4.0 while cnv_facets is only for 3.5 or 3.6?

Best,

@dariober
Copy link
Owner

dariober commented May 6, 2021

Hi- sorry about that. I need to revise the installation recipe to update it to work with more recent versions. For the time being, the following should work, but I haven't tested it yet.

Skip the bioconda installation but use conda to install the dependencies. So something like:

conda create -n cnv_facets
conda activate cnv_facets

# I recommend switching from `conda install` to `mamba install` for good
mamba install 'r-facets>=0.6.1' 'r-data.table' 'r-ggplot2' 'r-argparse>=2' 'snp-pileup>=0.6.1' 'r-gridextra' 'bioconductor-rsamtools' 'samtools' 'bcftools >=1.9'

Now download the script cnv_facets.R and put it on your PATH:

mkdir -p $PREFIX/bin

curl -s https://raw.githubusercontent.com/dariober/cnv_facets/master/bin/cnv_facets.R > $PREFIX/bin/cnv_facets.R
chmod a+x $PREFIX/bin/cnv_facets.R

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