Hello!
To see the file structure, click on "tree".
Note that updates take place every 10 minutes, commits may not be seen immediately.
projects
/
old-jaiswallab-svn
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16b18ea
)
now generates optional reactome projection output files
author
preecej
<preecej@localhost>
Wed, 2 Apr 2014 20:40:17 +0000
(20:40 +0000)
committer
preecej
<preecej@localhost>
Wed, 2 Apr 2014 20:40:17 +0000
(20:40 +0000)
svn path=/; revision=567
Personnel/preecej/python_singletons/incomparanoid.py
patch
|
blob
|
history
diff --git
a/Personnel/preecej/python_singletons/incomparanoid.py
b/Personnel/preecej/python_singletons/incomparanoid.py
index 18576a6deb7d7f8252504383cf0330a58f82afe6..256b40d7b0f3f2a5efd2922c3f2f4edd07992f1d 100755
(executable)
--- a/
Personnel/preecej/python_singletons/incomparanoid.py
+++ b/
Personnel/preecej/python_singletons/incomparanoid.py
@@
-286,7
+286,7
@@
def write_reactome_files(dict_map, reactome_gene_protein_path, reactome_projecti
REACTOME_GENE_PROTEIN_OUT_FILE = open(reactome_gene_protein_path,'w')
REACTOME_PROJECTION_OUT_FILE = open(reactome_projection_path,'w')
for k, v_list in sorted(dict_map.iteritems()) :
- REACTOME_PROJECTION_OUT_FILE.write(k + "\t" + " ".join(
v_list
) + "\n")
+ REACTOME_PROJECTION_OUT_FILE.write(k + "\t" + " ".join(
map(lambda x: x.replace(x, (projection_prefix if projection_prefix else "") + x), v_list)
) + "\n")
for v in v_list :
if v not in val_set :
val_set.add(v)