Added selectreads and changed readreduce to use argparse