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

Minor tweaks to CLI args #347

Merged
merged 1 commit into from
Jul 19, 2024
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
13 changes: 5 additions & 8 deletions vamb/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1611,7 +1611,7 @@ def add_help_arguments(parser: argparse.ArgumentParser):

def add_general_arguments(subparser: argparse.ArgumentParser):
add_help_arguments(subparser)
reqos = subparser.add_argument_group(title="Output (required)", description=None)
reqos = subparser.add_argument_group(title="Output", description=None)
reqos.add_argument(
"--outdir",
metavar="",
Expand Down Expand Up @@ -1639,10 +1639,7 @@ def add_general_arguments(subparser: argparse.ArgumentParser):
metavar="",
type=int,
default=DEFAULT_THREADS,
help=(
"number of threads to use when parsing BAM"
"[min(" + str(DEFAULT_THREADS) + ", nbamfiles)]"
),
help=f"number of threads to use where customizable [{DEFAULT_THREADS}]",
)
general.add_argument(
"--norefcheck",
Expand Down Expand Up @@ -1926,8 +1923,8 @@ def add_clustering_arguments(subparser):
dest="max_clusters",
metavar="",
type=int,
default=None,
help="stop after c clusters [None = infinite]",
default=None, # meaning: do not stop
help=argparse.SUPPRESS,
)

return subparser
Expand Down Expand Up @@ -2068,7 +2065,7 @@ def main():
Version: {vamb.__version_str__}

Default use, good for most datasets:
vamb bin default --outdir out --fasta my_contigs.fna --bamdir bam_dir -o C
vamb bin default --outdir out --fasta my_contigs.fna --bamdir bam_dir

Find the latest updates and documentation at https://github.com/RasmussenLab/vamb"""
logger.add(sys.stderr, format=format_log)
Expand Down
Loading