If you save `.matter', this will apply to all models in that directory the next time you start ribbons. If you save `YourModel.matter', this will apply to the model `YourModel'. Ditto for `.defaults' and `.orient' files.
If you think every user in your group should always use some particular settings, save, for example, `.matter' in the $RIBBONS_HOME/data directory.
If you want black/white background:
1) select "View" sub-menu from the main menu.
2) select the toggle "White Background"
(this is good for screen dumps to a printer)
The next time it is selected, it should read:
"Black Background"
pdb-hb-cyl protein_chain.pdb mainchain_hb.cyl
The output 'mainchain_hb.cyl' is an ascii ribbons-style bond file, with the bonds from the carbonyl O to the amide H.
For general H-bonds, I have used either 'X-PLOR' or 'hbcalc'.
Usually, you would just like a few selected H-bonds for an image. It is probably fastest to just do this by hand editing. Recall, my special cylinder file format is:
x.1 y.1 z.1 x.2 y.2 z.2 rad.bond kolorIndex
If you just want dashed lines, use the Bond Panel Editor (alt-b), set the draw style to `lines', and adjust the complexity. If you want dashed cylinders, you must create a file with lots of short little cylinders. There is a little awk file to accomplish this. You may want to copy a version over and edit to adjust the 'DASH' variable if the pattern is not to your liking.
cp $RIBBONS_HOME/misc/awks/dash-cyl.awk your.awk awk -f your.awk < normal.cyl > dashed.cyl
Examples: (1) The user has added a custom coloring scheme for two protein chains, A & B. The tops of the *.ss files are listed below:
Protein A (Astuff added) res# seq ss sshb hb Astuff 15 V c c O X ..... Protein B (Bstuff added) res# seq ss sshb hb Bstuff 1 G c c x Y .....The default Sequence color options will be: "seq" "ss" "sshb" "hb" Solution: name the key in both "stuff".
(2) The user has a protein chain and a nucleic acid chain. There is more information for the protein generated by the *.ss programs, and the user has added extra information for each.
Protein (xtra added to mark binding site) res# seq ss sshb hb xtra 1 G c c x N ..... DNA (xtra added to mark binding site) res# seq ss xtra 1 C S Y .....The default Sequence color options will be: "seq" "ss" Solutions: Hack - add dummy "sshb" & "hb" columns to the DNA.ss file before you add the "xtra" column.
*** Note: *** In either case above, you can always set the individual *.ss color. Take the second example: Open the Ribbons Style panel, select "Ribbon Lists" (which should say "coord" by default, indicating that any changes you make to any of the widgets apply to EVERY ribbon model). You should see "coord", "Protein", & "DNA". Select "Protein", then select "xtra" with the Sequence Color widget (here you will see every field in Protein's *.ss file listed). Then select "DNA", and again select "xtra" with the Sequence Color widget (here you will see every field in the DNA's *.ss file listed).