Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added choices to --tree_builder and other args #207

Merged
merged 3 commits into from
Nov 27, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions python/scripts/run_gubbins.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@
parser.add_argument('--use_time_stamp', '-u', action='count', help='Use a time stamp in file names', default = 0)
parser.add_argument('--verbose', '-v', action='count', help='Turn on debugging', default = 0)
parser.add_argument('--no_cleanup', '-n', action='count', help='Dont cleanup intermediate files', default = 0)
parser.add_argument('--tree_builder', '-t', help='Application to use for tree building [raxml|fasttree|hybrid]', default = "raxml")
parser.add_argument('--tree_builder', '-t', help='Application to use for tree building', default = "raxml", choices=['raxml', 'fastree', 'hybrid'])
parser.add_argument('--iterations', '-i', help='Maximum No. of iterations', type=int, default = 5)
parser.add_argument('--min_snps', '-m', help='Min SNPs to identify a recombination block', type=int, default = 3)
parser.add_argument('--filter_percentage','-f', help='Filter out taxa with more than this percentage of gaps', type=int, default = 25)
parser.add_argument('--prefix', '-p', help='Add a prefix to the final output filenames')
parser.add_argument('--threads', '-c', help='Number of threads to run with RAXML, but only if a PTHREADS version is available', type=int, default = 1)
parser.add_argument('--converge_method', '-z', help='Criteria to use to know when to halt iterations [weighted_robinson_foulds|robinson_foulds|recombination]', default = 'weighted_robinson_foulds')
parser.add_argument('--converge_method', '-z', help='Criteria to use to know when to halt iterations', default = 'weighted_robinson_foulds', choices=['weighted_robinson_foulds', 'robinson_foulds', 'recombination'])
parser.add_argument('--version', action='version', version=str(pkg_resources.get_distribution("gubbins").version))
parser.add_argument('--min_window_size', '-a', help='Minimum window size', type=int, default = 100)
parser.add_argument('--max_window_size', '-b', help='Maximum window size', type=int, default = 10000)
parser.add_argument('--raxml_model', '-r', help='RAxML model [GTRGAMMA|GTRCAT]', default = 'GTRCAT')
parser.add_argument('--raxml_model', '-r', help='RAxML model', default = 'GTRCAT', choices=['GTRGAMMA', 'GTRCAT'])
parser.add_argument('--remove_identical_sequences', '-d', action='count', help='Remove identical sequences', default = 0)

gubbins_runner = common.GubbinsCommon(parser.parse_args())
Expand Down