Commit cfab26ee authored by Anne-Sophie Denommé-Pichon's avatar Anne-Sophie Denommé-Pichon

Merge branch 'old'

Conflicts: fastq_upsampling.py
parents 9514e3ce 154ba461
...@@ -25,19 +25,19 @@ def upsample(upsampling_read_count, read_id): ...@@ -25,19 +25,19 @@ def upsample(upsampling_read_count, read_id):
print(plus_line) print(plus_line)
print(quality_line) print(quality_line)
lane = int(title_line.split(':')[2]) lane = int(title_line.split(':')[-4])
if lane > max_lane: if lane > max_lane:
max_lane = lane max_lane = lane
tile = int(title_line.split(':')[3]) tile = int(title_line.split(':')[-3])
if tile > max_tile: if tile > max_tile:
max_tile = tile max_tile = tile
x = int(title_line.split(':')[4]) x = int(title_line.split(':')[-2])
if x > max_x: if x > max_x:
max_x = x max_x = x
y = str(title_line.split(':')[5]) y = str(title_line.split(':')[-1])
if title_line == read_id: if title_line == read_id:
title_line_str = title_line title_line_str = title_line
......
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