BreakDancer-1.1, released under GPLv3, is a Perl/Cpp package that provides genome-wide detection of structural variants from next generation paired-end sequencing reads. It includes two complementary programs.
BreakDancerMax predicts five types of structural variants: insertions, deletions, inversions, inter- and intra-chromosomal translocations from next-generation short paired-end sequencing reads using read pairs that are mapped with unexpected separation distances or orientation.
Breakdancer requires sudo access due to installing the required perl modules.
Should you receive an error when making and are on an Ubuntu/Linux system try changing the following line in Makefile:
And running 'make' again.
It is now assumed that you are in the breakdancer directory, inside it you've placed a samtools-0.1.6 directory and have compiled the samtools directory
Alter Breakdancer's Makefile
Change the following line in Makefile:
Changing both the path of the -I and -L flag and also moving the -lz library flag after -lbam
Congrats! You've, hopefully, installed the CPP portion of Breakdancer. But there is also a Perl script that Breakdancer must run so we need to handle the prerequisites for that.
Prerequisites for bam2cfg.pl
Change the shebang/header in the bam2cfp.pl from:
Install the required perl modules.
For sanity just update you PATH environmental variable to include looking into the breakdancer directory for bam2cfg.pl and breakdancer_max.