Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sumalibs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
4
Issues
4
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OBITools
sumalibs
Commits
9f08b85e
Commit
9f08b85e
authored
5 years ago
by
Celine Mercier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Optimised sequence parsing (from previous commit)
parent
d7cd7e26
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
libfasta/sequence.c
libfasta/sequence.c
+2
-2
No files found.
libfasta/sequence.c
View file @
9f08b85e
...
...
@@ -174,8 +174,8 @@ void seq_fillSeqOnlyATGC(char *seq, fastaSeqPtr seqElem, int seqLen)
c
=
seq
[
index
++
];
if
(
strchr
(
seqAlphabets
,
c
)
!=
NULL
)
seqTemp
[
seqIndex
++
]
=
tolower
(
c
);
else
if
(
(
c
==
'\n'
)
&&
(
seq
[
index
+
1
]
==
'\0'
)
)
goOnParsing
=
0
;
//
End of line character terminating
the sequence has been reached.
else
if
(
seq
[
index
+
1
]
==
'\0'
)
goOnParsing
=
0
;
//
end of
the sequence has been reached.
else
if
(
c
!=
'\n'
)
notAllATGC
=
1
;
if
(
index
==
len
)
...
...
This diff is collapsed.
Click to expand it.
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