Skip to content

Commit

Permalink
update integrate command for codons and subset options
Browse files Browse the repository at this point in the history
  • Loading branch information
gtonkinhill committed Dec 20, 2023
1 parent 7ef8576 commit f590116
Showing 1 changed file with 14 additions and 3 deletions.
17 changes: 14 additions & 3 deletions panaroo/integrate.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,6 @@ def get_options(
type=str,
choices=['core', 'pan'],
default=None)

core.add_argument(
"--aligner",
dest="alr",
Expand All @@ -131,13 +130,23 @@ def get_options(
type=str,
choices=['prank', 'clustal', 'mafft'],
default="mafft")

core.add_argument(
"--codons",
dest="codons",
help=
"Generate codon alignments by aligning sequences at the protein level",
action='store_true',
default=False)
core.add_argument("--core_threshold",
dest="core",
help="Core-genome sample threshold (default=0.95)",
type=float,
default=0.95)

core.add_argument("--core_subset",
dest="subset",
help="Randomly subset the core genome to these many genes (default=all)",
type=int,
default=None)
core.add_argument("--core_entropy_filter",
dest="hc_threshold",
help=("Manually set the Block Mapping and Gathering with " +
Expand Down Expand Up @@ -299,7 +308,9 @@ def main():
aln=args.aln,
alr=args.alr,
core=args.core,
codons=args.codons,
hc_threshold=args.hc_threshold,
subset=args.subset,
merge_single=True,
depths=[1],
n_cpu=args.n_cpu,
Expand Down

0 comments on commit f590116

Please sign in to comment.