Several bugs dicoverd during the doc writing

This commit is contained in:
Eric Coissac
2025-04-04 16:59:27 +02:00
parent 03b5ce9397
commit 7542e33010
6 changed files with 38 additions and 11 deletions

View File

@ -8,7 +8,7 @@ import (
// corresponds to the last commit, and not the one when the file will be
// commited
var _Commit = "2d52322"
var _Commit = "03b5ce9"
var _Version = "Release 4.4.0"
// Version returns the version of the obitools package.

View File

@ -223,7 +223,7 @@ func CLISequenceCountPredicate() obiseq.SequencePredicate {
return p
}
if _MaximumLength != int(2e9) {
if _MaximumCount != int(2e9) {
return obiseq.IsLessAbundantOrEqualTo(_MaximumCount)
}

View File

@ -137,9 +137,9 @@ func AssemblePESequences(seqA, seqB *obiseq.BioSequence,
annot := cons.Annotations()
if fastAlign {
annot["paring_fast_count"] = fastcount
annot["paring_fast_score"] = math.Round(fastscore*1000) / 1000
annot["paring_fast_overlap"] = over
annot["pairing_fast_count"] = fastcount
annot["pairing_fast_score"] = math.Round(fastscore*1000) / 1000
annot["pairing_fast_overlap"] = over
}
if aliLength >= minOverlap && identity >= minIdentity {

View File

@ -165,3 +165,7 @@ func CLIExtractTaxonomy() bool {
func CLIAsNewick() bool {
return __newick__
}
func CLIAskForRankList() bool {
return __rank_list__
}