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
44203108
Commit
44203108
authored
Mar 25, 2021
by
Mathieu Giraud
Browse files
vidjil.cpp, core/{filter,similarityMatrix,windowExtractor}.cpp: 'right' before 'setw'
parent
5653d9a0
Pipeline
#229745
passed with stages
in 36 minutes and 46 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
algo/core/filter.cpp
View file @
44203108
...
...
@@ -182,7 +182,8 @@ ostream &operator<<(ostream &out, const FilterWithACAutomaton& obj){
int
total_sequences_origin
=
total_filtered_calls
*
origin_bioreader_size
;
float
aligned_rate
=
((
float
)
total_sequences_filtered
/
(
float
)
total_sequences_origin
)
*
100
;
out
<<
fixed
<<
setw
(
8
)
<<
total_sequences_filtered
<<
"/"
out
<<
right
<<
fixed
<<
setw
(
8
)
<<
total_sequences_filtered
<<
"/"
<<
fixed
<<
setw
(
8
)
<<
total_sequences_origin
<<
" "
<<
fixed
<<
setprecision
(
1
)
<<
setw
(
6
)
<<
aligned_rate
<<
"%"
<<
endl
;
...
...
algo/core/similarityMatrix.cpp
View file @
44203108
...
...
@@ -118,6 +118,7 @@ JsonOutputWindowsMatrix::JsonOutputWindowsMatrix(SimilarityMatrix &m, float sim,
ostream
&
operator
<<
(
ostream
&
out
,
const
RawOutputSimilarityMatrix
&
outputMatrix
)
{
SimilarityMatrix
&
matrix
=
outputMatrix
.
matrix
;
out
<<
right
;
out
<<
" | "
;
for
(
int
num
=
0
;
num
<
matrix
.
size
();
num
++
)
...
...
algo/core/windowExtractor.cpp
View file @
44203108
...
...
@@ -126,7 +126,9 @@ WindowsStorage *WindowExtractor::extract(OnlineBioReader *reads,
cout
<<
"."
;
if
(
!
(
nb_reads
%
(
PROGRESS_POINT
*
PROGRESS_LINE
)))
cout
<<
setw
(
10
)
<<
nb_reads
/
1000
<<
"k reads "
<<
fixed
<<
setprecision
(
2
)
<<
setw
(
14
)
<<
bp_total
/
1E6
<<
" Mbp"
<<
endl
;
cout
<<
right
<<
setw
(
10
)
<<
nb_reads
/
1000
<<
"k reads "
<<
fixed
<<
setprecision
(
2
)
<<
setw
(
14
)
<<
bp_total
/
1E6
<<
" Mbp"
<<
endl
;
cout
.
flush
()
;
}
...
...
algo/vidjil.cpp
View file @
44203108
...
...
@@ -1458,7 +1458,7 @@ int main (int argc, char **argv)
{
cout
<<
"."
;
if
(
!
(
num_clone
%
(
PROGRESS_POINT_CLONES
*
PROGRESS_LINE
)))
cout
<<
setw
(
10
)
<<
num_clone
/
1000
<<
"k clones "
<<
endl
;
cout
<<
right
<<
setw
(
10
)
<<
num_clone
/
1000
<<
"k clones "
<<
endl
;
cout
.
flush
()
;
}
}
...
...
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