v 1.04
[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