[Biopython] StructureBuilder
João Rodrigues
anaryin at gmail.com
Wed Oct 5 16:02:30 UTC 2011
Hello Stefania,
It should be possible to copy the entire protein yes, but I would rather use
deepcopy <http://docs.python.org/library/copy.html#copy.deepcopy> to create
a fully new Structure object and manipulate that one.
Something along the lines of:
import copy
[ ... Parse your structure to s...]
s_copy = copy.deepcopy(s)
for atom in s_copy.get_atoms():
*here use either atom.transform or just modify atom.coord*
Cheers,
João [...] Rodrigues
http://nmr.chem.uu.nl/~joao
2011/10/5 Nana Trapnest <nanatrapnest at hotmail.it>
>
> Hello,
> is it possible with structure builder copy all a protein and change atoms
> coord??? How can I do this??
> Thanks to all of you!
> Stefania
>
> _______________________________________________
> Biopython mailing list - Biopython at lists.open-bio.org
> http://lists.open-bio.org/mailman/listinfo/biopython
>
More information about the Biopython
mailing list