INNER CODE UNIT · Python
main
torognes/swarm · scripts/graph_plot.py:192
def main():
"""
Backbone of the script
"""
# Parse command line options.
swarms, internal_structure, cluster, drop = option_parse()
# Output file
basename = os.path.splitext(swarms)[0]
output_pdf = basename + "_cluster_" + str(cluster) + ".pdf"
# output_svg = basename + "_cluster_" + str(cluster) + ".svg"
output_graphml = basename + "_cluster_" + str(cluster) + ".graphml"
# Collect data
amplicons, relations = parse_files(swarms,
internal_structure,
cluster,
drop)