Mercurial > repos > trinity_ctat > align_and_estimate_abundance
comparison trinityToolWrapper.py @ 15:c76d9b3e67b2 draft
Adding EdgeR differential expression.
author | trinity_ctat |
---|---|
date | Fri, 29 Sep 2017 13:45:17 -0400 |
parents | 2e0e45063fad |
children |
comparison
equal
deleted
inserted
replaced
14:6e1eb00bfa53 | 15:c76d9b3e67b2 |
---|---|
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("/") |