This is a test version of Biostars. For the public version, visit https://www.biostars.org.
grabix installation from github

Hello,

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

https://github.com/arq5x/grabix

Thanks

gemini

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.

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.

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

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

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

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?

1 answer

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

Great. Then we are done!

Log in to answer this question.