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
vidjil
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1,711
Issues
1,711
List
Boards
Labels
Service Desk
Milestones
Merge Requests
86
Merge Requests
86
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vidjil
vidjil
Commits
a2898925
Commit
a2898925
authored
Apr 08, 2019
by
Mathieu Giraud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core/representative.h, vidjil.cpp: RandomScore by default
see
#3866
parent
ed299a22
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
algo/core/representative.h
algo/core/representative.h
+1
-1
algo/vidjil.cpp
algo/vidjil.cpp
+5
-5
No files found.
algo/core/representative.h
View file @
a2898925
...
...
@@ -14,7 +14,7 @@ using namespace std;
#define THRESHOLD_BAD_COVERAGE .5
/* Threshold below which the representatie
coverage is considered bad */
static
R
eadQuality
Score
DEFAULT_READ_SCORE
;
static
R
andom
Score
DEFAULT_READ_SCORE
;
/**
* Compute a representative sequence from a list of sequences.
...
...
algo/vidjil.cpp
View file @
a2898925
...
...
@@ -471,12 +471,12 @@ int main (int argc, char **argv)
->
group
(
group
);
VirtualReadScore
*
readScorer
=
&
DEFAULT_READ_SCORE
;
R
andomScore
random
Score
;
app
.
add_flag_function
(
"--consensus-on-
random-sample
"
,
[
&
readScorer
,
&
r
andom
Score
](
size_t
n
)
{
R
eadQualityScore
readQuality
Score
;
app
.
add_flag_function
(
"--consensus-on-
longest-sequences
"
,
[
&
readScorer
,
&
r
eadQuality
Score
](
size_t
n
)
{
UNUSED
(
n
);
readScorer
=
&
r
andom
Score
;
},
"for large clones, use a
random sample of reads to compute the consensus sequence (instead of a sample of the longest and highest quality reads
)"
)
readScorer
=
&
r
eadQuality
Score
;
},
"for large clones, use a
sample of the longest and highest quality reads to compute the consensus sequence (instead of a random sample
)"
)
->
group
(
group
)
->
level
();
// ----------------------------------------------------------------------------------------------------------------------
...
...
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