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
vidjil
vidjil
Commits
dfdc129e
Commit
dfdc129e
authored
Nov 22, 2014
by
Mathieu Giraud
Browse files
core/affectanalyser.cpp: << for affect_infos
parent
0c3599c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
algo/core/affectanalyser.cpp
View file @
dfdc129e
...
...
@@ -12,6 +12,18 @@ bool operator==(const affect_infos &ai1, const affect_infos &ai2) {
}
ostream
&
operator
<<
(
ostream
&
out
,
const
affect_infos
&
a
)
{
out
<<
"$ "
;
out
<<
"found "
<<
a
.
max_found
<<
", "
;
out
<<
"value "
<<
a
.
max_value
<<
", "
;
out
<<
"pos "
<<
a
.
first_pos_max
<<
"-"
<<
a
.
last_pos_max
<<
", "
;
out
<<
"before "
<<
a
.
nb_before_left
<<
"/"
<<
a
.
nb_before_right
<<
", "
;
out
<<
"after "
<<
a
.
nb_after_left
<<
"/"
<<
a
.
nb_after_right
;
out
<<
endl
;
return
out
;
}
KmerAffectAnalyser
::
KmerAffectAnalyser
(
IKmerStore
<
KmerAffect
>
&
kms
,
...
...
algo/core/affectanalyser.h
View file @
dfdc129e
...
...
@@ -31,6 +31,7 @@ typedef struct affect_infos_s {
}
affect_infos
;
bool
operator
==
(
const
affect_infos
&
ai1
,
const
affect_infos
&
ai2
);
ostream
&
operator
<<
(
ostream
&
out
,
const
affect_infos
&
a
);
/**
* Class that records for every k-mer of a given 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