Skip to content
Snippets Groups Projects
Commit c77e76d8 authored by Glenn Proctor's avatar Glenn Proctor
Browse files

Wait for human-mouse to finish before running mouse-human. May prevent table contention.

parent 7d1f535c
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@ $e = "$dir/go_drosophila_anopheles.err";
$n = "g_dros_ano";
system "bsub -o $o -e $e -J $n perl project_display_xrefs.pl $opts -from drosophila -to anopheles -go_terms -delete_go_terms";
# ----------------------------------------------------------------------
# ----------------------------------------
# GO terms - mouse to human, rat, dog, chicken, cow
# Have to use job dependencies since these jobs need to run after the corresponding human-X projections have
......@@ -79,12 +79,8 @@ 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 $d;
if ($to eq "human") { # don't need to wait for mouse-human
$d = '';
} else {
my $depend_job_name = substr("g_hum_$to", 0, 10);
$d = "-w 'done($depend_job_name)'";
my $depend_job_name = substr("g_hum_$to", 0, 10);
my $d = "-w 'done($depend_job_name)'";
}
system "bsub -o $o -e $e -J $n $d perl project_display_xrefs.pl $opts -from mouse -to $to -go_terms";
}
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment