Compilation Errors Tigra-Sv
2
1
Entering edit mode
12.1 years ago
roalva1 ▴ 90

Hello I have my sv with breakdancer and I would like to do a local assembly with tigra, but I can not even compile it. I download it from the github version, since I don't have an ubuntu machine neither root access. So I am following the file named INSTALL.md, it is the same as in breakdancer, so when I do make inside of build directory it tells me this:

"tigra-sv/src/exe/tigra-sv/main.cpp:45:18: error: sam.h: No such file or directory"`

Well I solve it by writing hardcode the location of this file in the file named main.cpp. Then, I type make again, and this error doesn't show up, but another one saying this:

main.cpp:(.text+0x8c20): undefined reference to `bgzf_tell'

I can't figure out what to do after googling it.

could you help me please?

Thanks!

• 3.1k views
ADD COMMENT
3
Entering edit mode
12.1 years ago

make sure to add the path to the whole samtools as a library in the makefile and don't just edit a single file. It is probably done with -L and possibly -I flags to the compiler.

As the installation states that:

Since tigra_sv uses samtools C API. Please install samtools (http://samtools.sourceforge.net/). Please also modify the Makefile to link the compiler to the correct locations of samtools in your system.

ADD COMMENT
0
Entering edit mode
11.4 years ago
Liyf ▴ 30

Roalva, I get the same problem. And I even cannot install breakdancer, would you please help me about breakdancer? And this problem?

ADD COMMENT

Login before adding your answer.

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