def fastp_read_n_plot(self):
        """ Make the read N content plot for Fastp """
        data_labels, pdata = self.filter_pconfig_pdata_subplots(self.fastp_n_content_data, 'Base Content Percent')
        pconfig = {
            'id': 'fastp-seq-content-n-plot',
            'title': 'Fastp: Read N Content',
            'xlab': 'Read Position',
            'ylab': 'R1 Before filtering: Base Content Percent',
            'yCeiling': 100,
            'yMinRange': 5,
            'ymin': 0,
            'xDecimals': False,
            'yLabelFormat': '{value}%',
            'tt_label': '{point.x}: {point.y:.2f}%',
            'data_labels': data_labels
        }
        return linegraph.plot(pdata, pconfig)
def fastp_read_n_plot ( self ) : data_labels , pdata = self . filter_pconfig_pdata_subplots ( self . fastp_n_content_data , 'Base Content Percent' ) pconfig = { 'id' : 'fastp-seq-content-n-plot' , 'title' : 'Fastp: Read N Content' , 'xlab' : 'Read Position' , 'ylab' : 'R1 Before filtering: Base Content Percent' , 'yCeiling' : 100 , 'yMinRange' : 5 , 'ymin' : 0 , 'xDecimals' : False , 'yLabelFormat' : '{value}%' , 'tt_label' : '{point.x}: {point.y:.2f}%' , 'data_labels' : data_labels } return linegraph . plot ( pdata , pconfig )
Make the read N content plot for Fastp