[Biojava-l] modify structure

Tamas Horvath hotafin at gmail.com
Thu Dec 1 20:30:14 EST 2005


If I've got a Group , which is an amino acid, and I want to shift it by a 3Dvector (or 3 2D vectors), how may I do it?Similarly, if i want to rotate the same structure, how may I do it?If you just can show me a very short sample code, I'd really appreciate it!Thanks!
On 12/1/05, Tamas Horvath <hotafin at gmail.com> wrote:>> Exactly... I want to keep a backbone and replace the whole sidechain as> necessary... I know this should be relatively easy, but I'm a bit lost int> the documentation...>> On 12/1/05, Andreas Prlic <ap3 at sanger.ac.uk> wrote:> >> > Hi Tamas,> >> >   it is possible to access the content of a structure and> > change/add/drop groups  and atoms as you wish.> >> >   When talking about introducing "point mutations" I assume you want to> > re-label a residue's main chain> >   atoms and drop the side chain atoms, but keep the Cb one? this would> > take only a few lines to implement.> >> > Cheers,> > Andreas> >> > On 30 Nov 2005, at 16:21, Tamas Horvath wrote:> >> > > Is there any way to modify a protein structure by modifying the> > > contents ofthe Structure object?In short, I have a Structure object,> > > parsed from a pdb file, and I want tointroduce point mutations to it,> > > and save the modified structure to a pdbfile for further analysis...> > > (I intend to use gromacs for instance if itmatters)...> > > _______________________________________________> > > Biojava-l mailing list  -  Biojava-l at biojava.org> > > http://biojava.org/mailman/listinfo/biojava-l> > >> > >> > -----------------------------------------------------------------------> >> > Andreas Prlic      Wellcome Trust Sanger Institute> >                                Hinxton, Cambridge CB10 1SA, UK> >                          +44 (0) 1223 49 6891> >> >>


More information about the Biojava-l mailing list