[Bio] / FigKernelScripts / make_calls.pl Repository:
ViewVC logotype

Annotation of /FigKernelScripts/make_calls.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (view) (download) (as text)

1 : overbeek 1.2 # -*- perl -*-
2 : olson 1.4 #
3 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
4 :     # for Interpretations of Genomes. All Rights Reserved.
5 :     #
6 :     # This file is part of the SEED Toolkit.
7 :     #
8 :     # The SEED Toolkit is free software. You can redistribute
9 :     # it and/or modify it under the terms of the SEED Toolkit
10 :     # Public License.
11 :     #
12 :     # You should have received a copy of the SEED Toolkit Public License
13 :     # along with this program; if not write to the University of Chicago
14 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
15 :     # Genomes at veronika@thefig.info or download a copy from
16 :     # http://www.theseed.org/LICENSE.TXT.
17 :     #
18 :    
19 : overbeek 1.2
20 : efrank 1.1 use FIG;
21 : overbeek 1.3 my($id,$func);
22 : efrank 1.1
23 : overbeek 1.2 # usage: make_calls < auto_assign.out > assignments
24 :    
25 :     if (@ARGV && ($ARGV[0] =~ m/^-no_hypos/)) { $no_hypos = 1; }
26 :    
27 : efrank 1.1 while (defined($_ = <STDIN>))
28 :     {
29 : overbeek 1.3 if ($_ =~ /^(\S+)\t(\S[^\t]*\S)/)
30 : efrank 1.1 {
31 :     $id = $1;
32 : overbeek 1.3 $func = $2;
33 :     if ((! $no_hypos) || (! &FIG::hypo($func)))
34 : efrank 1.1 {
35 : overbeek 1.3 print $_;
36 : efrank 1.1 }
37 :     }
38 :     }

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3