1 ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
3 ### Stuff that enables Biopieces.
5 ### BP_DIR, BP_DATA, BP_TMP, and BP_LOG should all be set in ~/.bashrc
6 ### see http://code.google.com/p/biopieces/wiki/Installation
8 ### The below bin directory should hold biopiece executables - regardsles of programming language.
10 export BP_BIN="$BP_DIR/bp_bin" # Directory with biopiece executables.
12 ### The following directories hold the biopiece libraries, modules, gems, etc - one per programming language.
14 export BP_PERL="$BP_DIR/code_perl" # Direcotry with Perl code.
15 export BP_C="$BP_DIR/code_c" # Direcotry with c code.
16 export BP_PYTHON="$BP_DIR/code_python" # Direcotry with Pyton code.
17 export BP_RUBY="$BP_DIR/code_ruby" # Direcotry with Ruby code.
19 ### Here we add the biopiece variable to the existing PATH.
21 export PATH="$PATH:$BP_BIN"
23 ### Here we add the Biopieces Perl modules to PERL5LIB.
25 export PERL5LIB="$PERL5LIB:$BP_PERL"
27 ### Here we add the Biopieces Ruby libraries to RUBYLIB.
29 export RUBYLIB="$RUBYLIB:$BP_RUBY"
31 ### Alias allowing power scripting with biopieces.
33 alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e"
36 ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
39 ### Martin A. Hansen, June 2008