From a626db7ad8024b1c5fa51db6088c7e2dba3abf0f Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Sat, 22 Jun 2013 01:00:10 +0000 Subject: [PATCH] inprogress --- forester/ruby/scripts/g.rb | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 forester/ruby/scripts/g.rb diff --git a/forester/ruby/scripts/g.rb b/forester/ruby/scripts/g.rb new file mode 100644 index 0000000..6d1adf4 --- /dev/null +++ b/forester/ruby/scripts/g.rb @@ -0,0 +1,9 @@ +File.open( "g" ) do | file | + while line = file.gets + if line =~ /^(\S{3,5})\s+\S{3,5}/ + puts "/home/czmasek/DATA/GENOME_HMMSCAN/CDHIT_095_PFAM270X/" + $1 + ".hmmscan " + $1 + else + puts line + end + end +end \ No newline at end of file -- 1.7.10.2