class_docstr: Basic tests for the wrapped SSW aligner.
class_docstr_tok: ["Basic","tests","for","the","wrapped","SSW","aligner","."]
docstr: Tests the Align method, reversing query and ref from above.
docstr_tok: ["Tests","the","Align","method",",","reversing","query","and","ref","from","above","."]
code: def test_Align2_reversed(self):
      """Tests the Align method, reversing query and ref from above."""
      aligner = ssw.Aligner()
      filter_ = ssw.Filter()
      aligner.set_reference_sequence(QUERY)
      alignment = aligner.align(REF, filter_)
      self.assertEqual(21, alignment.sw_score)
      self.assertEqual(8, alignment.query_begin)
      self.assertEqual(21, alignment.query_end)
      self.assertEqual(0, alignment.ref_begin)
      self.assertEqual(14, alignment.ref_end)
      self.assertEqual(2, alignment.mismatches)
      self.assertEqual(b"8S4=1X4=1D5=17S", alignment.cigar_string)
  
imports: from absl.testing import absltest
  from deepvariant.realigner.python import ssw
label_desc: Use image node_id 2 for calling the SswWrapTest obj's underlying member method code with example usage: obj.test_Align2_reversed() without return types