code: def cutadapt_length_trimmed_plot (self):
          
  
          description = 'This plot shows the number of reads with certain lengths of adapter trimmed. \n\
          Obs/Exp shows the raw counts divided by the number expected due to sequencing errors. A defined peak \n\
          may be related to adapter length. See the \n\
          <a href="http://cutadapt.readthedocs.org/en/latest/guide.html#how-to-read-the-report" target="_blank">cutadapt documentation</a> \n\
          for more information on how these numbers are generated.'
  
          pconfig = {
              'id': 'cutadapt_plot',
              'title': 'Cutadapt: Lengths of Trimmed Sequences',
              'ylab': 'Counts',
              'xlab': 'Length Trimmed (bp)',
              'xDecimals': False,
              'ymin': 0,
              'tt_label': '<b>{point.x} bp trimmed</b>: {point.y:.0f}',
              'data_labels': [{'name': 'Counts', 'ylab': 'Count'},
                              {'name': 'Obs/Exp', 'ylab': 'Observed / Expected'}]
          }
  
          self.add_section(
              description = description,
              plot = linegraph.plot([self.cutadapt_length_counts, self.cutadapt_length_obsexp], pconfig)
          )
docs: Generate the trimming length plot