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

Annotation of /FigKernelScripts/extract_data_for_syncing_after_update.pl

Parent Directory Parent Directory | Revision Log Revision Log


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

1 : overbeek 1.1 use FIG;
2 :     my $fig = new FIG;
3 :    
4 :     # usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage
5 :    
6 :     (
7 :     ($sync_from_date = shift @ARGV) &&
8 :     ($assignments_package = shift @ARGV) &&
9 :     ($trans_rules_package = shift @ARGV) &&
10 :     ($subsys_package = shift @ARGV)
11 :     )
12 :     || die "usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage";
13 :    
14 :     &P2Pupdate::package_translation_rules($FIG_Config::fig_disk,$trans_rule_package);
15 :     &P2Pupdate::package_subsystems($fig,$subsys_package,0);
16 :    
17 :     my(@genome) = $fig->genomes;
18 :     &P2Pupdate::package_assignments($fig,"master","master",$sync_from_date,\@genomes,$assignments_package);
19 :    

MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3