Skip to content

Instantly share code, notes, and snippets.

@avishekrk
Created April 23, 2016 19:37
Show Gist options
  • Save avishekrk/6026f8ce2b96b0015d00916c78c0307f to your computer and use it in GitHub Desktop.
Save avishekrk/6026f8ce2b96b0015d00916c78c0307f to your computer and use it in GitHub Desktop.
def get_seq(ATOMS):
from dfi.fafsaseq import mapres
return ''.join([mapres[i.res_name] for i in ATOMS])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment