From 75f9103b756a1ebd10cc1f6a6d987ce4fb6c6a88 Mon Sep 17 00:00:00 2001 From: "cmzmasek@gmail.com" Date: Wed, 21 Mar 2012 04:21:25 +0000 Subject: [PATCH] in progress --- forester/ruby/scripts/preprocess.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 forester/ruby/scripts/preprocess.rb diff --git a/forester/ruby/scripts/preprocess.rb b/forester/ruby/scripts/preprocess.rb new file mode 100644 index 0000000..f3447ef --- /dev/null +++ b/forester/ruby/scripts/preprocess.rb @@ -0,0 +1,10 @@ +#!/usr/local/bin/ruby -w + + +input = ARGV[ 0 ] + +system( "hmmscan --nobias --domtblout " + input + "_hmmscan_260_10 -E 10 Pfam-A.hmm " + input + ".ni.fasta" ) + +system( "hsp " + input + "_hmmscan_260_10 " + input + "_hmmscan_260_10_domain_table" ) + +system( "d2f " + input + "_hmmscan_260_10_domain_table " + input + ".ni.fasta " + input + "_hmmscan_260_10.dff" ) \ No newline at end of file -- 1.7.10.2