From e6f5b22249f89401f0b69001cb5fd6daf460ea0b Mon Sep 17 00:00:00 2001 From: martinahansen Date: Sun, 31 Oct 2010 16:18:20 +0000 Subject: [PATCH] fixed aliases in bashrc git-svn-id: http://biopieces.googlecode.com/svn/trunk@1144 74ccb610-7750-0410-82ae-013aeee3265d --- bp_conf/bashrc | 5 +++++ code_ruby/Maasha/lib/seq.rb | 3 +++ 2 files changed, 8 insertions(+) diff --git a/bp_conf/bashrc b/bp_conf/bashrc index 17d9c1a..10e7887 100644 --- a/bp_conf/bashrc +++ b/bp_conf/bashrc @@ -32,6 +32,11 @@ export PERL5LIB="$PERL5LIB:$BP_PERL" export RUBYLIB="$RUBYLIB:$BP_RUBY/Maasha/lib" +### Some useful aliases. + +alias bp_update="cd $BP_DIR && svn update; cd $BP_DIR/bp_usage && svn update;" +alias bp_test="$BP_DIR/bp_test/test_all" + ### >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>><<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< diff --git a/code_ruby/Maasha/lib/seq.rb b/code_ruby/Maasha/lib/seq.rb index a797100..2913237 100644 --- a/code_ruby/Maasha/lib/seq.rb +++ b/code_ruby/Maasha/lib/seq.rb @@ -1,4 +1,5 @@ require 'patscan' +require 'patfind' # Residue alphabets DNA = %w[a t c g] @@ -14,6 +15,8 @@ SCORE_ILLUMINA = 64 class SeqError < StandardError; end class Seq + include PatFind + attr_accessor :seq_name, :seq, :type, :qual # Initialize a sequence object with the following arguments: -- 2.39.2