docs: def add_alignment_data(self, section, sam, sequence):
          """ Add the SAM and Fasta alignment data for a section.
          
          :param section: Can be 'template', 'complement', or '2d'.
          :param sam: A string containing the SAM contents.
          :param sequence: A string containing the section of the
              reference the basecall aligned to.
          """
          subgroup = 'Aligned_{}'.format(section)
          if not subgroup in self.handle.handle['Analyses/{}'.format(self.group_name)]:
              self.handle.add_analysis_subgroup(self.group_name, subgroup)
          sam_arr = np.array(sam, dtype=str)
          self.handle.add_analysis_dataset('{}/{}'.format(self.group_name, subgroup), 'SAM', sam_arr)
          fasta_arr = np.array('>{}\n{}\n'.format(section, sequence), dtype=str)
          self.handle.add_analysis_dataset('{}/{}'.format(self.group_name, subgroup), 'Fasta', fasta_arr)