Hi Jianhao,
Any easy solution is to use cmd.do with lets you issue pml commands in Python:
cmd.do('label (n. CA and (resi 800-850 and chain A)), "%s%s"%(resn, resi)')
Best regards,
Blaine
Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medic
Thank you, Blaine. It really works!
Mooers, Blaine H.M. (HSC) 于2020年5月2日周六 下午3:37写道:
> Hi Jianhao,
>
> Any easy solution is to use cmd.do with lets you issue pml commands in
> Python:
>
> cmd.do('label (n. CA and (resi 800-850 and chain A)), "%s%s"%(resn, resi)')
>
> Best regards,
>
> Blaine
>
>