comparison trinityToolWrapper.py @ 8:f7a95f936503 draft

Adding EdgeR differential expression.
author trinity_ctat
date Fri, 29 Sep 2017 13:44:24 -0400
parents e4876b8c81ec
children
comparison
equal deleted inserted replaced
7:deed5e162203 8:f7a95f936503
50 # print "The new path is: {:s}".format(TrinityPath) 50 # print "The new path is: {:s}".format(TrinityPath)
51 # Take off the last part of the path (which is the Trinity command) 51 # Take off the last part of the path (which is the Trinity command)
52 TRINITY_BASE_DIR = "/".join(TrinityPath.split("/")[0:-1]) 52 TRINITY_BASE_DIR = "/".join(TrinityPath.split("/")[0:-1])
53 else: 53 else:
54 sys.stderr.write("Either set TRINITY_HOME to the trinity base directory, or ensure that directory is in the PATH before running.") 54 sys.stderr.write("Either set TRINITY_HOME to the trinity base directory, or ensure that directory is in the PATH before running.")
55 sys.exit() 55 sys.exit(1)
56 56
57 57
58 # get bindir 58 # get bindir
59 bindir = sys.argv[0] 59 bindir = sys.argv[0]
60 bindir = bindir.split("/") 60 bindir = bindir.split("/")