From 92c72d33616d2997eb9f66e0098b23e35f47edc5 Mon Sep 17 00:00:00 2001 From: weisburd Date: Tue, 8 Jun 2010 22:45:41 +0000 Subject: [PATCH] Added back lines that update the *big-table-header.txt file before using it git-svn-id: file:///humgen/gsa-scr1/gsa-engineering/svn_contents/trunk@3506 348d0f76-0448-11de-a6fe-93d51630548a --- .../ConcatTranscriptToInfoResults.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/genomicAnnotatorScripts/ConcatTranscriptToInfoResults.py b/python/genomicAnnotatorScripts/ConcatTranscriptToInfoResults.py index f3f7ad5c9..a4f8dc246 100755 --- a/python/genomicAnnotatorScripts/ConcatTranscriptToInfoResults.py +++ b/python/genomicAnnotatorScripts/ConcatTranscriptToInfoResults.py @@ -57,10 +57,10 @@ if ucsc: # NCBI doesn't have the _random contigs dir_plus_prefix = os.path.join(directory,prefix) -# Update the *-big-table-header.txt header file using the header from one of the single-contig files. -#command = "head -n 1 " + dir_plus_prefix + ("-big-table-ucsc-%s.txt " % contigs[0]) + " > " + dir_plus_prefix + "-big-table-header.txt" -#print(command) -#os.system(command) +# Update the *-big-table-header.txt header file using the header from one of the single-contig files - in case TranscriptToInfo was changed with columns being added or removed. +command = "head -n 1 " + dir_plus_prefix + ("-big-table-ucsc-%s.txt " % contigs[0]) + " > " + dir_plus_prefix + "-big-table-header.txt" +print(command) +os.system(command) # Concatenate