Commit dbcc1592 authored by Marc Duez's avatar Marc Duez

vidjil.cpp : output > remove old germline field

remove cluster with only one clone
parent adad65ef
......@@ -404,15 +404,17 @@ JsonArray comp_matrix::toJson(list<list<junction> > clusterList)
for (list <list <string> >::iterator it = clusterList.begin();
it != clusterList.end(); ++it )
{
JsonArray cluster;
list<string> li=*it;
for (list<string>::iterator it2 = li.begin();
it2 != li.end(); ++it2 )
{
cluster.add(*it2);
if (li.size() > 1 ){
JsonArray cluster;
for (list<string>::iterator it2 = li.begin();
it2 != li.end(); ++it2 )
{
cluster.add(*it2);
}
result.add(cluster);
}
result.add(cluster);
}
return result;
......
......@@ -1275,7 +1275,6 @@ int main (int argc, char **argv)
json->add("vidjil_json_version", VIDJIL_JSON_VERSION);
json->add("samples", *json_samples);
json->add("reads", *json_reads);
json->add("germline", germline_system);
json->add("clones", jsonSortedWindows);
if (epsilon || forced_edges.size()){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment