]> git.donarmstrong.com Git - biopieces.git/blobdiff - bp_conf/bashrc.template
fixing bashrc
[biopieces.git] / bp_conf / bashrc.template
diff --git a/bp_conf/bashrc.template b/bp_conf/bashrc.template
new file mode 100644 (file)
index 0000000..c7557d9
--- /dev/null
@@ -0,0 +1,32 @@
+### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
+
+### Stuff that enables biopieces.
+
+### BP_DIR, BP_DATA and BP_TMP 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.
+
+export BP_BIN="$BP_DIR/bp_bin"              # Directory with biopiece executables.
+
+### 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.
+
+### 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