Skip to content
GitLab
Menu
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
e6918bd2
Commit
e6918bd2
authored
Jul 28, 2016
by
Mathieu Giraud
Browse files
vidjil.cpp, tests: json output, do not output 'quality' when there is no quality
parent
353497b7
Changes
2
Hide whitespace changes
Inline
Side-by-side
algo/tests/should-get-tests/stanford-json.should-get
View file @
e6918bd2
...
...
@@ -13,6 +13,9 @@ $ Most abundant window
$ Affect values are over all the sequence
1: "affectValues": .[^}]*"start": 1, "stop": 128
$ No quality information here
0: "quality"
$ Segmentation
1:"name": "IGHV3-23.05 6/ACCCGGGAGGAACAATAT/9 IGHD6-13.01 0//5 IGHJ4.02"
...
...
algo/vidjil.cpp
View file @
e6918bd2
...
...
@@ -1356,6 +1356,8 @@ int main (int argc, char **argv)
json_clone
[
"_coverage_info"
]
=
{
repComp
.
getCoverageInfo
()};
//From KmerMultiSegmenter
json_clone
[
"seg"
]
=
kseg
->
toJson
();
if
(
repComp
.
getQuality
().
length
())
json_clone
[
"seg"
][
"quality"
]
=
{
{
"start"
,
1
},
{
"stop"
,
kseg
->
getSequence
().
sequence
.
length
()},
...
...
Write
Preview
Supports
Markdown
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