The main function of the module.

    These are the steps:

    1. Reads the population file (:py:func:`readPopulations`).
    2. Extract the MDS data (:py:func:`extractData`).
    3. Plots the MDS data (:py:func:`plotMDS`).

def main():
    """The main function of the module.

    These are the steps:

    1. Reads the population file (:py:func:`readPopulations`).
    2. Extract the MDS data (:py:func:`extractData`).
    3. Plots the MDS data (:py:func:`plotMDS`).

    """
    # Getting and checking the options
    args = parseArgs()
    checkArgs(args)

    # Reads the population file
    populations = readPopulations(args.population_file)

    # Acquire the data
    theData, theLabels = extractData(args.file, populations)
    theOrders = range(len(theLabels))
    theColors = [(0.215686275, 0.000494118, 0.721568627),
                 (0.301960784, 0.68627451, 0.290196078),
                 (0.596078431, 0.305882353, 0.639215686),
                 (0.894117647, 0.101960784, 0.109803922),
                 (0.596078431, 0.305882353, 0.639215686)]
    theSizes = [12, 12, 12, 8, 12]
    theMarkers = [".", ".", ".", "+", "D"]

    # Plot the data
    plotMDS(theData, theOrders, theLabels, theColors, theSizes, theMarkers,
            args)