Reference: Command-Line Interface
InstaNovo provides a command-line interface (CLI) for accessing its main functionalities.
Top-level commands
To see the main commands, run:
This will show the following top-level commands:
predict: The main command for making predictions.transformer: Commands related to the InstaNovo transformer model (train, predict, etc.).diffusion: Commands related to the InstaNovo+ diffusion model (train, predict, etc.).convert: A command for converting data to InstaNovo's native format.version: Shows the version of InstaNovo and its dependencies.
Version info
To see the version of InstaNovo, InstaNovo+ and some of the dependencies, run:
Prediction commands
instanovo predict
This is the default prediction command that first makes a prediction with the transformer-based InstaNovo model and then iteratively refines the result with the diffusion-based InstaNovo+ model.
instanovo transformer predict
This command runs prediction with only the transformer model.
instanovo diffusion predict
This command runs prediction with only the diffusion model.
Training commands
instanovo transformer train
This command trains the transformer model.
instanovo diffusion train
This command trains the diffusion model.
Data conversion
instanovo convert
This command converts data to InstaNovo's native SpectrumDataFrame format.