/* bedSort - Sort a BED file by chrom,chromStart. */

/* Copyright (C) 2011 The Regents of the University of California 
 * See kent/LICENSE or http://genome.ucsc.edu/license/ for licensing information. */
#include "common.h"
#include "hash.h"
#include "bed.h"


void usage()
/* Explain usage and exit. */
{
errAbort(
  "bedSort - Sort a .bed file by chrom,chromStart\n"
  "usage:\n"
  "   bedSort in.bed out.bed\n"
  "in.bed and out.bed may be the same.");
}

int main(int argc, char *argv[])
/* Process command line. */
{
if (argc != 3)
    usage();
bedSortFile(argv[1], argv[2]);
return 0;
}
