Rename forward and reverse mitmatches tags

Former-commit-id: faa0f41bf725da3c416326572cc90701704092da
This commit is contained in:
2023-04-18 12:08:13 +02:00
parent 9bac7f387a
commit 450e54f4aa
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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
}