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

Annotation of /FigKernelScripts/score_dfcs_mcauliffe.pl

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : overbeek 1.1 #__perl__
2 :    
3 : overbeek 1.3 #
4 :     # Copyright (c) 2003-2006 University of Chicago and Fellowship
5 :     # for Interpretations of Genomes. All Rights Reserved.
6 :     #
7 :     # This file is part of the SEED Toolkit.
8 :     #
9 :     # The SEED Toolkit is free software. You can redistribute
10 :     # it and/or modify it under the terms of the SEED Toolkit
11 :     # Public License.
12 :     #
13 :     # You should have received a copy of the SEED Toolkit Public License
14 :     # along with this program; if not write to the University of Chicago
15 :     # at info@ci.uchicago.edu or the Fellowship for Interpretation of
16 :     # Genomes at veronika@thefig.info or download a copy from
17 :     # http://www.theseed.org/LICENSE.TXT.
18 :     #
19 : overbeek 1.1
20 :     =head1 score_dfcs_mcauliffe
21 :    
22 : overbeek 1.3 This is an interpretation of Jon McAuliffes score probability model.
23 : overbeek 1.1
24 :     =cut
25 :    
26 :     use strict;
27 : overbeek 1.3 use FIGStatisticalModels;
28 :     my $fs=new FIGStatisticalModels;
29 : overbeek 1.1
30 :    
31 :     # now read the input and procces the data
32 :     while (<STDIN>)
33 :     {
34 :     chomp;
35 :     my ($peg1, $peg2, $fc) = split /\t/;
36 : overbeek 1.5 my $sc = sprintf("%0.3f",$fs->fc_score2probability($fc));
37 : overbeek 1.1 print join("\t",($peg1,$peg2,$sc,"","","",$fc,"")),"\n";
38 :     }
39 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3