Command to run :
python rigetti_dsqc.py /path/to/advance_gates.txt
or
python ibm_dsqc.py /path/to/advance_gates.txt
The output contains both gates compressed and uncompressed scripts in OpenQASM, which is executable on IBM hardware and native Quil, which is executable on Rigetti's device.