def star_stats_table(self):
        """ Take the parsed stats from the STAR report and add them to the
        basic stats table at the top of the report """

        headers = OrderedDict()
        headers['uniquely_mapped_percent'] = {
            'title': '% Aligned',
            'description': '% Uniquely mapped reads',
            'max': 100,
            'min': 0,
            'suffix': '%',
            'scale': 'YlGn'
        }
        headers['uniquely_mapped'] = {
            'title': '{} Aligned'.format(config.read_count_prefix),
            'description': 'Uniquely mapped reads ({})'.format(config.read_count_desc),
            'min': 0,
            'scale': 'PuRd',
            'modify': lambda x: x * config.read_count_multiplier,
            'shared_key': 'read_count'
        }
        self.general_stats_addcols(self.star_data, headers)
def star_stats_table ( self ) : headers = OrderedDict ( ) headers [ 'uniquely_mapped_percent' ] = { 'title' : '% Aligned' , 'description' : '% Uniquely mapped reads' , 'max' : 100 , 'min' : 0 , 'suffix' : '%' , 'scale' : 'YlGn' } headers [ 'uniquely_mapped' ] = { 'title' : '{} Aligned' . format ( config . read_count_prefix ) , 'description' : 'Uniquely mapped reads ({})' . format ( config . read_count_desc ) , 'min' : 0 , 'scale' : 'PuRd' , 'modify' : lambda x : x * config . read_count_multiplier , 'shared_key' : 'read_count' } self . general_stats_addcols ( self . star_data , headers )
Take the parsed stats from the STAR report and add them to the
        basic stats table at the top of the report