def get_indexer_by_filetype(fileType):
try:<EOL><INDENT>if fileType is FileType.genome_alignment:<EOL><INDENT>return index_genome_alignment_by_locus<EOL><DEDENT><DEDENT>finally:<EOL><INDENT>raise ValueError("<STR_LIT>" + str(fileType))<EOL><DEDENT>
Find the right indexer for a user-specified filetype.