Skip to content
Snippets Groups Projects
Commit 2e8d2e9d authored by Amandine  PERRIN's avatar Amandine PERRIN
Browse files

output directory required

parent d511a5c1
No related branches found
No related tags found
No related merge requests found
......@@ -185,7 +185,9 @@ def build_parser(parser):
required = parser.add_argument_group('Required arguments')
required.add_argument("-p", dest="pangenome", required=True,
help="PanGenome file (1 line per family, first column is fam number)")
required.add_argument("-o", dest="outputdir", required=True,
help=("Specify the output directory for your core/persistent genome."),
default=".")
optional = parser.add_argument_group('Optional arguments')
optional.add_argument("-t", "--tol", dest="tol", default=1, type=percentage,
help=("min %% of genomes having at least 1 member in a family to "
......@@ -207,12 +209,6 @@ def build_parser(parser):
"only 1 member exactly is allowed. This option is not compatible "
"with -M (which is allowing multigenic families: having several "
"members in any number of genomes).")
optional.add_argument("-o", dest="outputdir",
help=("You can specify an output directory for your core/persistent genome. "
"By default, it will be saved in the current directory. "
"Your output file will be named: "
"PersGenome_<pangenome_filename>_tol[-multi][-mixed].lst"),
default=".")
optional.add_argument("-F", dest="floor", action="store_true",
help="When you specify the '-tol' option, with a number lower "
"than 1, you can add this option to use floor('tol'*N) "
......
......@@ -159,6 +159,8 @@ def build_parser(parser):
required.add_argument("-a", dest="alignment", required=True,
help=("Alignment file in multi-fasta: each header will be a "
"leaf of the inferred tree."))
required.add_argument("-o", dest="outdir", required=True,
help=("Directory where tree results will be saved. "))
# Choose with which soft inferring phylogenetic tree
softparse = parser.add_argument_group('Choose soft to use (default is IQtree)')
......@@ -172,9 +174,7 @@ def build_parser(parser):
help=("Indicate how many bootstraps you want to compute. By "
"default, no bootstrap is calculated. For IQtree, it "
"will use ultrafast bootstrap (>=1000)."))
optional.add_argument("-o", dest="outdir", default=".",
help=("Directory where tree results will be saved. "
"By default, it is saved in the current directory."))
optional.add_argument("--threads", dest="threads", default=1, type=thread_num,
help=("add this option if you want to parallelize on several threads. "
"Indicate on how many threads you want to parallelize. "
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment