INNER CODE UNIT · Python

option_parse

torognes/swarm · scripts/graph_plot.py:26

def option_parse():
    """
    Parse arguments from command line.
    """
    desc = """Visualize the internal structure of a given cluster."""

    OptionParser.format_epilog = lambda self, formatter: self.epilog

    parser = OptionParser(usage="usage: %prog -s FILE -i FILE [-o INT -d INT]",
                          description=desc,
                          version="%prog version 4.2",
                          epilog=textwrap.dedent("""\

                          Usage example:

                          swarm \\
                              project.fasta \\
                              --output project.swarms \\

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…