Create overlaid Kratky plots from a directory of SAXS data from PRIMUS analysis software, using RG and I(0) values.
Used in Cotranscriptional folding of the lncRNA Xist A-repeats indicates a modular structure
Python 3 (created using Python 3.8)
Libraries: matplotlib, pandas
Installation: pip3 install kratky_rg_izero
Intended for use with .out files produced by PRIMUS.
Place all files for a single Kratky plot in one directory with no other .out files.
Run from command line examples:
python3 rg_and_io.py path/to/datafiles -o save/to/dir/plotname -c red blue
python3 rg_and_io.py user1/saxs/exp_1 -o user1/saxs/exp_1/exp_1_kratky -c red blue
Output path should not include file extension. Plots will be saved in .pdf format.
If no path to data directory is given, defaults to current working directory.
Color list (--color
or -c
) should contain at least as many colors as there are files to be plotted. There is a default list of up to six colors that will
be used if no color list is given.