]> git.donarmstrong.com Git - biopieces.git/blob - code_c/Maasha/src/bed_sort.c
d8e84eb8a6f13f3321b9e39f84e1d34529662be2
[biopieces.git] / code_c / Maasha / src / bed_sort.c
1 /* Martin Asser Hansen (mail@maasha.dk) Copyright (C) 2008 - All right reserved */
2
3 #include "common.h"
4 #include "list.h"
5 #include "ucsc.h"
6
7
8 int main( int argc, char *argv[] )
9 {
10     char    *file    = NULL;
11     list_sl *entries = NULL;
12
13     file = argv[ 1 ];
14
15     entries = bed_entries_get( file, 3 );
16
17     list_sl_sort( &entries, cmp_bed_sort_chr_beg );
18
19     bed_entries_put( entries, 3 );
20
21     return EXIT_SUCCESS;
22 }