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

View of /FigKernelScripts/extract_data_for_syncing_after_update.pl

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (download) (as text) (annotate)
Wed Mar 31 18:39:15 2004 UTC (15 years, 8 months ago) by overbeek
Branch: MAIN
Changes since 1.1: +4 -2 lines
p2p changes

use P2Pupdate;

use FIG;
my $fig = new FIG;

# usage: extract_data_for_syncing_after_update SyncFromDate(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage

(
 ($sync_from_date      = shift @ARGV) &&
 ($assignments_package = shift @ARGV) &&
 ($trans_rules_package = shift @ARGV) &&
 ($subsys_package      = shift @ARGV)
)
    || die "usage: extract_data_for_syncing_after_update SyncFromData(MM/DD/YYYY) AssignmentsPackage TranslationRulesPackage SubsystemsPackage";

&P2Pupdate::package_translation_rules($FIG_Config::fig,$trans_rules_package);
&P2Pupdate::package_subsystems($fig,$subsys_package,0);

my(@genome) = $fig->genomes;
&P2Pupdate::package_assignments($fig,"master","master",$sync_from_date,\@genomes,$assignments_package);


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3