3dmol

WebGL accelerated JavaScript molecular graphics library

https://github.com/3dmol/3dmol.js

Science Score: 49.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
  • Committers with academic emails
    26 of 82 committers (31.7%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary

Keywords

computational-biology computational-chemistry molecular-graphics molecular-modeling

Keywords from Contributors

drug-discovery cheminformatics convolutional-neural-networks bioinformatics molecule chemistry interactive interpretability profiles sequences
Last synced: 6 months ago · JSON representation

Repository

WebGL accelerated JavaScript molecular graphics library

Basic Info
  • Host: GitHub
  • Owner: 3dmol
  • License: other
  • Language: Jupyter Notebook
  • Default Branch: master
  • Homepage: https://3dmol.org/
  • Size: 1.01 GB
Statistics
  • Stars: 888
  • Watchers: 29
  • Forks: 211
  • Open Issues: 37
  • Releases: 47
Topics
computational-biology computational-chemistry molecular-graphics molecular-modeling
Created over 11 years ago · Last pushed 7 months ago
Metadata Files
Readme Contributing License Code of conduct Citation

README.md

3Dmol.js

CDNJS codecov Github CI

3Dmol.js is an object-oriented, WebGL accelerated JavaScript library for online molecular visualization.

Since 3Dmol.js is licensed under the permissive BSD open-source license, you are free to use it in any project, as long the code is properly acknowledged and cited.

With 3Dmol.js, you can add beautifully rendered molecular visualizations to your web applications. Features include: * support for pdb, sdf, mol2, xyz, cif, cdjson, mmtf, prmtop, gro, pqr, cube, and vasp formats * parallelized molecular surface computation * sphere, stick, line, cross, cartoon, and surface styles * atom property based selection and styling * labels * clickable interactivity with molecular data * geometric shapes including spheres and arrows

See the documentation to learn how to use 3Dmol.js as a hosted viewer, embeddable viewer, or as a component of a larger application.

Examples

HTML

```html

```

JavaScript

We support the use of both PDB queries as well as PDB files.

Alt Text

First you simply create the viewer with a div's id. javascript var viewer = $3Dmol.createViewer($("#div")); Then you can download a protein data bank model (here pdb:1MO8) and display it with the styling of your choosing.

```javascript $3Dmol.download("pdb:1MO8",viewer,{multimodel:true, frames:true},function(){ viewer.setStyle({}, {cartoon:{color:"spectrum"}}); viewer.render(); });

```

Surfaces

We also support the use of surfaces that are asynchronously loaded and support different color schemes

Alt Text

javascript viewer.addSurface($3Dmol.SurfaceType.VDW, { opacity:0.85, voldata: new $3Dmol.VolumeData(volumedata, "cube"), volscheme: new $3Dmol.Gradient.ROYGB(range[1],range[0]) },{});

Shapes

The use of different shapes and styles is supported.

Alt Text

javascript viewer.addCylinder({start:{x:0.0,y:2.0,z:0.0}, end:{x:0.0,y:10.0,z:0.0}, radius:0.5, fromCap:false, toCap:true, color:'teal'}); viewer.addCylinder({start:{x:15.0,y:0.0,z:0.0}, end:{x:20.0,y:0.0,z:0.0}, radius:1.0, color:'black', fromCap:false, toCap:false});

Documentation

Please check out our documentation at 3dmol.js. We have tutorials, as well as the stable release of the platform.

Contact

Please address any questions or concerns to dkoes@pitt.edu. You may also submit an issue on github.

Citing

If you use 3Dmol.js, please cite our Bioinformatics paper.

Funding

3DMol.js is funded through R35GM140753 (and previously R01GM108340) from the National Institute of General Medical Sciences. The content is solely the responsibility of the authors and does not necessarily represent the official views of the National Institute of General Medical Sciences or the National Institutes of Health.

Owner

  • Name: 3Dmol.js
  • Login: 3dmol
  • Kind: organization
  • Email: dkoes+3dmol@pitt.edu

A modern, object-oriented JavaScript library for visualizing molecular data

GitHub Events

Total
  • Create event: 4
  • Release event: 3
  • Issues event: 38
  • Watch event: 74
  • Issue comment event: 67
  • Push event: 35
  • Pull request review event: 1
  • Pull request event: 8
  • Fork event: 16
Last Year
  • Create event: 4
  • Release event: 3
  • Issues event: 38
  • Watch event: 74
  • Issue comment event: 67
  • Push event: 35
  • Pull request review event: 1
  • Pull request event: 8
  • Fork event: 16

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 2,505
  • Total Committers: 82
  • Avg Commits per committer: 30.549
  • Development Distribution Score (DDS): 0.581
Past Year
  • Commits: 66
  • Committers: 5
  • Avg Commits per committer: 13.2
  • Development Distribution Score (DDS): 0.152
Top Committers
Name Email Commits
David Koes d****s@p****u 1,049
Alec Helbling s****1@p****t 170
Nick Rego n****2@q****u 155
Adithya Krishna a****h@r****m 100
nbr2 n****2@g****m 95
helblazer811 a****1@g****m 94
jaxmatrix j****8@g****m 88
Ryan D. Guild r****7@p****u 81
Manohar-94 k****3@g****m 80
mattragoza m****2@p****u 79
Jing Li j****2@p****u 51
jlc206 j****6@p****u 43
jus1in j****0@g****m 40
tjakubiec218 t****8@y****m 31
Luthaf l****f@l****r 24
K7S3 k****i@r****n 23
David Koes d****s@b****u 21
BassemHermina b****n@g****m 21
Nick Rego n****2@j****) 18
Daniel Bryan d****n@g****m 17
Zirui Huang 4****7@q****m 15
Prajwal Kulkarni p****6@g****m 14
dependabot[bot] 4****] 13
Daniel Caspi d****n@e****t 13
Jai Shukla j****y@l****n 12
David Koes d****s@f****l 11
Arthur a****t@y****m 10
helblazer811 a****1@g****m 9
Justin McCandless j****s@g****m 8
Nicolas CARPi 3****i 8
and 52 more...

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 181
  • Total pull requests: 86
  • Average time to close issues: 11 months
  • Average time to close pull requests: 3 months
  • Total issue authors: 96
  • Total pull request authors: 20
  • Average comments per issue: 4.37
  • Average comments per pull request: 1.81
  • Merged pull requests: 47
  • Bot issues: 0
  • Bot pull requests: 11
Past Year
  • Issues: 27
  • Pull requests: 4
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 1 day
  • Issue authors: 15
  • Pull request authors: 3
  • Average comments per issue: 2.67
  • Average comments per pull request: 0.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 1
Top Authors
Issue Authors
  • JavierSanchez-Utges (26)
  • dkoes (15)
  • RyanGuild (8)
  • adithyaakrishna (6)
  • dxdc (6)
  • NicolasCARPi (5)
  • sdr0598 (4)
  • coltonbh (3)
  • prajwalkulkarni (3)
  • duerrsimon (3)
  • data2code (2)
  • deliciouslyevil (2)
  • ajasja (2)
  • shubihu (2)
  • elliothershberg (2)
Pull Request Authors
  • adithyaakrishna (33)
  • prajwalkulkarni (22)
  • dependabot[bot] (16)
  • donbyron02 (5)
  • NicolasCARPi (4)
  • Rasic2 (4)
  • Luthaf (3)
  • dxdc (3)
  • RyanGuild (2)
  • asford (2)
  • cmishra (2)
  • dkoes (2)
  • andfaulkner (1)
  • choephix (1)
  • tjakubiec218 (1)
Top Labels
Issue Labels
enhancement (80) bug (50) question (6) wontfix (5) help wanted (5) dependencies (1) nonresponsive (1)
Pull Request Labels
dependencies (16) WIP (1)

Packages

  • Total packages: 3
  • Total downloads:
    • npm 22,797 last-month
  • Total docker downloads: 635,012
  • Total dependent packages: 17
    (may contain duplicates)
  • Total dependent repositories: 75
    (may contain duplicates)
  • Total versions: 57
  • Total maintainers: 2
npmjs.org: 3dmol

JavaScript/TypeScript molecular visualization library

  • Homepage: http://3dmol.org
  • License: BSD-3-Clause
  • Latest release: 2.5.2
    published 7 months ago
  • Versions: 48
  • Dependent Packages: 14
  • Dependent Repositories: 38
  • Downloads: 22,797 Last month
  • Docker Downloads: 635,012
Rankings
Docker downloads count: 0.5%
Average: 2.1%
Dependent repos count: 2.2%
Downloads: 2.2%
Dependent packages count: 2.4%
Forks count: 2.5%
Stargazers count: 2.7%
Maintainers (2)
Last synced: 7 months ago
conda-forge.org: py3dmol
  • Versions: 6
  • Dependent Packages: 3
  • Dependent Repositories: 37
Rankings
Dependent repos count: 5.9%
Average: 12.8%
Forks count: 13.7%
Dependent packages count: 15.6%
Stargazers count: 15.8%
Last synced: 7 months ago
repo1.maven.org: org.webjars.npm:3dmol

WebJar for 3dmol

  • Versions: 3
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Forks count: 10.8%
Stargazers count: 11.1%
Average: 25.7%
Dependent repos count: 32.0%
Dependent packages count: 48.9%
Last synced: 7 months ago

Dependencies

.github/workflows/CodeQL-Analysis.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • github/codeql-action/analyze v2 composite
  • github/codeql-action/init v2 composite
.github/workflows/dependency-review.yml actions
  • actions/checkout v3 composite
  • actions/dependency-review-action v3 composite
.github/workflows/npm-publish.yml actions
  • actions/cache v3 composite
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
py3Dmol/setup.py pypi
package-lock.json npm
  • 1213 dependencies
package.json npm
  • @babel/cli ^7.17.10 development
  • @babel/core ^7.18.6 development
  • @babel/plugin-proposal-class-properties ^7.16.0 development
  • @babel/plugin-transform-typescript ^7.18.8 development
  • @babel/polyfill ^7.12.1 development
  • @babel/preset-env ^7.18.6 development
  • @typescript-eslint/eslint-plugin ^4.32.0 development
  • @typescript-eslint/parser ^4.33.0 development
  • awesome-typescript-loader ^5.2.1 development
  • babel-eslint ^10.1.0 development
  • babel-loader ^8.2.5 development
  • babel-preset-minify ^0.5.2 development
  • del ^6.0.0 development
  • eslint ^7.32.0 development
  • file-loader ^6.2.0 development
  • glcheck 3dmol/glcheck#master development
  • glob-parent ^5.1.2 development
  • gulp ^4.0.2 development
  • gulp-clean ^0.4.0 development
  • gulp-cli ^2.3.0 development
  • gulp-concat ^2.6.1 development
  • gulp-jsdoc3 ^3.0.0 development
  • gulp-jshint ^2.1.0 development
  • gulp-merge ^0.1.1 development
  • gulp-rename ^2.0.0 development
  • gulp-rollup ^2.17.0 development
  • gulp-shell ^0.8.0 development
  • gulp-terser ^2.0.1 development
  • gulp-uglify ^3.0.2 development
  • istanbul-combine ^0.3.0 development
  • jest ^27.5.1 development
  • jsdoc ^3.6.10 development
  • jsdom ^19.0.0 development
  • jshint ^2.13.1 development
  • prettier ^2.7.1 development
  • raw-loader ^4.0.2 development
  • terser-webpack-plugin ^5.3.3 development
  • ts-loader ^9.3.1 development
  • typescript ^3 development
  • url-loader ^4.1.1 development
  • webpack ^5 development
  • webpack-cli ^4.10.0 development
  • webpack-dev-server 4.9.3 development
  • ini ^2.0.0
  • jquery ^3.6.0
  • netcdfjs ^1.0.0
  • pako ^2.0.4
  • upng-js ^2.1.0
  • yargs-parser ^20.2.9
.github/workflows/CI.yml actions
  • actions/checkout v3 composite
  • actions/setup-node v3 composite
  • codecov/codecov-action v3 composite
.github/workflows/Coverage.yml actions
  • actions/checkout v4 composite
  • actions/setup-node v4 composite
  • codecov/codecov-action v3 composite