diff options
Diffstat (limited to 'Code/buildRmatrix.py')
-rw-r--r-- | Code/buildRmatrix.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Code/buildRmatrix.py b/Code/buildRmatrix.py index 8c7a17f..0dfc569 100644 --- a/Code/buildRmatrix.py +++ b/Code/buildRmatrix.py @@ -71,6 +71,10 @@ def make_expression_dict(fname, myid): else:
d['isoform'][common].append(tpm)
+ # make the dictionary smaller, so it requires less memory. Cut from 7.4G to 6.9G for 930 TPM files.
+ for g in d['isoform']:
+ d['isoform'][g] = [get_max_expressed_isoform(g, d)]
+
return d
|