1
DNA/RNA-protein interactions (SNAP) / Re: Implement Json
« on: June 13, 2025, 04:02:02 pm »
Hello,
I am using SNAP via `x3dna-dssr snap -i=my_file.pdb` and have found the output very useful, but am hoping to export it as JSON to automate some of my analysis. I see how I can run `x3dna-dssr -i=my_file.pdb --json`, and it seems that when `x3dna-snap` was packaged separately it had also a `--json` flag for this purpose (eg. https://x3dna.org/articles/h-bonds-reported-by-dssr-and-snap). Such a flag no longer seems to work with `x3dna-dssr snap -i=my_file.pdb --json`, so I am asking: does this JSON format functionality still exist for SNAP output? Perhaps it exists and this flag is not the way to access it.
I am using SNAP via `x3dna-dssr snap -i=my_file.pdb` and have found the output very useful, but am hoping to export it as JSON to automate some of my analysis. I see how I can run `x3dna-dssr -i=my_file.pdb --json`, and it seems that when `x3dna-snap` was packaged separately it had also a `--json` flag for this purpose (eg. https://x3dna.org/articles/h-bonds-reported-by-dssr-and-snap). Such a flag no longer seems to work with `x3dna-dssr snap -i=my_file.pdb --json`, so I am asking: does this JSON format functionality still exist for SNAP output? Perhaps it exists and this flag is not the way to access it.