bgc_networks.py is the main python file. It imports functions from the functions.py and munkres.py scripts.
The munkres.py script implements the Hungarian algorithm which is used to select the most similar PFAM domains in the sequence distance modification part of the DDS distance metric.