Command Line Options
Input/Output and Execution Options
List of all arguments related to input/output and general execution of the program.
-h,--helpShow help messages for VaxPress and exit.
Input/Output Options
Required Arguments
-i FILE,--input FILEPath to the input FASTA file containing the CDS or protein sequence.
-o DIR,--output DIRPath to the output directory.
Optional Arguments
--proteinInput is a protein sequence.
--overwriteOverwrite output directory if it already exists.
-q,--quietDo not print progress messages to stdout.
--print-top NPrint evaluation results of top
Nsequences at the ends of iterations (default:10).--report-interval MINInterval of report updates in minutes. In other words,
report.htmlwill be updated by this time interval (default:5).--versionShow program’s version number and exit.
Execution Options
-p N,--processes NNumber of processes to use (default:
4).--preset FILEUse pre-defined options stored in
FILE, which has the same format and content as theparameters.jsonfile generated by a VaxPress run. Any options specified in the command line will supersede these preset values.Example command to use a preset file:
vaxpress -i spike.fa -o output \ --preset parameters.json
Refer to Using preset values for more information.
--addon FILELoad a custom fitness function.
Example command to use a custom fitness function:
vaxpress -i input.fa -o output_dir \ --iterations 1000 -p 36 \ --addon myfunction.py
Please refer to the Adding a custom scoring function section of this documentation for detailed instructions on using a custom fitness function.
--seed NUMBERAlter the random seed
NUMBERto generate a different sequence under the same settings (default:922).--folding-engine NAMERNA folding engine:
viennaorlinearfold(default:vienna).linearfoldis only available when a separate Python package, linearfold-unofficial, is installed.--default-offDisable all fitness functions by default. This is useful when you wish to activate only a select few fitness functions.
Optimization Options
The following is a list of parameters related to the program’s optimization processes. Refer to the Tuning Optimization Parameters section for examples demonstrating the impact of each parameter on the optimization process.
--random-initializationRandomize all codon selections at the beginning (default: not set).
--conservative-start ITER[:WIDTH]Mutate the codon selections for the initial
WIDTHamino acids only during the firstITERiterations. It is particularly useful when the input sequence is partially optimized, like when it’s generated by LinearDesign. By default,ITERandWIDTHare set to0and7, respectively.# Example command line to use --conservative-start option vaxpress -i spike.fa -o output \ --iterations 1000 \ --lineardesign 1 \ --conservative-start 10:7
--iterations NNumber of iterations (default:
10). See How VaxPress Works to understand how this parameter affect the optimization process.--population NPopulation size to generate every iteration (default:
20).--survivors NNumber of survivors to pass to the next iteration (default:
2).--initial-mutation-rate RATEInitial mutation rate (default:
0.1).--full-scan-interval NNumber of iterations between full scans of single mutations of unpaired bases (default:
300).--winddown-trigger NDecrease the mutation rate if there’s no improvement in the best fitness score for
Niterations (default:15). For a comprehensive explanation, please refer to Adaptive Decrement of Mutation Rate.--winddown-rate RATEThe mutation rate multiplier that controls the mutation rate when the best fitness score stagnates. The default value is
0.9. For a comprehensive explanation, please refer to the section labeled Adaptive Decrement of Mutation Rate.--boost-loop-mutations WEIGHT[:START]Increase the weight of mutations in loop regions by a factor of
WEIGHTcompared to stem regions. This amplification does not affect the initial part of the sequence precedingSTART, reducing the influence of the unstructured region near the start codon. The default settings are1.5:15.--species NAMETarget species (default: human).
--codon-table NAMECodon table to identify synonymous codons (default:
standard). Codon tables are imported from Bio.Data.CodonTable module. To check for the full list of supported codon tables, please refer to BioPython source code.