Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
Upsampling
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Anne-Sophie Denommé-Pichon
Upsampling
Commits
7eb6714f
Commit
7eb6714f
authored
Jan 18, 2021
by
Anne-Sophie Denommé-Pichon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update format for paired-end
parent
c7dc120c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
fastq_upsampling.py
fastq_upsampling.py
+2
-4
No files found.
fastq_upsampling.py
View file @
7eb6714f
...
...
@@ -37,9 +37,7 @@ def upsample(upsampling_read_count, read_id):
if
x
>
max_x
:
max_x
=
x
y
=
int
(
title_line
.
split
(
':'
)[
5
])
if
y
>
max_y
:
max_y
=
y
y
=
str
(
title_line
.
split
(
':'
)[
5
])
if
title_line
==
read_id
:
title_line_str
=
title_line
...
...
@@ -51,7 +49,7 @@ def upsample(upsampling_read_count, read_id):
pass
for
i
in
range
(
1
,
upsampling_read_count
+
1
):
print
(
':'
.
join
(
title_line_str
.
split
(
':'
)[
0
:
2
]
+
[
str
(
max_lane
+
i
),
str
(
max_tile
+
i
),
str
(
max_x
+
i
),
str
(
max_y
+
i
)]))
print
(
':'
.
join
(
title_line_str
.
split
(
':'
)[
0
:
2
]
+
[
str
(
max_lane
+
i
),
str
(
max_tile
+
i
),
str
(
max_x
+
i
),
str
(
y
)]))
print
(
sequence_line_str
)
print
(
'+'
)
print
(
quality_line_str
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment