Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
hub-courses
python_one_week_4_biologists_solutions
Commits
350783e0
Commit
350783e0
authored
Feb 18, 2016
by
Bertrand Néron
Browse files
remove '>' from sequence id
parent
960cb6de
Changes
1
Hide whitespace changes
Inline
Side-by-side
source/_static/code/fasta_object.py
View file @
350783e0
...
...
@@ -23,7 +23,7 @@ class FastaParser(object):
:type line: string
"""
header
=
line
.
split
()
self
.
_current_id
=
header
[
0
]
self
.
_current_id
=
header
[
0
]
[
1
:]
self
.
_current_comment
=
' '
.
join
(
header
[
1
:])
self
.
_current_sequence
=
''
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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