Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Klinische Genetica
prinia
Commits
9cc41c4e
Commit
9cc41c4e
authored
Aug 14, 2017
by
Sander Bollen
Browse files
mode = w for python3
parent
498d3487
Changes
1
Hide whitespace changes
Inline
Side-by-side
prinia/utils.py
View file @
9cc41c4e
...
...
@@ -90,8 +90,8 @@ def generate_fastq_from_primers(primers, forward_path, reverse_path):
:param primers:
:return: 2-tuple of (path_R1, path_R2)
"""
forward_handle
=
open
(
forward_path
,
"w
b
"
)
reverse_handle
=
open
(
reverse_path
,
"w
b
"
)
forward_handle
=
open
(
forward_path
,
"w"
)
reverse_handle
=
open
(
reverse_path
,
"w"
)
seqs
=
[
primer_to_seq_record
(
x
)
for
x
in
primers
]
forwards
=
[
s
[
0
]
for
s
in
seqs
]
...
...
Write
Preview
Supports
Markdown
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