Carrot root and DNA VCRU Bioinformatics USDA ARS Vegetable Crops Research Unit

This page was last updated on Sunday, 13-Nov-2016 10:10:45 CST

Installation notes for BreakDancer version 1.4.1-unstable-46-176af3e-dirty (commit 176af3e-dirty)

Home Page

Notes on earlier version 1.1

Prerequisites

Installation

  1. $ cd /programinstallers/
  2. $ git clone --recursive https://github.com/genome/breakdancer.git
  3. $ cd breakdancer
  4. $ export SAMTOOLS_ROOT=/usr/lib/samtools/
  5. $ export BOOST_LIBRARYDIR=/usr/local/lib64
  6. $ export BOOST_INCLUDEDIR=/usr/local/include
  7. $ export BOOST_ROOT=
  8. $ export BOOST_ADDITIONAL_VERSIONS="1.54 1.54.0"
  9. I don't know if this was actually necessary
    $ sudo ln -s /usr/local/include/boost /usr/local/include/boost/lib
  10. $ cmake . -DCMAKE_BUILD_TYPE=release -DCMAKE_INSTALL_PREFIX=/usr/local -DBoost_DEBUG=1
  11. $ make
  12. If necessary: Need to add location of 1.54 boost libraries to LD_LIBRARY_PATH
    $ sudo nano /etc/profile
    ...
    export LD_LIBRARY_PATH="/usr/local/lib64:$LD_LIBRARY_PATH"
    ...
  13. Test and print version
    $ bin/breakdancer-max
  14. Install
    $ cp -puv bin/breakdancer-max /usr/local/bin/
  15. There was no BreakDancer-Mini in this version
  16. $ cp -puv perl/*pm /usr/share/perl5/Local/
    `breakdancer/perl/AlnParser.pm' -> `/usr/share/perl5/Local/AlnParser.pm'
    `breakdancer/perl/Poisson.pm' -> `/usr/share/perl5/Local/Poisson.pm'
  17. $ cp -puv perl/bam2cfg.pl /usr/local/bin/
    `breakdancer/perl/bam2cfg.pl' -> `/usr/local/bin/bam2cfg.pl'
  18. Add this line to /usr/local/bin/bam2cfg.pl
    use lib '/usr/share/perl5/Local/';
  19. For documentation web page:
    $ mkdir ../web/breakdancer
  20. $ cp -puv README ../web/breakdancer/README.txt
  21. Cleanup
    $ cd /programinstallers ; rm breakdancer -rf