git://source.jalview.org
/
jalview.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
domain + go output work begins
[jalview.git]
/
forester
/
ruby
/
scripts
/
nffas_parse.rb
1
#!/usr/local/bin/ruby -w
2
3
infile = ARGV[ 0 ]
4
5
File.open( infile ) do | file |
6
while line = file.gets
7
if line =~ /^>>(.+)/
8
puts ">" + $1
9
elsif line =~ /^([A-Z]+)/
10
puts $1
11
end
12
end
13
end