NgsCctsBuildVicuna

From Cheaha
Jump to navigation Jump to search


Attention: Research Computing Documentation has Moved
https://docs.rc.uab.edu/


Please use the new documentation url https://docs.rc.uab.edu/ for all Research Computing documentation needs.


As a result of this move, we have deprecated use of this wiki for documentation. We are providing read-only access to the content to facilitate migration of bookmarks and to serve as an historical record. All content updates should be made at the new documentation site. The original wiki will not receive further updates.

Thank you,

The Research Computing Team

Build/Install Broad's Vicuna

pre-requisites

NCBI toolkit 7.0.0

WARNING: not needed - see NgsCctsBuildVicuna#Note:_pre-built_exe_for_Linux_64bit.21 at bottom!

 # download
 cd /share/apps/ngs-ccts/downloads
 wget ftp://ftp.ncbi.nih.gov/toolbox/ncbi_tools++/ARCHIVE/7_0_0/ncbi_cxx--7_0_0.tar.gz
 # uncompress
 cd ..
 tar xzvf ../downloads/ncbi_cxx--7_0_0.tar.gz
 cd ncbi_cxx--7_0_0
 # bulid
 ./configure --prefix=/share/apps/ngs-ccts/ncbi_cxx--7_0_0 --with-optimization --with-mt --with-dll
 make
 make install

Vicuna

download

 # download - by hand - requires registration
 cd /share/apps/ngs-ccts/downloads
 firefox http://www.broadinstitute.org/scientific-community/science/projects/viral-genomics/vicuna
 mv vicuna.zip vicuna.v1.2.zip
 # uncompress
 cd ..
 unzip downloads/vicuna.v1.2.zip  -x '__MACOSX/*'

configure & build - NOT NEEDED (see below)

 cd /share/apps/ngs-ccts/VICUNA_v1.2/src
 # patch in NCBI C++ library path
 sed -i.orig -c -e 's|MYPATH=.*|MYPATH=/share/apps/ngs-ccts/ncbi_cxx--7_0_0|' Makefile
 # set NCBI C++ into LIB path
 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/share/apps/ngs-ccts/ncbi_cxx--7_0_0/lib
 # !! Waiting for NCBI to finish building
 make

build analysis

 cd /share/apps/ngs-ccts/VICUNA_v1.2/scripts/vicuna_analysis
 make clean
 make all

Note: pre-built exe for Linux 64bit!

in the "executable" subdirectory! see [1]