allpy
changeset 1028:aac0f23643f2
blocks_to_pymol(): hide atoms, absent in the alignment
author | Boris Nagaev <bnagaev@gmail.com> |
---|---|
date | Fri, 16 Mar 2012 00:20:00 +0400 |
parents | f31601bca2ac |
children | 12b9d1770582 |
files | allpy/structure.py |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line diff
1.1 --- a/allpy/structure.py Fri Mar 16 00:10:42 2012 +0400 1.2 +++ b/allpy/structure.py Fri Mar 16 00:20:00 2012 +0400 1.3 @@ -511,8 +511,8 @@ 1.4 Other sequences are fitted to the main sequence, using all the columns 1.5 from any block, which contains both sequences. 1.6 1.7 - All involved chains are shown with sticks, transparency=0.6 1.8 - (only backbone C, N and CA atoms). 1.9 + All atoms, involved into self block, are shown with sticks, 1.10 + transparency=0.6 (only backbone C, N and CA atoms). 1.11 Atoms, involved in blocks, are shown with cartoon. 1.12 1.13 TODO: Each block is shown in one pymol frame. 1.14 @@ -554,7 +554,7 @@ 1.15 file.write("hide everything, all\n") 1.16 for s in self.sequences: 1.17 file.write("show sticks, %(seq)s and name c+n+ca\n" % 1.18 - {'seq': sequence_line(s)}) 1.19 + {'seq': columns_line(self.columns, s)}) 1.20 for block in blocks: 1.21 for s in block.sequences: 1.22 file.write("show cartoon, %(seq)s\n" %