[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.3 - (download) (as text) (annotate)
Thu Apr 29 20:28:30 2004 UTC (15 years, 7 months ago) by overbeek
Branch: MAIN
Changes since 1.2: +6 -3 lines
fixes relating to syncing systems during update

use P2Pupdate;

use FIG;
my $fig = new FIG;

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

(
 ($sync_from_date      = shift @ARGV) &&
 ($assignments_package = shift @ARGV) &&
 ($annotations_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 AnnotationsPackage TranslationRulesPackage SubsystemsPackage\
";

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

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


MCS Webmaster
ViewVC Help
Powered by ViewVC 1.0.3