From f5883deb8f8a39d76fe4dfd72b695ab6627be856 Mon Sep 17 00:00:00 2001 From: Glenn Proctor <gp1@sanger.ac.uk> Date: Sun, 25 Mar 2007 19:36:39 +0000 Subject: [PATCH] Don't write name projection info to database. --- misc-scripts/xref_projection/submit_projections.pl | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/misc-scripts/xref_projection/submit_projections.pl b/misc-scripts/xref_projection/submit_projections.pl index 725dc513d0..8cb242c9de 100644 --- a/misc-scripts/xref_projection/submit_projections.pl +++ b/misc-scripts/xref_projection/submit_projections.pl @@ -40,7 +40,7 @@ foreach my $to ("chimp", "opossum", "dog", "cow", "macaque", "chicken", "xenopus $o = "$dir/names_human_$to.out"; $e = "$dir/names_human_$to.err"; $n = substr("n_hum_$to", 0, 10); # job name display limited to 10 chars - system "bsub -o $o -e $e -J $n perl project_display_xrefs.pl $opts -from human -to $to -names -delete_names"; + system "bsub -o $o -e $e -J $n perl project_display_xrefs.pl $opts -from human -to $to -names -delete_names -no_database"; } # mouse to rat @@ -48,7 +48,7 @@ foreach my $to ("rat") { # don't need the loop but may add more species later $o = "$dir/names_mouse_$to.out"; $e = "$dir/names_mouse_$to.err"; $n = substr("n_mou_$to", 0, 10); - system "bsub -o $o -e $e -J $n perl project_display_xrefs.pl $opts -from mouse -to $to -names -delete_names"; + system "bsub -o $o -e $e -J $n perl project_display_xrefs.pl $opts -from mouse -to $to -names -delete_names -no_database"; } # ---------------------------------------- @@ -79,8 +79,12 @@ foreach my $to ("human", "rat", "dog", "chicken", "cow") { $o = "$dir/go_mouse_$to.out"; $e = "$dir/go_mouse_$to.err"; $n = substr("g_mou_$to", 0, 10); - my $depend_job_name = substr("g_hum_$to", 0, 10); - my $d = "-w 'done($depend_job_name)'"; + my $d; + if ($to eq 'human') { # no "human-human" to depend upon + $d = ''; + } else { + my $depend_job_name = substr("g_hum_$to", 0, 10); + $d = "-w 'ended($depend_job_name)'"; } system "bsub -o $o -e $e -J $n $d perl project_display_xrefs.pl $opts -from mouse -to $to -go_terms"; } -- GitLab