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

Diff of /FigKernelScripts/extract_data_for_syncing_after_update.pl

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

revision 1.2, Wed Mar 31 18:39:15 2004 UTC revision 1.3, Thu Apr 29 20:28:30 2004 UTC
# Line 3  Line 3 
3  use FIG;  use FIG;
4  my $fig = new FIG;  my $fig = new FIG;
5    
6  # usage: extract_data_for_syncing_after_update SyncFromDate(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage  # usage: extract_data_for_syncing_after_update SyncFromDate(MM/DD/YYYY) AssignmentsPackage AnnotationsPackage TranslationRulesPackage SubsystemsPackage
7    
8  (  (
9   ($sync_from_date      = shift @ARGV) &&   ($sync_from_date      = shift @ARGV) &&
10   ($assignments_package = shift @ARGV) &&   ($assignments_package = shift @ARGV) &&
11     ($annotations_package = shift @ARGV) &&
12   ($trans_rules_package = shift @ARGV) &&   ($trans_rules_package = shift @ARGV) &&
13   ($subsys_package      = shift @ARGV)   ($subsys_package      = shift @ARGV)
14  )  )
15      || die "usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage";      || die "usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage AnnotationsPackage TranslationRulesPackage SubsystemsPackage\
16    ";
17    
18  &P2Pupdate::package_translation_rules($FIG_Config::fig,$trans_rules_package);  &P2Pupdate::package_translation_rules($FIG_Config::fig,$trans_rules_package);
19  &P2Pupdate::package_subsystems($fig,$subsys_package,0);  &P2Pupdate::package_subsystems($fig,$subsys_package,0);
20    
21  my(@genome) = $fig->genomes;  my(@genomes) = $fig->genomes;
22  &P2Pupdate::package_assignments($fig,"master","master",$sync_from_date,\@genomes,$assignments_package);  &P2Pupdate::package_assignments($fig,"master","master",$sync_from_date,\@genomes,$assignments_package);
23    &P2Pupdate::package_annotations($fig,"master",$sync_from_date,\@genomes,$annotations_package);
24    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3