All Projects → fogleman → Ribbon

fogleman / Ribbon

Licence: mit
Ribbon diagrams of proteins in #golang.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ribbon

Chemtris
an interactive 3D game that teaches Chemistry in a fun way
Stars: ✭ 19 (-90.36%)
Mutual labels:  3d, chemistry
Person Reid 3d
🗽 Parameter-Efficient Person Re-identification in the 3D Space 🗽
Stars: ✭ 193 (-2.03%)
Mutual labels:  3d
Babylonhx
Port of Babylon.js 3D engine to Haxe.
Stars: ✭ 182 (-7.61%)
Mutual labels:  3d
Chemlab
The chemistry library you were waiting for
Stars: ✭ 187 (-5.08%)
Mutual labels:  chemistry
Awesome Webgpu
😎 Curated list of awesome things around WebGPU ecosystem.
Stars: ✭ 182 (-7.61%)
Mutual labels:  3d
Pywavefront
Python library for importing Wavefront .obj files
Stars: ✭ 189 (-4.06%)
Mutual labels:  3d
Satin
A 3D Graphics Framework built on Apple's Metal
Stars: ✭ 182 (-7.61%)
Mutual labels:  3d
Blender
Official mirror of Blender
Stars: ✭ 4,175 (+2019.29%)
Mutual labels:  3d
3d Human Body Shape
[ICIMCS'2017] Official Code for 3D Human Body Reshaping with Anthropometric Modeling
Stars: ✭ 192 (-2.54%)
Mutual labels:  3d
Lambdacube Edsl
Previous version of LambdaCube 3D as Embedded Domain Specific Language in Haskell. Check the latest system:
Stars: ✭ 186 (-5.58%)
Mutual labels:  3d
Aframe
🅰️ web framework for building virtual reality experiences.
Stars: ✭ 13,428 (+6716.24%)
Mutual labels:  3d
Cq Editor
CadQuery GUI editor based on PyQT
Stars: ✭ 183 (-7.11%)
Mutual labels:  3d
Gfm
3D maths for D gamedev. This library is deprecated, see README.md
Stars: ✭ 190 (-3.55%)
Mutual labels:  3d
Tinyobjloader
Tiny but powerful single file wavefront obj loader
Stars: ✭ 2,363 (+1099.49%)
Mutual labels:  3d
Claygl
A WebGL graphic library for building scalable Web3D applications
Stars: ✭ 2,365 (+1100.51%)
Mutual labels:  3d
I3s Spec
This repository hosts the specification for Scene Layers which are containers for arbitrarily large amounts of geographic data. The delivery and persistence model for Scene Layers, referred to as Indexed 3d Scene Layer (I3S) and Scene Layer Package (SLPK) respectively, are specified.
Stars: ✭ 182 (-7.61%)
Mutual labels:  3d
Vaspy
Manipulating VASP files with Python.
Stars: ✭ 185 (-6.09%)
Mutual labels:  chemistry
Pixel2meshplusplus
Pixel2Mesh++: Multi-View 3D Mesh Generation via Deformation. In ICCV2019.
Stars: ✭ 188 (-4.57%)
Mutual labels:  3d
Tf flame
Tensorflow framework for the FLAME 3D head model. The code demonstrates how to sample 3D heads from the model, fit the model to 2D or 3D keypoints, and how to generate textured head meshes from Images.
Stars: ✭ 193 (-2.03%)
Mutual labels:  3d
Css Camera
New way to see a web page with CSS3 3D transform
Stars: ✭ 195 (-1.02%)
Mutual labels:  3d

Protein Ribbon Diagrams

Parse PDB files and render ribbon diagrams of proteins in pure Go.

4HHB

Installation

Go should be installed and your GOPATH should be set (defaults to $HOME/go in Go 1.8+). $GOPATH/bin should be on your $PATH if you want to run the binaries easily.

$ go get -u github.com/fogleman/ribbon/cmd/rcsb

Example Usage

Provide a 4-digit RCSB Structure ID. The PDB file will automatically be downloaded and an image will be rendered. The triangle mesh will also be saved.

$ rcsb 4hhb  # generates 4hhb.png and 4hhb.stl

Resources

RCSB Protein Data Bank - Find PDB files of proteins here. Over 100,000 in the database.

PDB File Format - Details on the PDB file format.

Package pdb

Documentation

The pdb package parses PDB files. The following entities are currently parsed:

ATOM   => *pdb.Atom
HETATM => *pdb.Atom
CONECT => *pdb.Connection
HELIX  => *pdb.Helix
SHEET  => *pdb.Strand
BIOMT  => pdb.Matrix
SMTRY  => pdb.Matrix

Additionally, some higher-level constructs are produced:

*pdb.Residue
*pdb.Chain

Package ribbon

Documentation

The ribbon package generates 3D meshes given a pdb.Model. It can produce the following types of meshes:

  • Ribbon
  • Ball & stick (for ligands)
  • Space filling
  • Backbone

Package fauxgl

The fauxgl library is used for rendering the 3D meshes in pure Go.

Samples

Sample Sample Sample Sample

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].