Install bam-readcount
0
0
Entering edit mode
2.3 years ago
Chris ▴ 340

Hello bioinformaticians,

I run this code to install bam-readcount:

 cd $RNA_HOME/student_tools/   
export SAMTOOLS_ROOT=$RNA_HOME/student_tools/samtools-1.9   
git clone https://github.com/genome/bam-readcount.git   
cd bam-readcount   
cmake -Wno-dev $RNA_HOME/student_tools/bam-readcount   
make

After a quite long-running, I got error:

[ 11%] Built target boost-1.55 [ 11%] Built target __bc_predepends [ 22%] Built target bzip2 [ 33%] Built target mbedtls [ 34%] Performing build step for 'curl' Making all in lib CCLD libcurl.la /usr/bin/ld: /vcu_gpfs2/home/doanc2/workspace/rnaseq/student_tools/bam-readcount/vendor/mbedtls/lib/libmbedtls.a(ssl_ciphersuites.o): relocation R_X86_64_32 against .bss' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /vcu_gpfs2/home/doanc2/workspace/rnaseq/student_tools/bam-readcount/vendor/mbedtls/lib/libmbedtls.a(ssl_tls.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /vcu_gpfs2/home/doanc2/workspace/rnaseq/student_tools/bam-readcount/vendor/mbedtls/lib/libmbedtls.a(debug.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /vcu_gpfs2/home/doanc2/workspace/rnaseq/student_tools/bam-readcount/vendor/mbedtls/lib/libmbedtls.a(ssl_cli.o): relocation R_X86_64_32 against.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: /vcu_gpfs2/home/doanc2/workspace/rnaseq/student_tools/bam-readcount/vendor/mbedtls/lib/libmbedtls.a(ssl_srv.o): relocation R_X86_64_32 against .rodata.str1.1' can not be used when making a shared object;

Would you please tell me how to fix this? Thank you so much!

bam-readcount • 1.7k views
ADD COMMENT
1
Entering edit mode

you should use conda to install this: https://anaconda.org/bioconda/bam-readcount

ADD REPLY
0
Entering edit mode

Thank you for your suggestion! I run the code on a Linux server and when I type conda, it got the error conda command not found.

ADD REPLY
1
Entering edit mode
ADD REPLY
0
Entering edit mode

Thank you for your help! So I should contact the server manager, right? I am quite confused quick one I should install.

ADD REPLY

Login before adding your answer.

Traffic: 1649 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6