diff --git a/Release-notes.md b/Release-notes.md index d97a371..490670e 100644 --- a/Release-notes.md +++ b/Release-notes.md @@ -31,6 +31,11 @@ obidistribute --pattern "pcr_reads/sample_%s_R1.fastq" -c sample tagged_library_R1.fastq obidistribute --pattern "pcr_reads/sample_%s_R2.fastq" -c sample tagged_library_R2.fastq ``` +### Enhancement + +- Rename the `forward_mismatches` and `reverse_mismatches` from instanced by `obimutiplex` into + `forward_error` and `reverse_error` to be coherent with the tags instanced by `obipcr` + ### Corrected bugs - Correction of a bug in memory management and Slice recycling. diff --git a/pkg/obingslibrary/match.go b/pkg/obingslibrary/match.go index 0193101..dac3a92 100644 --- a/pkg/obingslibrary/match.go +++ b/pkg/obingslibrary/match.go @@ -269,13 +269,13 @@ func (match *DemultiplexMatch) ExtractBarcode(sequence *obiseq.BioSequence, inpl if match.ForwardMatch != "" { annot["forward_match"] = match.ForwardMatch - annot["forward_mismatches"] = match.ForwardMismatches + annot["forward_error"] = match.ForwardMismatches annot["forward_tag"] = match.ForwardTag } if match.ReverseMatch != "" { annot["reverse_match"] = match.ReverseMatch - annot["reverse_mismatches"] = match.ReverseMismatches + annot["reverse_error"] = match.ReverseMismatches annot["reverse_tag"] = match.ReverseTag }