RIBBON(1)
β¨ RIBBON β¨
okay bestie, gather round, because this is the ribbon page from section 1 of the manual β the Raster3D molecular graphics package ribbon-drawer, and she is serving protein backbone realness π
π NAME π
ribbon β Raster3D molecular graphics package ribbon-drawer
πΈ SYNOPSIS πΈ
"ribbon" [-h] [-d[0123456]] pdbfile
or
"ribbon" [-h] -d[0123456] - (to take PDB records from stdin)
So here's the vibe: ribbon reads a PDB coordinate file and spits out a file on stdout full of Raster3D descriptor records for a ribbon representation built out of a triangular mesh. And the file she makes? You can feed it straight to render, or you can smoosh it together with descriptor files from other Raster3D utilities. versatile icon β¨
π¦ EXAMPLES π¦
Wanna describe the entire protein chain as one single ribbon, colored all smooth from blue at the N-terminus to red at the C-terminus? say less:
ribbon -d2 protein.pdb | render > chain_picture.png
Wanna color a multi-chain protein with specific colors for each chain? obsessed:
cat chaincolors.pdb protein.pdb | ribbon -d5 - > chains.r3d
π OPTIONS π
-hβ Suppress header records in output. So by defaultribbonmakes an output file that starts with header records containing a default set of scaling and processing options. The-hflag yeets those header records away so your output file has only triangle descriptors. This one's for when you're producing files that describe just part of a scene, and you're gonna combine them later with descriptor files from other programs. teamwork fr π«Ά-d[0123456]β By defaultribbonwants interactive input to pick ribbon parameters and coloring info. BUT. Five default coloring schemes are implemented, and you can select one as a command line option to completely bypass the interactive part. no cap:-dor-d0β same as-d2below-d1β solid color ribbon (defaults to blue)-d2β shade from blue at N-terminus to red at C-terminus-d3β one surface of ribbon is blue, other surface is grey-d4β shade front surface from blue to red, back surface is grey-d5β color separate chains using successive color cards from input stream. Note that pattern matching on the color records is not done; colors are simply taken sequentially as new chains are encountered.-d6β Color by nearest CA atom as taken from the COLOUR records at the head of the input file
π DESCRIPTION π
The input to ribbon is a single text file containing colour information [optional] plus atomic coordinates in PDB data bank format. Only CA and carbonyl O atom records are required β all other input atoms are just ignored, they're not the main character π
Ribbon parameters and colouring get specified interactively when the program runs. But keyboard interaction may be bypassed by selecting one of the default colouring schemes using the -d flag. A triangular mesh ribbon is output as Raster3D descriptor records. By default the output file contains a set of header records as required by the render program. And the header is constructed to include a TMAT matrix corresponding to the transformation matrix contained in file setup.matrix (if it exists), or to the Eulerian angles contained in file setup.angles (if it exists). it's giving configured β¨
ribbon produces a continuous smooth trace of the protein backbone. For more complicated representations of protein secondary structure it is better to use a different program, e.g. MOLSCRIPT, rather than ribbon. know your limits bestie, that's growth π±
π§ ENVIRONMENT π§
The files setup.matrix and setup.angles, if they exist, affect the header records produced by ribbon.
β SOURCE β
anonymous ftp site:
ftp.bmsc.washington.edu
web URL:
http://www.bmsc.washington.edu/raster3d/raster3d.html
contact:
Ethan A Merritt
University of Washington, Seattle WA 98195
merritt@u.washington.edu
π SEE ALSO π
MOLSCRIPT(l), render(l), rods(l), balls(l)
π AUTHORS π
Original ribbon code written by Phil Evans for the CCP4 version of FRODO. Modification to describe solid ribbons as triangular mesh for Phong shading in Raster3D package by Ethan A Merritt.
and that's the whole page, bestie π this was Raster3D, dated 8 May 1999, and it ate, no crumbs left. go make something gorgeous with your triangular mesh, you've got this πβ¨π¦
π¦ where this page comes from
- debian bookworm: raster3d 3.0-7-2+b1 Β· Artistic-1.0-Perl
- debian trixie: raster3d 3.0-7-2+b2 Β· Artistic-1.0-Perl
- ubuntu jammy: raster3d 3.0-7-2 Β· Artistic-1.0-Perl
- ubuntu noble: raster3d 3.0-7-2build1 Β· Artistic-1.0-Perl
- ubuntu questing: raster3d 3.0-8-1
- ubuntu resolute: raster3d 3.0-8-3 Β· Artistic-1.0-Perl
- ubuntu stonking: raster3d 3.0-8-3 Β· Artistic-1.0-Perl
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms