changeset 53:8b1c49f2ecaa draft

Uploaded
author greg
date Thu, 14 Dec 2017 14:49:54 -0500
parents a6cdcd7af9de
children d7ab58fe039f
files ideas_genome_tracks.R
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/ideas_genome_tracks.R	Thu Dec 14 14:42:56 2017 -0500
+++ b/ideas_genome_tracks.R	Thu Dec 14 14:49:54 2017 -0500
@@ -113,7 +113,7 @@
 		viridis_color_hex_code <- viridis_vector[color_index]
 		big_data_url <- get_big_data_url(galaxy_url, encoded_dataset_id, tracks_dir, i, build);
 		# trackDb.txt track entry.
-		track_db = c(track_db, paste("hub ", hub_name, "_track_", i, sep=""));
+		track_db = c(track_db, paste("track ", hub_name, "_track_", i, sep=""));
 		track_db = c(track_db, "type bigBed");
 		track_db = c(track_db, paste("bigDataUrl", big_data_url, sep=" "));
 		track_db = c(track_db, paste("shortLabel", short_label, sep=" "));
@@ -140,7 +140,7 @@
 }
 
 # Create the hub.txt output.
-hub_name_line <- paste("track ", opt$hub_name, sep="");
+hub_name_line <- paste("hub ", opt$hub_name, sep="");
 short_label_line <- paste("shortLabel ", opt$short_label, sep="");
 long_label_line <- paste("longLabel ", opt$long_label, sep="");
 genomes_txt_line <- paste("genomesFile genomes.txt", sep="");