def filer(filelist):
<EOL>filedict = dict()<EOL>for seqfile in filelist:<EOL><INDENT>strainname = os.path.splitext(os.path.basename(seqfile))[<NUM_LIT:0>]<EOL>filedict[strainname] = seqfile<EOL><DEDENT>return filedict<EOL>
Helper script that creates a dictionary of the stain name: /sequencepath/strain_name.extension)
:param filelist: list of files to parse
:return filedict: dictionary of stain name: /sequencepath/strain_name.extension