def METHOD_NAME(self):
    def check_plink_gemma():
        if flat_file_exists("mapping"):
            MAPPING_PATH = flat_files("mapping") + "/"
            if os.path.isfile(MAPPING_PATH + self.name + ".bed"):
                return True
        return False
    if check_plink_gemma():
        marker_class = HumanMarkers
    else:
        marker_class = Markers
    if self.genofile:
        self.markers = marker_class(self.genofile[:-5])
    else:
        self.markers = marker_class(self.name)