Meh.
Simple Z-sorting is not intersecting spheres.
If it's any non-trivial vector graphic representation you are trying to do, you might consider the following workflow:
3D-viewer -> View Matrix -> Molscript -> PS -> ps2svg


B.




On 24-Nov-08, at 7:23 PM, Mike Marchywka wrote:


I guess the real question is, " what are you trying to do?" You could
probably write a perl script to do this. The pdb is ascii, you just need to project
3D onto 2D and get some atom colors and radii. SVG AFAIK is all ascii
XML which is easy to generate from a script.
If you take all the atoms, project, sort on Z ( distance from viewer),
and generat XML that would probably give you what you need.
http://www.w3.org/Graphics/SVG/

the code to draw circles is pretty simple,
http://www.w3.org/TR/SVG11/shapes.html> Date: Tue, 25 Nov 2008 07:36:35 +0800> From: [EMAIL PROTECTED]> To: [email protected]> Subject: Re: [BiO BB] Save protein structure image as an adobe SVG format file> > Hi,> > For viewing PDB files you can use Swiss PDB viewer software. Its free !!!> > > On Fri, Nov 21, 2008 at 11:14 PM, Xiaowei Jiang <[EMAIL PROTECTED]>wrote:> > > Hi fellows,> >> > Does anyone know a PDB viewer software or a way, in which I can save image> > directly as an adobe SVG format file?> >> > Thanks in advance!!> >> > Cheers,> > Xiaowei> >> >> >> >> > _______________________________________________> > BBB mailing list> > [email protected]> > http://www.bioinformatics.org/ mailman/listinfo/bbb> >> > > > -- > Thanks,> Shreyasee> _______________________________________________> BBB mailing list> [email protected]> http://www.bioinformatics.org/mailman/ listinfo/bbb
_________________________________________________________________
Proud to be a PC? Show the world. Download the “I’m a PC” Messenger themepack now.
hthttp://clk.atdmt.com/MRT/go/119642558/direct/01/
_______________________________________________
BBB mailing list
[email protected]
http://www.bioinformatics.org/mailman/listinfo/bbb


_______________________________________________
BBB mailing list
[email protected]
http://www.bioinformatics.org/mailman/listinfo/bbb

Reply via email to