def coordinate_filter(self, query, mongo_query):
LOG.debug('<STR_LIT>')<EOL>chromosome = query['<STR_LIT>']<EOL>mongo_query['<STR_LIT>'] = chromosome<EOL>if (query.get('<STR_LIT:start>') and query.get('<STR_LIT:end>')):<EOL><INDENT>mongo_query['<STR_LIT>'] = {'<STR_LIT>': int(query['<STR_LIT:end>'])}<EOL>mongo_query['<STR_LIT:end>'] = {'<STR_LIT>': int(query['<STR_LIT:start>'])}<EOL><DEDENT>return mongo_query<EOL>
Adds genomic coordinated-related filters to the query object

        Args:
            query(dict): a dictionary of query filters specified by the users
            mongo_query(dict): the query that is going to be submitted to the database

        Returns:
            mongo_query(dict): returned object contains coordinate filters