git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
in progress
[jalview.git]
/
forester
/
ruby
/
scripts
/
preprocess.rb
diff --git
a/forester/ruby/scripts/preprocess.rb
b/forester/ruby/scripts/preprocess.rb
index
8829eb6
..
2cc1479
100644
(file)
--- a/
forester/ruby/scripts/preprocess.rb
+++ b/
forester/ruby/scripts/preprocess.rb
@@
-1,7
+1,7
@@
#!/usr/local/bin/ruby -w
#!/usr/local/bin/ruby -w
-if ( ARGV == nil || ARGV.length != 3 )
+if ( ARGV == nil || ARGV.length != 2 )
puts( "usage: preprocess.rb <input> <path to Pfam A HMMs>" )
exit( -1 )
end
puts( "usage: preprocess.rb <input> <path to Pfam A HMMs>" )
exit( -1 )
end
@@
-10,7
+10,7
@@
input = ARGV[ 0 ]
pfam = ARGV[ 1 ]
pfam = ARGV[ 1 ]
-system( "hmmscan --nobias --domtblout " + input + "_hmmscan_260_10 -E 10 " + pfam + " + input + ".ni.fasta" )
+system( "hmmscan --nobias --domtblout " + input + "_hmmscan_260_10 -E 10 " + pfam + " " + input + ".ni.fasta" )
system( "hsp " + input + "_hmmscan_260_10 " + input + "_hmmscan_260_10_domain_table" )
system( "hsp " + input + "_hmmscan_260_10 " + input + "_hmmscan_260_10_domain_table" )