diff --git a/pkg/obioptions/version.go b/pkg/obioptions/version.go index fc4adbc..3594970 100644 --- a/pkg/obioptions/version.go +++ b/pkg/obioptions/version.go @@ -7,7 +7,7 @@ import ( // TODO: The version number is extracted from git. This induces that the version // corresponds to the last commit, and not the one when the file will be // commited -var _Commit = "efad98d" +var _Commit = "1cf2768" var _Version = "Release 4.2.0" // Version returns the version of the obitools package. diff --git a/pkg/obitools/obiconsensus/obiconsensus.go b/pkg/obitools/obiconsensus/obiconsensus.go index 54f09f7..1b5b703 100644 --- a/pkg/obitools/obiconsensus/obiconsensus.go +++ b/pkg/obitools/obiconsensus/obiconsensus.go @@ -108,6 +108,8 @@ func BuildConsensus(seqs obiseq.BioSequenceSlice, sumCount += s.Count() } + log.Warnf("sumCount : %d", sumCount) + seq.SetCount(sumCount) seq.SetAttribute("seq_length", seq.Len()) seq.SetAttribute("kmer_size", kmer_size) @@ -288,7 +290,7 @@ func MinionDenoise(graph *obigraph.Graph[*obiseq.BioSequence, Mutation], clean.SetAttribute("obiminion_consensus", false) } - clean.SetCount(int(graph.VertexWeight(i))) + // clean.SetCount(int(graph.VertexWeight(i))) clean.SetAttribute(sample_key, graph.Name) denoised[i] = clean