All Projects → swsoyee → r3dmol

swsoyee / r3dmol

Licence: other
🧬 An R package for visualizing molecular data in 3D

Programming Languages

javascript
184084 projects - #8 most used programming language
r
7636 projects

Projects that are alternatives of or similar to r3dmol

Jupyter Dock
Jupyter Dock is a set of Jupyter Notebooks for performing molecular docking protocols interactively, as well as visualizing, converting file formats and analyzing the results.
Stars: ✭ 179 (+297.78%)
Mutual labels:  protein-structure, computational-biology, protein
mmterm
View proteins and trajectories in the terminal
Stars: ✭ 87 (+93.33%)
Mutual labels:  protein-structure, protein
Biopython
Official git repository for Biopython (originally converted from CVS)
Stars: ✭ 2,936 (+6424.44%)
Mutual labels:  protein-structure, protein
screenlamp
screenlamp is a Python toolkit for hypothesis-driven virtual screening
Stars: ✭ 20 (-55.56%)
Mutual labels:  computational-biology, computational-chemistry
cbh21-protein-solubility-challenge
Template with code & dataset for the "Structural basis for solubility in protein expression systems" challenge at the Copenhagen Bioinformatics Hackathon 2021.
Stars: ✭ 15 (-66.67%)
Mutual labels:  protein-structure, protein
enspara
Modeling molecular ensembles with scalable data structures and parallel computing
Stars: ✭ 28 (-37.78%)
Mutual labels:  protein-structure, molecular-modeling
DENOPTIM
DENOPTIM is a software package for de novo design and virtual screening of functional molecules of any kind.
Stars: ✭ 23 (-48.89%)
Mutual labels:  computational-chemistry, molecular-modeling
DeepChem-Workshop
DeepChem 2017: Deep Learning & NLP for Computational Chemistry, Biology & Nano-materials
Stars: ✭ 22 (-51.11%)
Mutual labels:  computational-biology, computational-chemistry
lightdock
Protein-protein, protein-peptide and protein-DNA docking framework based on the GSO algorithm
Stars: ✭ 110 (+144.44%)
Mutual labels:  protein-structure, protein
gcWGAN
Guided Conditional Wasserstein GAN for De Novo Protein Design
Stars: ✭ 38 (-15.56%)
Mutual labels:  protein-structure, protein
deepblast
Neural Networks for Protein Sequence Alignment
Stars: ✭ 29 (-35.56%)
Mutual labels:  protein-structure, protein
SeqVec
Modelling the Language of Life - Deep Learning Protein Sequences
Stars: ✭ 74 (+64.44%)
Mutual labels:  protein-structure, protein
protein-transformer
Predicting protein structure through sequence modeling
Stars: ✭ 77 (+71.11%)
Mutual labels:  protein-structure, computational-biology
VSCoding-Sequence
VSCode Extension for interactively visualising protein structure data in the editor
Stars: ✭ 41 (-8.89%)
Mutual labels:  protein-structure, protein
ddpm-proteins
A denoising diffusion probabilistic model (DDPM) tailored for conditional generation of protein distograms
Stars: ✭ 55 (+22.22%)
Mutual labels:  protein-structure
rfrappe
htmlwidget for frappe charts js library
Stars: ✭ 24 (-46.67%)
Mutual labels:  htmlwidgets
orfipy
Fast and flexible ORF finder
Stars: ✭ 27 (-40%)
Mutual labels:  protein
icn3d
web-based protein structure viewer and analysis tool interactively or in batch mode
Stars: ✭ 95 (+111.11%)
Mutual labels:  protein
quickglobe
🌎 View Country Data via a 3D, D3, Globe 🌍
Stars: ✭ 22 (-51.11%)
Mutual labels:  htmlwidgets
molfunc
fast functionalisation of molecules
Stars: ✭ 22 (-51.11%)
Mutual labels:  computational-chemistry

r3dmol

CRAN status Codecov test coverage R-CMD-check Lifecycle: experimental Metacran downloads

This is an R package that provides support for 3Dmol.js as a htmlwidgets.

Installation

Important: This package is still very early in its development stages. Please give the repository a star on Github if you find the package is useful. In addition, we need your feedback to improve the package, feel free to create an issue if you have any question or feature requirement. You are more than welcome to submit a PR to make any feasible improvements.

You could install the released version of r3dmol from CRAN with:

install.packages("r3dmol")

And the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("swsoyee/r3dmol")

Example

library(r3dmol)

r3dmol(                         # Set up the initial viewer
  viewer_spec = m_viewer_spec(
    cartoonQuality = 10,
    lowerZoomLimit = 50,
    upperZoomLimit = 350
  )
) %>%
  m_add_model(                  # Add model to scene
    data = pdb_6zsl,
    format = "pdb"
  ) %>%
  m_zoom_to() %>%               # Zoom to encompass the whole scene
  m_set_style(                  # Set style of structures
    style = m_style_cartoon(
      color = "#00cc96"
    )
  ) %>%
  m_set_style(                  # Set style of specific selection
    sel = m_sel(ss = "s"),      # (selecting by secondary)
    style = m_style_cartoon(
      color = "#636efa",
      arrows = TRUE
    )
  ) %>%
  m_set_style(                  # Style the alpha helix
    sel = m_sel(ss = "h"),      # (selecting by alpha helix)
    style = m_style_cartoon(
      color = "#ff7f0e"
    )
  ) %>%
  m_rotate(                     # Rotate the scene by given angle on given axis
    angle = 90,
    axis = "y"
  ) %>%
  m_spin()                      # Animate the scene by spinning it

spin demo
You can find more demo at here.

About 3Dmol.js

Nicholas Rego, David Koes, 3Dmol.js: molecular visualization with WebGL, Bioinformatics, Volume 31, Issue 8, 15 April 2015, Pages 1322–1324,

Code of Conduct

Please note that the r3dmol project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].