Allow specification of complete filename of 2bit files in codingSnps.pl

This commit is contained in:
Lance Parsons
2014-09-04 16:02:54 -04:00
parent c45d6d8691
commit 94e2961e30
+3 -1
View File
@@ -564,6 +564,8 @@ sub getGalaxyInfo {
if ($nibDir eq 'Galaxy') {
print STDERR "Failed to find sequence directory in locfile $locFile\n";
}
$nibDir .= "/$build.2bit"; #we want full path and filename
# lparsons: allow specification of full filename in loc file for greater felxibility
unless ($nibDir =~ /(.*)\.2bit/) { $nibDir .= "/$build.2bit"; }
#$nibDir .= "/$build.2bit"; #we want full path and filename
}