]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_conf/bashrc
updated list_genomes wiki and bashrc
[biopieces.git] / bp_conf / bashrc
index 60b0b789f2f6e7b6ebbb43a29cc88725f7a4fe1c..06563c6d2d86ee4ff66323d8aec9f1cd2ad49dfa 100644 (file)
@@ -1,21 +1,32 @@
-# >>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<
+### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
+### 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