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

Diff of /FigKernelScripts/sync_new_system.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1, Mon May 3 17:04:11 2004 UTC revision 1.5, Mon Dec 5 18:56:38 2005 UTC
# Line 1  Line 1 
1    #
2  use P2Pupdate;  # Copyright (c) 2003-2006 University of Chicago and Fellowship
3    # for Interpretations of Genomes. All Rights Reserved.
4    #
5    # This file is part of the SEED Toolkit.
6    #
7    # The SEED Toolkit is free software. You can redistribute
8    # it and/or modify it under the terms of the SEED Toolkit
9    # Public License.
10    #
11    # You should have received a copy of the SEED Toolkit Public License
12    # along with this program; if not write to the University of Chicago
13    # at info@ci.uchicago.edu or the Fellowship for Interpretation of
14    # Genomes at veronika@thefig.info or download a copy from
15    # http://www.theseed.org/LICENSE.TXT.
16    #
17    
18  use FIG;  use FIG;
 my $fig = new FIG;  
   
 $usage = "usage: sync_new_system AssignmentsPackage AnnotationsPackage TranslationRulesPackage SubsystemsPackage";  
19    
20    $usage = "usage: sync_new_system Dir MakeAssignments";
21  (  (
22   ($assignments_package = shift @ARGV) &&   ($dir = shift @ARGV) && (-d $dir)
  ($annotations_package = shift @ARGV) &&  
  ($trans_rules_package = shift @ARGV) &&  
  ($subsys_package      = shift @ARGV)  
23  )  )
24      || die $usage;      || die $usage;
25    
26  &FIG::run("$FIG_Config::bin/install_assignments $assignments_package");  my $make_assignments = (@ARGV > 0) ? $ARGV[0] : "";
27    
28    my $assignments_package = "$dir/assignments_package";
29    my $annotations_package = "$dir/annotations_package";
30    my $trans_rules_package = "$dir/trans_rules_package";
31    my $subsys_package      = "$dir/subsys_package";
32    
33    &FIG::run("$FIG_Config::bin/install_assignments $assignments_package $make_assignments");
34  &FIG::run("$FIG_Config::bin/install_annotations $annotations_package");  &FIG::run("$FIG_Config::bin/install_annotations $annotations_package");
35  &FIG::run("$FIG_Config::bin/install_translation_rules $trans_rules_package");  &FIG::run("$FIG_Config::bin/install_translation_rules update $trans_rules_package");
36  &FIG::run("$FIG_Config::bin/install_subsystems $subsys_package");  &FIG::run("$FIG_Config::bin/install_subsystems $subsys_package");
37    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.5

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3