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