d660f59a95e2156f2d2deefd6658b6c54bab1b52 lrnassar Tue Jun 2 14:35:45 2020 -0700 Fixing the finish statement to reflect the new trackDb usage, no RM diff --git src/utils/trackDbIndexBb/trackDbIndexBb src/utils/trackDbIndexBb/trackDbIndexBb index 43c8b17..bc73d77 100755 --- src/utils/trackDbIndexBb/trackDbIndexBb +++ src/utils/trackDbIndexBb/trackDbIndexBb @@ -363,32 +363,33 @@ createMultiBedSourcesFile(trackName,outDir,raInfo) #Clean up and print completion for tempFile in tempFiles: tryDelete(tempFile) if noDelete is False: tryDelete('{outDir}/{trackName}.multiBed.bed'.format(trackName=trackName,outDir=outDir)) tryDelete('bed3Sources.as') print("Files successfully created:\n{outDir}/{trackName}.multiBed.bb\n{outDir}" + \ "/{trackName}.multiBedSources.tab\n\nPlace the files in their final " + \ "directory and add the following line to the top trackDb stanza" + \ ":".format(outDir=outDir,trackName=trackName)) - print("hideEmptySubtracks on $myPath/{trackName}.multiBed.bb $myPath/{trackName}" + \ - ".multiBedSources.tab".format(trackName=trackName)) + print("hideEmptySubtracks on\n" + \ + "hideEmptySubtracksMultiBedUrl $myPath/{trackName}.multiBed.bb\n" + \ + "hideEmptySubtracksSourcesUrl $myPath/{trackName}.multiBedSources.tab".format(trackName=trackName)) def main(): """ Initialized options and calls other functions. """ options = parseArgs() trackName = options.trackName trackDbRaFile = options.trackDbRaFile chromSizes = options.chromSizes outDir = options.outDir toolsPath = options.toolsPath subGroupsRemove = options.subGroupRemove metaDataVar = options.metaDataVar noDelete = options.noDelete