g3djs
Javascript API for reading .g3d genomic 3D structure files.
Installation
Requires Node.
npm install g3djs
Examples
; const url = "https://target.wustl.edu/dli/tmp/test2.g3d";const file = url ;// get metadata// metadata contains information about genome assembly, dataset name, resolutions etc.file; // get 3D data from a specific resolution, 200k here for examplefile;
You can run npm run test
see the stucture of the returned data.