changeset 3:17ce4f3bffa2 default tip

Uploaded
author jesse-erdmann
date Tue, 24 Jan 2012 18:33:41 -0500
parents 37f15fe01f14
children
files tapdance_runner.pl
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/tapdance_runner.pl	Fri Dec 09 12:02:18 2011 -0500
+++ b/tapdance_runner.pl	Tue Jan 24 18:33:41 2012 -0500
@@ -393,9 +393,10 @@
 #  Copy insert files
 ###
 if ($copy_ins_files) {
-    #if (defined($projBed)) {
+    if (defined($projBed)) {
+    	copy("$envDirN/results/raw_$projName.BED", "$projBed") || die "Unable to retrieve project BED, $envDirN/results/raw_$projName.BED. $!\n";
+    }
     if (defined($index)) {
-	#copy("$envDirN/results/raw_$projName.BED", "$projBed") || die "Unable to retrieve project BED, $envDirN/results/raw_$projName.BED. $!\n";
 	#print $indexH "<A HREF=\"primary_" . $index_id . "_InsertsBED_hidden_bed?preview=true\">A BED containing all inserts</A><BR>\n";
 	copy("$envDirN/results/raw_$projName.BED", $index_path . "/primary_" . $index_id . "_InsertsBED_visible_bed") || die "Unable to retrieve project BED, $envDirN/results/raw_$projName.BED. $!\n";
     }