Hi
I used x3dna-dssr to get json file using following command. Pdb conatins 100 frames.
x3dna-dssr -i=bdna1-100.pdb -o=bdna.json --more --nmr --json
Once I got json file, I tried to use Markus's R script to extract the data. I installed dplyr and tidyjson library required for the script.
http://forum.x3dna.org/rna-structures/dssr-analyzing-nmr-structures-overwritten-output-files/However, I am not getting any output.
R -s -f dssr_json_example-v3.R
Following is the output
Attaching package: ‘dplyr’
The following objects are masked from ‘package:stats’:
filter, lag
The following objects are masked from ‘package:base’:
intersect, setdiff, setequal, union
Attaching package: ‘tidyjson’
The following object is masked from ‘package:stats’:
filter
Warning message:
In gather_array(.) :
array.index column name already exists, changing to array.index.2
# A tbl_json: 0 x 17 tibble with a "JSON" attribute
# … with 17 variables: ..JSON <chr>, document.id <int>, array.index <int>,
# array.index.2 <int>, chain <chr>, id <chr>, resi <chr>, resn <chr>,
# alpha <dbl>, beta <dbl>, gamma <dbl>, delta <dbl>, epsilon <dbl>,
# zeta <dbl>, chi <dbl>, baseSugar_conf <chr>, sugar_class <chr>
I don't know what is wrong. I am new to R language.
Any suggestion from your side.
Thank you
A Shaikh