handle sending a query to bin_query or annotate
add code and supplemental info for paper