Command line
The console command and module entry point are equivalent:
isogen --help
python -m isogen --help
CSV distributions
Print a distribution to standard output:
isogen dist ACDEFGHIK --type PEPTIDE --isolen 64
Write it to a file:
isogen dist AUGCAGUACGUA --type RNA --output rna.csv
Generate a distribution from an elemental formula:
isogen dist C6H12O6 --type ATOM --isolen 32 --output glucose.csv
The output contains a header followed by mass,intensity rows. Use
--method FFT, --method BRAIN, or --method NN to choose the calculation
engine. ATOM inputs support FFT only.
Label an ATOM formula with heavy isotopes through --heavy-isotopes:
isogen dist C6H12O6 --type ATOM --isolen 32 --heavy-isotopes 2H=0.05,13C=0.02
Example stick plots
Open the example figure:
isogen plot
Save without opening a window:
isogen plot --save isodist_examples.png --no-show
The example figure compares the same protein sequence with FFT, NN, and BRAIN.
The --method option selects the engine used by the protein-mass and RNA
panels; the three protein-sequence comparison panels remain fixed.