/usr/share/doc/garlic-doc/commands/col.html is in garlic-doc 1.6-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 | <html>
<head>
<title>
COL, color
</title>
</head>
<h1 align=center>
COL, color
</h1>
<hr size="3">
<font color=#880000>
<b>
NAME
<br>
</b>
</font>
COL, color - change the color of selected atoms and their corresponding bonds.
<br><br>
<font color=#880000>
<b>
SYNOPSIS
<br>
</b>
</font>
COL color_scheme_name
<br>
COL left_1 middle_1 right_1 ... ... ... left_N, middle_N, right_N
<br><br>
<font color=#880000>
<b>
DESCRIPTION
<br>
</b>
</font>
Change the color used to draw selected atoms and their corresponding bonds.
Half of each bond belongs to one atom, while half of the same bond belongs to
another atom. The easy way to specify color is to use the predefined color
scheme. The powerfull (but more complicated) way to specify color is to issue
detailed color specification. From version 1.5, default color scheme is COLD.
<br><br>
<font color=#880000>
<b>
color USAGE
<br>
</b>
</font>
In garlic, colors are used to create 3D illusions. In most color schemes, the
atoms close to the observer have bright colors, while distant atoms have dark
colors. Atoms and bonds look like three-dimensional objects because one side
is brighter than the other. Here are some technical details about color
usage:
<br><br>
At least one and at most eight surfaces are assigned to each structure.
These surfaces are equidistant planes, spheres or cylinders. The surface which
is nearest to the observer is called "front surface", while the most distant
surface is called "back surface". To each surface, three colors are assigned:
left, middle and right color. In most color schemes, left color is bright
and right color is dark. Atoms may be divided in three groups:
<br><br>
(1) Atoms which are in front of the front surface;
<br>
(2) Atoms which are behind the back surface;
<br>
(3) All other atoms, positioned in the sandwich between two surfaces.
<br><br>
All atoms which are in front of the front surface are drawn using the same
set of three colors which assigned to front surface. Atoms behind the back
surface are colored using three colors assigned to back surface. Colors for
atoms laying between two surfaces are prepared by linear interpolation of
colors assigned to these two surfaces. This is what I call color fading
(this term was not the best choice I could make, sorry).
<br><br>
In a special case, when only one surface is used, color does not depend on
distance.
<br><br>
Almost all predefined color schemes typically define two surfaces, i.e. a
total of six colors. There are some exceptions: color schemes HOT and COLD
use three surfaces, while MONOCHROME uses only one.
<br><br>
<font color=#880000>
<b>
Planes, spheres and cylinders
<br>
</b>
</font>
For most proteins and other molecules, planar fading is the best choice. In
this case, a set of planes, perpendicular to z axis is used. Concentric
spheres may be used when working with large globular proteins, while
cylinders may be used for beta-barrel proteins, like porins. The axis of
concentric cylinders is parallel to y.
<br><br>
<font color=#880000>
<b>
USING PREDEFINED color SCHEMES
<br>
</b>
</font>
Twenty predefined color schemes are available:
<br><br>
<table border=2 cellspacing=2 cellpading=0>
<td align="left">
SCHEME NAME
</td>
<td align="left">
DESCRIPTION
</td>
<tr>
<td align="left">
RED
</td>
<td align="left">
Red color scheme; distant atoms are dark
</td>
<tr>
<td align="left">
GREEN
</td>
<td align="left">
Green, distant atoms are dark
</td>
<tr>
<td align="left">
BLUE
</td>
<td align="left">
BLUE (deep sea), distant atoms are dark
</td>
<tr>
<td align="left">
YELLOW
</td>
<td align="left">
Yellow, distant atoms are dark
</td>
<tr>
<td align="left">
CYAN
</td>
<td align="left">
Cyan (cloudless sky), distant atoms are dark
</td>
<tr>
<td align="left">
MAGENTA
</td>
<td align="left">
Magenta, distant atoms are dark
</td>
<tr>
<td align="left">
WHITE
</td>
<td align="left">
Shades of gray, distant atoms almost black
</td>
<tr>
<td align="left">
YELLOW-GREEN
</td>
<td align="left">
Somewhere between yellow and green,
<br>
distant atoms dark
</td>
<tr>
<td align="left">
CYAN-GREEN
</td>
<td align="left">
Somewhere between green and blue-green,
<br>
distant atoms dark
</td>
<tr>
<td align="left">
CYAN-BLUE
</td>
<td align="left">
Somewhere between blue and blue-green,
<br>
distant atoms dark
</td>
<tr>
<td align="left">
MAGENTA-BLUE
</td>
<td align="left">
Somewhere between blue and magenta,
<br>
distant atoms are dark
</td>
<tr>
<td align="left">
MAGENTA-RED
</td>
<td align="left">
Somewhere between red and magenta,
<br>
distant atoms are dark
</td>
<tr>
<td align="left">
ORANGE
</td>
<td align="left">
Orange, distant atoms are dark
</td>
<tr>
<td align="left">
HOT
</td>
<td align="left">
The nearest atoms are yellow, atoms in the middle are orange
<br>
and distant atoms are dark red
</td>
<tr>
<td align="left">
COLD
</td>
<td align="left">
Default color scheme: the nearest atoms are cyan, atoms in
<br>
the middle are cyan-blue and distant atoms are dark blue
</td>
<tr>
<td align="left">
MODEL
</td>
<td align="left">
Use different colors for different NMR models
</td>
<tr>
<td align="left">
MONOCHROME
</td>
<td align="left">
Edge black, central region white,
distance independent
</td>
<tr>
<td align="left">
CPK
</td>
<td align="left">
Modified Corey-Pauling-Kultun color scheme,
<br>
distant atoms are dark
</td>
<tr>
<td align="left">
size
</td>
<td align="left">
Residues are colored according to the side chain size.
</td>
<tr>
<td align="left">
ZEbrA
</td>
<td align="left">
Residues with even serial number are red, odd residues
<br>
cyan-blue, distant atoms are dark
</td>
<tr>
<td align="left">
WEIGHTED
</td>
<td align="left">
Residues are colored according to the absolute value
<br>
of weighted hydrophobicity. For more details, read
<br>
the source file color_weighted.c !
</td>
<tr>
<td align="left">
CHAIN
</td>
<td align="left">
Use color to distinguish chains;
<br>
distant atoms are should be dark
</td>
<tr>
<td align="left">
HYPHOB
</td>
<td align="left">
Assign color according to hydrophobicity;
<br>
distant atoms are dark
</td>
</table>
<br>
Do not abbreviate the color scheme name! Case is not important. Some
selected schemes are shown below.
<br><br>
<img src="colors.png">
<br><br>
<font color=#880000>
<b>
DETAILED color SPECIFICATION
<br>
</b>
</font>
Most users should be satisfied with predefined color schemes. Anyway, it is
fairly easy to use colors which are not available through predefined schemes.
To define N color planes (up to eight), you have to define 3 * N colors. The
keyword OLD may be used to leave the previous value unchanged. Here are some
examples:
<br><br>
<table border=2 cellspacing=2 cellpading=0>
<td align="left">
col yellow orange red red DarkRed black
</td>
<td align="left">
Define two color surfaces
<br>
with six colors.
</td>
<tr>
<td align="left">
col rgb:ffff/ffff/4444 rgb:ffff/dddd/0000 DarkRed
</td>
<td align="left">
One color surface,
<br>
three colors.
</td>
<tr>
<td align="left">
col old old old black black black
</td>
<td align="left">
Leave the front colors unchanged,
<br>
set all back colors to black.
</td>
</table>
<br>
Be careful with the keyword OLD - it may be used only if the currently
used color scheme has at least as many colors as a new one.
<br><br>
<font color=#880000>
<b>
RELATED COMMANDS
<br>
</b>
</font>
FADING may be used to change the position of outer color surfaces and to
switch color fading on and off.
<br><br>
<hr size="3">
</html>
|