X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=bp_conf%2Fbashrc;h=ac5ace41d921a049878be187f38a775f27d383da;hb=5de6112b70b59420b245ce636a8b2e3c90acbe00;hp=473e0c5fc8e03023252c29371286bd877c74acd0;hpb=7206222cb61a19d359faf21818557300e5ebc0e6;p=biopieces.git diff --git a/bp_conf/bashrc b/bp_conf/bashrc index 473e0c5..ac5ace4 100644 --- a/bp_conf/bashrc +++ b/bp_conf/bashrc @@ -1,5 +1,7 @@ ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< +### DO NOT MAKE ANY CHANGES + ### Stuff that enables Biopieces. ### BP_DIR, BP_DATA, BP_TMP, and BP_LOG should all be set in ~/.bashrc @@ -11,10 +13,14 @@ 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. @@ -26,12 +32,12 @@ export PERL5LIB="$PERL5LIB:$BP_PERL" ### Here we add the Biopieces Ruby libraries to RUBYLIB. -export RUBYLIB="$RUBYLIB:$BP_RUBY" - -### Alias allowing power scripting with biopieces. +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" ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<