Commit 30642159 authored by Vidjil's avatar Vidjil
Browse files

sample_set.py: sort loci lexicographically

parent 7e143af3
......@@ -730,7 +730,7 @@ def getFusedStats(file_name, res, dest):
#dest['bool'] = False
#dest['bool_true'] = True
dest['loci'] = [x for x in data['reads']['germline'] if data['reads']['germline'][x][result_index] > 0]
dest['loci'] = sorted([x for x in data['reads']['germline'] if data['reads']['germline'][x][result_index] > 0])
dest['clones_five_percent'] = sum([data['reads']['distribution'][key][result_index] for key in data['reads']['distribution']])
return dest
......
Markdown is supported
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