mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 00:30:27 +00:00
Small change in consensus weight
Former-commit-id: 58bcc67044b82e4e1d9e0e52be336ae02ab248e9
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user