Commit be6de690 authored by Schoorlemmer, Joran's avatar Schoorlemmer, Joran
Browse files

Replace extractcounts.py

parent a1b9c487
......@@ -52,8 +52,7 @@ def group_replicates(sample_names):
for f in f_names:
f = f.strip("\n")
# strip redundant info out of string
fn = f[:-4].split('-')
rep_dict_key = fn[1][0:3]+ fn[1][4:]
rep_dict_key = f[9:-12]
if not rep_dict_key in rep_dict:
rep_dict[rep_dict_key] = {}
rep_dict[rep_dict_key][f] = parse_gtf('samples/'+ str(f))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment