Skip to content
Snippets Groups Projects
Commit 94b67318 authored by Marco Biasini's avatar Marco Biasini
Browse files

make AlignToSEQRES usable for polynucleotides

parent 6eeafa6b
No related branches found
No related tags found
No related merge requests found
...@@ -88,7 +88,7 @@ def AlignToSEQRES(chain, seqres, try_resnum_first=False, validate=True): ...@@ -88,7 +88,7 @@ def AlignToSEQRES(chain, seqres, try_resnum_first=False, validate=True):
from ost import seq from ost import seq
from ost import mol from ost import mol
from ost import LogWarning from ost import LogWarning
view=chain.Select('ligand=false and peptide=true') view=chain
residues=view.residues residues=view.residues
if len(residues)==0: if len(residues)==0:
return seq.CreateAlignment() return seq.CreateAlignment()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment