Permalink
Browse files

saved fasta file not correct - ID: 3547911

Select "guide" in get_fastastr which will select only one CA per residue
if alternative conformations are present.

https://sourceforge.net/tracker/?func=detail&aid=3547911&group_id=4546&atid=104546
  • Loading branch information...
1 parent 9002eb7 commit 9ded422836f923690054fd69d9af10af6dbd0679 @speleo3 committed Jul 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/pymol/exporting.py
@@ -177,7 +177,7 @@ def get_fastastr(selection="all", state=-1, quiet=1, _self=cmd):
'''
state, quiet = int(state), int(quiet)
dict = { 'seq' : {} }
- _self.iterate("("+selection+") and polymer and name ca",
+ _self.iterate("("+selection+") and guide and name CA",
"seq.setdefault((model,chain),[]).append(resn)", space=dict)
result = []
for (obj, chain), resn_list in dict['seq'].iteritems():

0 comments on commit 9ded422

Please sign in to comment.