code: def add_barplot(self):
          
          cats = OrderedDict()
          cats['n_nondups'] = {'name': 'Non-duplicates'}
          cats['n_dups'] = {'name': 'Duplicates'}
  
          pconfig = {
              'id': 'samblaster_duplicates',
              'title': 'Samblaster: Number of duplicate reads',
              'ylab': 'Number of reads'
          }
          self.add_section( plot = bargraph.plot(self.samblaster_data, cats, pconfig) )
docs: Generate the Samblaster bar plot.