Skip to content

Instantly share code, notes, and snippets.

@mathisonian
Created November 17, 2014 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mathisonian/c20b35599dc6bf9f3c96 to your computer and use it in GitHub Desktop.
Save mathisonian/c20b35599dc6bf9f3c96 to your computer and use it in GitHub Desktop.
from sets import Set
setMap = {
'aele': Set(),
'fscu': Set(),
'mcav': Set(),
'shys': Set()
}
for line in lines:
strings = line.split('\t')
setMap[strings[0]].add(strings[2].split('_')[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment