Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
P
panacota
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Amandine PERRIN
panacota
Commits
2e8d2e9d
Commit
2e8d2e9d
authored
4 years ago
by
Amandine PERRIN
Browse files
Options
Downloads
Patches
Plain Diff
output directory required
parent
d511a5c1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
PanACoTA/subcommands/corepers.py
+3
-7
3 additions, 7 deletions
PanACoTA/subcommands/corepers.py
PanACoTA/subcommands/tree.py
+3
-3
3 additions, 3 deletions
PanACoTA/subcommands/tree.py
with
6 additions
and
10 deletions
PanACoTA/subcommands/corepers.py
+
3
−
7
View file @
2e8d2e9d
...
...
@@ -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)
"
...
...
This diff is collapsed.
Click to expand it.
PanACoTA/subcommands/tree.py
+
3
−
3
View file @
2e8d2e9d
...
...
@@ -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.
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment