message: feat: add warning to errors.csv when sequence gets reverse-complemented
diff: @@ -9,6 +9,7 @@ use crate::utils::error::report_to_string;
  use eyre::Report;
  use itertools::{Either, Itertools};
  use std::collections::HashSet;
  +use std::fmt::format;
  pub fn nextalign_run_one(
  index: usize,
  @@ -36,7 +37,7 @@ pub fn nextalign_run_one(
  let stripped = insertions_strip(&alignment.qry_seq, &alignment.ref_seq);
  - let (translations, warnings): (Vec<Translation>, Vec<PeptideWarning>) =
  + let (translations, mut warnings): (Vec<Translation>, Vec<PeptideWarning>) =
  translations.into_iter().partition_map(|(gene_name, res)| match res {
  Ok(tr) => Either::Left(tr),
  Err(err) => Either::Right(PeptideWarning {
  @@ -55,6 +56,13 @@ pub fn nextalign_run_one(
  let is_reverse_complement = alignment.is_reverse_complement;
  + if is_reverse_complement {
  + warnings.push(PeptideWarning {
  + gene_name: "nuc".to_owned(),
  + warning: format!("When processing sequence #{index} '{seq_name}': Sequence is reverse-complemented: Seed matching failed for the original sequence, but succeeded for its reverse complement. Outputs will be derived from the reverse complement and 'reverse complement' suffix will be added to sequence ID.")
  + });
  + }
  +
  Ok(NextalignOutputs {
  stripped,
  alignment,
  