]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_conf/bashrc
fixes and stuff
[biopieces.git] / bp_conf / bashrc
index cdeadf3a8b381c14ffdcf192813143e080792ce0..0a113aee592c30a3c4b1a7f8502d2a09e4f9dadc 100644 (file)
@@ -1,15 +1,9 @@
 ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
 
-### Stuff that enables biopieces.
-
-### Initially we need to configure the directories where biopieces are installed
-### and where the data (genomes and indexes) that the biopieces work on are installed.
-### Allso, it is possible to change the temporary directory from the system's tmp.
-
-export BP_DIR="/Users/m.hansen/biopieces"         # Directory where biopieces are installed
-export BP_DATA="/Users/m.hansen/BP_DATA"          # Contains genomic data etc.
-export BP_TMP="/tmp"                              # Required temporary directory.
+### 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.
 
@@ -17,21 +11,22 @@ 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.
 
+### Here we add the biopiece variable to the existing PATH.
 
-### Here we add the biopiece variable to the existing PATH and PERL5LIB variables.
+export PATH="$PATH:$BP_BIN"
 
-export PATH="$PATH:$BP_BIN"  
-export PERL5LIB="$PERL5LIB:$BP_PERL"
+### Here we add the Biopieces Perl modules to PERL5LIB.
 
-### Alias allowing power scripting with biopieces.
+export PERL5LIB="$PERL5LIB:$BP_PERL"
 
-alias bioscript="perl -MMaasha::Biopieces=read_stream,get_record,put_record -e"
+### Here we add the Biopieces Ruby libraries to RUBYLIB.
 
+export RUBYLIB="$RUBYLIB:$BP_RUBY"
 
 ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<