dynast.main
Module Contents
Functions
Displays a list of supported technologies along with whether a whitelist |
|
|
Helper function to set up a subparser for the ref command. |
|
Helper function to set up a subparser for the align command. |
|
Helper function to set up a subparser for the consensus command. |
|
Helper function to set up a subparser for the count command. |
|
Helper function to set up a subparser for the estimate command. |
|
Parser for the ref command. |
|
|
|
Parser for the consensus command. |
|
Parser for the count command. |
|
Parser for the estimate command. |
|
Attributes
- dynast.main.print_technologies()[source]
Displays a list of supported technologies along with whether a whitelist is provided for that technology.
- dynast.main.setup_ref_args(parser: argparse.ArgumentParser, parent: argparse.ArgumentParser) argparse.ArgumentParser [source]
Helper function to set up a subparser for the ref command.
- Parameters
- parser
Argparse parser to add the ref command to
- parent
Argparse parser parent of the newly added subcommand. Used to inherit shared commands/flags
- Returns
The newly added parser
- dynast.main.setup_align_args(parser: argparse.ArgumentParser, parent: argparse.ArgumentParser) argparse.ArgumentParser [source]
Helper function to set up a subparser for the align command.
- Parameters
- parser
Argparse parser to add the align command to
- parent
Argparse parser parent of the newly added subcommand. Used to inherit shared commands/flags
- Returns
The newly added parser
- dynast.main.setup_consensus_args(parser: argparse.ArgumentParser, parent: argparse.ArgumentParser) argparse.ArgumentParser [source]
Helper function to set up a subparser for the consensus command.
- Parameters
- parser
Argparse parser to add the consensus command to
- parent
Argparse parser parent of the newly added subcommand. Used to inherit shared commands/flags
- Returns
The newly added parser
- dynast.main.setup_count_args(parser: argparse.ArgumentParser, parent: argparse.ArgumentParser) argparse.ArgumentParser [source]
Helper function to set up a subparser for the count command.
- Parameters
- parser
Argparse parser to add the count command to
- parent
Argparse parser parent of the newly added subcommand. Used to inherit shared commands/flags
- Returns
The newly added parser
- dynast.main.setup_estimate_args(parser: argparse.ArgumentParser, parent: argparse.ArgumentParser) argparse.ArgumentParser [source]
Helper function to set up a subparser for the estimate command.
- Parameters
- parser
Argparse parser to add the estimate command to
- parent
Argparse parser parent of the newly added subcommand. Used to inherit shared commands/flags
- Returns
The newly added parser
- dynast.main.parse_ref(parser: argparse.ArgumentParser, args: argparse.Namespace, temp_dir: Optional[str] = None)[source]
Parser for the ref command.
- Parameters
- parser
The parser
- args
Command-line arguments dictionary, as parsed by argparse
- temp_dir
Temporary directory
- dynast.main.parse_consensus(parser: argparse.ArgumentParser, args: argparse.Namespace, temp_dir: Optional[str] = None)[source]
Parser for the consensus command.
- Parameters
- parser
The parser
- args
Command-line arguments dictionary, as parsed by argparse
- temp_dir
Temporary directory
- dynast.main.parse_count(parser: argparse.ArgumentParser, args: argparse.Namespace, temp_dir: Optional[str] = None)[source]
Parser for the count command.
- Parameters
- parser
The parser
- args
Command-line arguments dictionary, as parsed by argparse
- temp_dir
Temporary directory
- dynast.main.parse_estimate(parser: argparse.ArgumentParser, args: argparse.Namespace, temp_dir: Optional[str] = None)[source]
Parser for the estimate command.
- Parameters
- parser
The parser
- args
Command-line arguments dictionary, as parsed by argparse
- temp_dir
Temporary directory