|
5 | 5 | import sys |
6 | 6 | from Bio import Phylo |
7 | 7 | from textwrap import dedent |
8 | | -from .argparse_ import ExtendOverwriteDefault |
| 8 | +from .argparse_ import ExtendOverwriteDefault, SKIP_AUTO_DEFAULT_IN_HELP |
9 | 9 | from .dates import get_numerical_dates |
10 | 10 | from .dates.errors import InvalidYearBounds |
11 | 11 | from .io.metadata import DEFAULT_DELIMITERS, DEFAULT_ID_COLUMNS, METADATA_DATE_COLUMN, InvalidDelimiter, Metadata, read_metadata |
@@ -174,8 +174,8 @@ def register_parser(parent_subparsers): |
174 | 174 | help="delimiters to accept when reading a metadata file. Only one delimiter will be inferred.") |
175 | 175 | parser.add_argument('--metadata-id-columns', default=DEFAULT_ID_COLUMNS, nargs="+", action=ExtendOverwriteDefault, |
176 | 176 | help="names of possible metadata columns containing identifier information, ordered by priority. Only one ID column will be inferred.") |
177 | | - parser.add_argument('--output-tree', type=str, help='file name to write tree to') |
178 | | - parser.add_argument('--output-node-data', type=str, help='file name to write branch lengths as node data') |
| 177 | + parser.add_argument('--output-tree', type=str, help='file name to write tree to. If not provided a file will be created using the alignment or tree input path with a "_tt.nwk" suffix.'+SKIP_AUTO_DEFAULT_IN_HELP) |
| 178 | + parser.add_argument('--output-node-data', type=str, help='file name to write branch lengths as node data. If not provided a file will be created using the alignment or tree input path with a ".node_data.json" suffix.'+SKIP_AUTO_DEFAULT_IN_HELP) |
179 | 179 | parser.add_argument('--use-fft', action="store_true", help="produce timetree using FFT for convolutions") |
180 | 180 | parser.add_argument('--max-iter', default=2, type=int, help="maximal number of iterations TreeTime uses for timetree inference") |
181 | 181 | parser.add_argument('--timetree', action="store_true", help="produce timetree using treetime, requires tree where branch length is in units of average number of nucleotide or protein substitutions per site (and branch lengths do not exceed 4)") |
|
0 commit comments