def METHOD_NAME(self):
    # Clean sample name from 'markdup_sample_1' to 'sample_1'
    # Find and load sambamba logs to markdup_data.
    # Regex for key phrases and calculate duplicate rate.
    # Detect if sample is single or paired-end reads. Process differently.
    # Give user warning if redundant samples are found.
    self.markdup_data = dict()
    for f in self.find_log_files("sambamba/markdup"):
        if f["s_name"] in self.markdup_data:
            log.debug("Duplicate sample name found in {}! Overwriting: {}".format(f["fn"], f["s_name"]))
        # parse sambamba output by sample name
        parsed = self.parse_markdup_stats(f)
        if parsed is not None:
            self.markdup_data[f["s_name"]] = parsed
        # filter away samples if MultiQC user does not want them
        self.markdup_data = self.ignore_samples(self.markdup_data)
        # add results to multiqc_sources.txt
        self.add_data_source(f)
        # warn user if duplicate samples found
        if f["s_name"] in self.markdup_data:
            log.debug("Duplicate sample name found! Overwriting: {}".format(f["s_name"]))
    if len(self.markdup_data) == 0:
        return 0
    # Write parsed files to a file
    self.write_data_file(self.markdup_data, "multiqc_markdup", sort_cols=True)
    # Add sambamba markdup to general statistics table
    self.markdup_general_stats_table()
    # Add sambamba markdup bargraph section
    self.markdup_section()
    # return the length of log files parsed
    return len(self.markdup_data)