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
b59a820d
Commit
b59a820d
authored
Jun 29, 2016
by
Mikaël Salson
Browse files
vidjil.cpp: Use new version of index creation.
Makes it ready to support a parameter to choose the index.
parent
167a3575
Changes
1
Hide whitespace changes
Inline
Side-by-side
algo/vidjil.cpp
View file @
b59a820d
...
...
@@ -331,6 +331,8 @@ int main (int argc, char **argv)
int
k
=
DEFAULT_K
;
int
w
=
DEFAULT_W
;
IndexTypes
indexType
=
AC_AUTOMATON
;
int
epsilon
=
DEFAULT_EPSILON
;
int
minPts
=
DEFAULT_MINPTS
;
Cost
cluster_cost
=
DEFAULT_CLUSTER_COST
;
...
...
@@ -860,7 +862,7 @@ int main (int argc, char **argv)
multi_germline_paths_and_files
.
push_back
(
make_pair
(
DEFAULT_MULTI_GERMLINE_PATH
,
DEFAULT_MULTI_GERMLINE_FILE
));
}
MultiGermline
*
multigermline
=
new
MultiGermline
(
multi_germline_one_index_per_germline
);
MultiGermline
*
multigermline
=
new
MultiGermline
(
indexType
,
multi_germline_one_index_per_germline
);
{
cout
<<
"Load germlines and build Kmer indexes"
<<
endl
;
...
...
@@ -878,7 +880,7 @@ int main (int argc, char **argv)
f_reps_V
,
f_reps_D
,
f_reps_J
,
delta_min
,
seed
,
trim_sequences
);
germline
->
new_index
();
germline
->
new_index
(
indexType
);
multigermline
->
insert
(
germline
);
}
...
...
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