Changeset 614
- Timestamp:
- 09/11/16 22:45:46 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
mds-and-trees/tree-genealogy.py
r594 r614 422 422 svg_mutation_line_style, svg_crossover_line_style 423 423 424 parser = argparse.ArgumentParser(description=' Process some integers.')424 parser = argparse.ArgumentParser(description='Draws a genealogical tree (generates a SVG file) based on parent-child relationship information from a text file. Supports with files generated by Framsticks experiments.') 425 425 parser.add_argument('-i', '--in', dest='input', required=True, help='input file with stuctured evolutionary data') 426 426 parser.add_argument('-o', '--out', dest='output', required=True, help='output file for the evolutionary tree') … … 439 439 #TODO: better names for those parameters 440 440 parser.add_argument('-t', '--time', default='GENERATIONAL', dest='time', help='values on vertical axis (BIRTHS/GENERATIONAL/REAL); ' 441 'BIRTHS: time measured as the number of births since the beg gining; '441 'BIRTHS: time measured as the number of births since the beginning; ' 442 442 'GENERATIONAL: time measured as number of ancestors; ' 443 443 'REAL: real time of the simulation') 444 parser.add_argument('-b', '--balance', default='DENSITY', dest='balance', help='method of placing node in the tree (RANDOM/MIN/DENSITY)')444 parser.add_argument('-b', '--balance', default='DENSITY', dest='balance', help='method of placing nodes in the tree (RANDOM/MIN/DENSITY)') 445 445 parser.add_argument('-s', '--scale', default='NONE', dest='scale', help='type of timescale added to the tree (NONE/SIMPLE)') 446 446 parser.add_argument('-c', '--coloring', default='IMPORTANCE', dest="coloring", help='method of coloring the tree (NONE/IMPORTANCE/TYPE)')
Note: See TracChangeset
for help on using the changeset viewer.