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

Replace extractcounts.py

parent ebf51f1f
......@@ -53,7 +53,7 @@ def group_replicates(sample_names):
f = f.strip("\n")
# strip redundant info out of string
fn = f[:-4].split('-')
rep_dict_key = fn[0] + fn[1][0:3]+ fn[1][4:]
rep_dict_key = fn[1][0:3]+ fn[1][4:]
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