Closed shivak3 closed 3 years ago
Hi- How did you install cnv_facets
? I'm afraid cnv_facets needs R 3.x (I need to fix the conda recipe!). See also issue https://github.com/dariober/cnv_facets/issues/35. Unless you have a specific reason to do otherwise, do:
conda create -n cnv_facets
conda activate cnv_facets
mamba install -c bioconda -c conda-forge cnv_facets # Better to use mamba instead of conda
Hi Dariober,
Thank you for your reply.
I installed cnv_facets using setup script.
bash setup.sh --bin_dir </dir/on/path>
on my machine , its like
bash setup.sh --bin_dir /usr/local/bin
And, I am trying to run cnv_facets.R from terminal like
[test@rhel8 ~]# cnv_facets.R -v
0.16.0; facets=0.5.14
[test@rhel8 ~]# cnv_facets.R -h
usage: /usr/local/bin/cnv_facets.R [-h] --out OUT [--snp-tumour SNP_TUMOUR]
[--snp-normal SNP_NORMAL]
[--snp-vcf SNP_VCF] [--snp-mapq SNP_MAPQ]
[--snp-baq SNP_BAQ] [--snp-count-orphans]
[--snp-nprocs SNP_NPROCS] [--pileup PILEUP]
[--depth DEPTH DEPTH] [--targets TARGETS]
[--cval CVAL CVAL] [--nbhd-snp NBHD_SNP]
[--annotation ANNOTATION]
[--gbuild {hg19,hg38,mm9,mm10}]
[--unmatched] [--no-cov-plot]
[--rnd-seed RND_SEED] [-v]
Do you recommend the above installation and cnv_facets.R execution from terminal? OR You recommend it using only "conda" ..!
--Thank you
Hi - I would suggest using conda
Hi Dariober,
I installed cnv_facets using conda as you said. After that, When I run cnv_facets.R I see the error with samtools -shared libraries
(cnv_facets) [test@rhel8 ]$ cnv_facets.R -t SR52.bam -n SR.bam -vcf ../../All.vcf.gz -o T23_HB72
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
samtools: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared object file: No such file or directory
Error in if (n == 0) { : argument is of length zero
Calls: avg_insert_size
Execution halted
Please help to fix this issue. -- Thank you
Hi- samtools: error while loading shared libraries: libcrypto.so.1.0.0:
is recurrent problem. Try to google it for more information and fixes. Can you show the commands you use to create the conda environment and install the dependencies along with their output?
Hi Dariober,
Thank you for your reply.
I followed the same steps you mentioned earlier to install conda environment.
conda create -n cnv_facets
conda activate cnv_facets
mamba install -c bioconda -c conda-forge cnv_facets
With the above environment, Samtools got installed version 1.7 and it caused the shared libraries error.
I upgraded samtools to 1.9 and it fixed the samtools error.
conda install -c bioconda samtools=1.9
-Thank you.
Thanks for reporting back. I'm going to close the issue then.
Hi,
I have installed cnv_facets using the setup script.
When I run the code, I am getting this error.
Please guide me if anyone come across this issue. -Thank you.