X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_conf%2Fbashrc;h=ac5ace41d921a049878be187f38a775f27d383da;hb=af282a65d141826c15944437b07a0353dd14e79c;hp=c7557d92cf49b79a5ba1aa51198a0dfaa2c3dfd7;hpb=f01f27d084299429c046851eced0938ef9329205;p=biopieces.git diff --git a/bp_conf/bashrc b/bp_conf/bashrc index c7557d9..ac5ace4 100644 --- a/bp_conf/bashrc +++ b/bp_conf/bashrc @@ -1,8 +1,10 @@ ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< -### Stuff that enables biopieces. +### DO NOT MAKE ANY CHANGES -### BP_DIR, BP_DATA and BP_TMP should all be set in ~/.bashrc +### Stuff that enables Biopieces. + +### BP_DIR, BP_DATA, BP_TMP, and BP_LOG should all be set in ~/.bashrc ### see http://code.google.com/p/biopieces/wiki/Installation ### The below bin directory should hold biopiece executables - regardsles of programming language. @@ -11,20 +13,31 @@ export BP_BIN="$BP_DIR/bp_bin" # Directory with biopiece executable ### The following directories hold the biopiece libraries, modules, gems, etc - one per programming language. -export BP_PERL="$BP_DIR/code_perl" # Direcotry with Perl code. -export BP_C="$BP_DIR/code_c" # Direcotry with c code. -export BP_PYTHON="$BP_DIR/code_python" # Direcotry with Pyton code. -export BP_RUBY="$BP_DIR/code_ruby" # Direcotry with Ruby code. +export BP_PERL="$BP_DIR/code_perl" # Direcotory with Perl code. +export BP_C="$BP_DIR/code_c" # Direcotory with C code. +export BP_PYTHON="$BP_DIR/code_python" # Direcotory with Pyton code. +export BP_RUBY="$BP_DIR/code_ruby" # Direcotory with Ruby code. + +### This is the directory with the document root fro the Biopieces Genome Browser: + +export BP_WWW="$BP_DIR/www" # Direcotory with Biopieces Genome Browser. -### Here we add the biopiece variable to the existing PATH and PERL5LIB variables. +### Here we add the biopiece variable to the existing PATH. + +export PATH="$PATH:$BP_BIN" + +### Here we add the Biopieces Perl modules to PERL5LIB. -export PATH="$PATH:$BP_BIN" export PERL5LIB="$PERL5LIB:$BP_PERL" -### Alias allowing power scripting with biopieces. +### Here we add the Biopieces Ruby libraries to RUBYLIB. + +export RUBYLIB="$RUBYLIB:$BP_RUBY/lib" -alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e" +### Some useful aliases. +alias bp_update="svn update $BP_DIR && svn update $BP_DIR/bp_usage" +alias bp_test="$BP_DIR/bp_test/test_all" ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<