grabix installation from github
1
0
Entering edit mode
6.0 years ago
jonessara770 ▴ 240

Hello,

I downloaded grabix from github but dont kow how to make executable or install? Please advice

https://github.com/arq5x/grabix

Thanks

gemini • 1.4k views
ADD COMMENT
0
Entering edit mode

It is customary to provide a link for the tool you are referring to with these type of posts. There can be multiple programs with same/similar names. Please add that information to your original post.

ADD REPLY
0
Entering edit mode

It's probably more appropriate to open an issue on GitHub.

I see a Makefile so my first guess would be make.

But I would always suggest to install from (bio)conda.

ADD REPLY
0
Entering edit mode

Thanks

when running make I get this error

gcc -Wall -O2 -o grabix grabix_main.cpp grabix.cpp bgzf.c -lstdc++ -lz
/tmp/ccPts8pX.s: Assembler messages:
/tmp/ccPts8pX.s:21: Error: expecting string instruction after `rep'
/tmp/ccPts8pX.s: Assembler messages:
/tmp/ccPts8pX.s:1036: Error: expecting string instruction after `rep'
/tmp/ccPts8pX.s:1245: Error: expecting string instruction after `rep'
make: *** [all] Error 1
ADD REPLY
0
Entering edit mode

What OS are you compiling on? What version of gcc and binutils?

ADD REPLY
0
Entering edit mode

CentOS6/software/gcc/gcc-4.9.3/bin/gcc

ADD REPLY
0
Entering edit mode

I was able to compile on RHEL with gcc 4.8.x. So you should be able to.

What do you see with ld -v?

What about using the bioconda method suggested by @Wouter?

ADD REPLY
0
Entering edit mode

Tagging: brentp

ADD REPLY
0
Entering edit mode
6.0 years ago
jonessara770 ▴ 240

Ok I unloaded module file gcc-4.9.3 and run 'make' it and it create grabix

ADD COMMENT
0
Entering edit mode

Great. Then we are done!

ADD REPLY

Login before adding your answer.

Traffic: 1867 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