Commit 4ed2c4b0 authored by maxime mano's avatar maxime mano
Browse files

change reads to subreads for barcode results

parent dc8c1d00
......@@ -280,12 +280,12 @@ class RS_Subreads (Analysis):
if group not in metrics2 :
metrics2.append(group)
self._add_result_element("metrics2", "headers", ','.join(['Reads', 'Bases']), group)
self._add_result_element("metrics2", "headers", ','.join(['SubReads', 'Bases']), group)
stats = self.parse_barcode_report_json(jsonfile)
barcode_sample = []
for i,barcode in enumerate(stats['Barcode Name']):
barcode_sample.append(barcode)
self._add_result_element(sample, 'Reads', stats['Reads'][i] , barcode)
self._add_result_element(sample, 'SubReads', stats['SubReads'][i] , barcode)
self._add_result_element(sample, 'Bases', stats['Bases'][i] , barcode)
self._add_result_element("metrics2", "barcode_sample", ','.join(barcode_sample), group)
......
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