-# >>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<
+### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+### Stuff that enables biopieces.
-# Stuff that enables biotools.
+### BP_DIR, BP_DATA, BP_TMP, and BP_LOG should all be set in ~/.bashrc
+### see http://code.google.com/p/biopieces/wiki/Installation
-export TOOLS_DIR="/Users/m.hansen/tools" # Contains binaries for BLAST and Vmatch.
-export INST_DIR="/Users/m.hansen/maasha" # Contains scripts and modules.
-export DATA_DIR="/Users/m.hansen/DATA" # Contains genomic data etc.
-export TMP_DIR="/Users/m.hansen/maasha/tmp" # Required temporary directory.
-export LOG_DIR="/Users/m.hansen/maasha/log" # Log directory
+### The below bin directory should hold biopiece executables - regardsles of programming language.
-export PATH="$PATH:$TOOLS_DIR/blast-2.2.17/bin:$TOOLS_DIR/vmatch.distribution"
-export PATH="$INST_DIR/bin/:$INST_DIR/perl/bin:$INST_DIR/perl_scripts/:$INST_DIR/biotools:$PATH"
-export PERL5LIB="$PERL5LIB:$INST_DIR/perl_modules"
+export BP_BIN="$BP_DIR/bp_bin" # Directory with biopiece executables.
-# Alias allowing power scripting with biotools
+### The following directories hold the biopiece libraries, modules, gems, etc - one per programming language.
-alias bioscript="perl -MMaasha::Biotools=read_stream,get_record,put_record -e"
+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.
+### Here we add the biopiece variable to the existing PATH and PERL5LIB variables.
-# >>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<
+export PATH="$PATH:$BP_BIN"
+export PERL5LIB="$PERL5LIB:$BP_PERL"
+
+### Alias allowing power scripting with biopieces.
+
+alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e"
+
+
+### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+
+### Martin A. Hansen, June 2008