Mercurial > repos > jowong > prince_galaxy
comparison prince_postprocess.py @ 9:5b816b501285 draft default tip
planemo upload
author | jowong |
---|---|
date | Mon, 26 Nov 2018 02:13:58 -0500 |
parents | 63f3743c2ae4 |
children |
comparison
equal
deleted
inserted
replaced
8:63f3743c2ae4 | 9:5b816b501285 |
---|---|
21 sample_dict={} | 21 sample_dict={} |
22 path_index = 0 | 22 path_index = 0 |
23 for path in args.file: | 23 for path in args.file: |
24 with open(path) as f: | 24 with open(path) as f: |
25 for line in f: | 25 for line in f: |
26 sample_dict[re.sub(".*/","",line)] = sample[path_index] | 26 sample_dict[re.sub(".*/","",line.rstrip())] = args.sample[path_index] |
27 path_index += 1 | 27 path_index += 1 |
28 | 28 |
29 | 29 |
30 | 30 |
31 | 31 |