Skip to content
Permalink
master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
//
// main.c
// PASSFinder
//
// Created by Georgi Tushev on 07/09/16.
// Copyright © 2016 Scientific Computing. All rights reserved.
//
#include <stdio.h>
#include <time.h>
#include "config.h"
#include "htsutils.h"
int main(int argc, const char * argv[])
{
aux_config_t aux;
hts_config_t hts;
// parse auxiliary configuration
aux_parse(&aux, argc, argv);
clock_t begin = clock();
// initialize with hts
hts_init(&hts, &aux);
// parse with hts
hts_parse(&hts, &aux);
// dump hash
hts_printout(&hts);
// free
hts_destroy(&hts);
clock_t end = clock();
double time_spent = (double)(end - begin) / CLOCKS_PER_SEC;
fprintf(stderr, "Time: %.4f sec\n", time_spent);
return 0;
}