Skip to content

Instantly share code, notes, and snippets.

@ychaouche
Created October 14, 2012 15:22
Show Gist options
  • Select an option

  • Save ychaouche/3888894 to your computer and use it in GitHub Desktop.

Select an option

Save ychaouche/3888894 to your computer and use it in GitHub Desktop.
ADN parser
>>> bar = lambda x:all(map(lambda x:x in "ATCG",x))
>>> bar("AGCT")
True
>>> bar("AGCTACCCTTA")
True
>>> bar("AGCTACCCTTA1")
False
>>>
@anshumanv2
Copy link

sir plss give me suggestion regarding these descripton

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment