- $ cd /programinstallers/
- $ svn checkout https://github.com/kenchen/breakdancer
...
Checked out revision 24.
- $ cd /programinstallers/breakdancer/trunk/cpp
- Change Makefile from
all:
g++ -g -Wall -O2 -I/gsc/pkg/bio/samtools/samtools-0.1.6/ BreakDancerMax.cpp AlnParser.cpp Poisson.cpp -o breakdancer_max -lm -lz -L/gsc/pkg/bio/samtools/samtools-0.1.6/ -lbam
To
all:
g++ -g -Wall -O2 -I/usr/lib/samtools/ BreakDancerMax.cpp AlnParser.cpp Poisson.cpp -o breakdancer_max -lm -lz -L/usr/lib/samtools/ -lbam -pthread -lz
- $ make
- $ cd /programinstallers/breakdancer/trunk/perl
- Edit Perl path
$ nano bam2cfg.pl
Change first line from
#!/gsc/bin/perl
To
#!/usr/bin/perl
- These are the older version 1.0 programs:
$ cd /programinstallers/breakdancer/branches/release-r76
- Fix the Perl paths as above for the two files
BreakDancerMax.pl and BreakDancerMini.pl
- For these files, also set a location for breakdancer modules
Poisson.pm or AlnParser.pm, e.g. Local::Poisson.pm
- $ cd /programinstallers
- Installation
$ cp -puv breakdancer/trunk/cpp/breakdancer_max breakdancer/trunk/perl/bam2cfg.pl breakdancer/branches/release-r76/BreakDancerM*.pl /usr/local/bin/
`breakdancer/trunk/cpp/breakdancer_max' -> `/usr/local/bin/breakdancer_max'
`breakdancer/trunk/perl/bam2cfg.pl' -> `/usr/local/bin/bam2cfg.pl'
`breakdancer/branches/release-r76/BreakDancerMax.pl' -> `/usr/local/bin/BreakDancerMax.pl'
`breakdancer/branches/release-r76/BreakDancerMini.pl' -> `/usr/local/bin/BreakDancerMini.pl'
- $ cp -puv breakdancer/trunk/perl/*.pm /usr/share/perl5/Local/
`breakdancer/trunk/perl/AlnParser.pm' -> `/usr/share/perl5/Local/AlnParser.pm'
`breakdancer/trunk/perl/Poisson.pm' -> `/usr/share/perl5/Local/Poisson.pm'
- For documentation web page:
$ mkdir web/breakdancer
- $ cp -puv breakdancer/trunk/README web/breakdancer/README.txt
- Cleanup
$ cd /programinstallers ; rm breakdancer -rf