Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
a15f0a91
Commit
a15f0a91
authored
Jan 30, 2015
by
Mathieu Giraud
Browse files
germline.cpp: mark_cross_germlines_as_ambiguous(), skip germlines on a same system
Such as TRD/TRD+
parent
7c07b74e
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/core/germline.cpp
View file @
a15f0a91
#include "germline.h"
#include "germline.h"
#include <ctype.h>
void
Germline
::
init
(
string
_code
,
char
_shortcut
,
void
Germline
::
init
(
string
_code
,
char
_shortcut
,
int
_delta_min
,
int
_delta_max
)
int
_delta_min
,
int
_delta_max
)
...
@@ -277,6 +278,10 @@ void MultiGermline::mark_cross_germlines_as_ambiguous()
...
@@ -277,6 +278,10 @@ void MultiGermline::mark_cross_germlines_as_ambiguous()
if
(
germline2
==
germline
)
if
(
germline2
==
germline
)
continue
;
continue
;
// Skip germlines on a same system, such as 'D' (TRD) and 'd' (TRD+)
if
(
toupper
(
germline2
->
shortcut
)
==
toupper
(
germline
->
shortcut
))
continue
;
germline
->
mark_as_ambiguous
(
germline2
);
germline
->
mark_as_ambiguous
(
germline2
);
}
}
...
...
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