Skip to content

Commit

Permalink
removed unnecessary fasta_file.h
Browse files Browse the repository at this point in the history
  • Loading branch information
yuk12 committed Aug 2, 2019
1 parent a9fd42d commit 97a2db0
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 194 deletions.
1 change: 0 additions & 1 deletion Makefile
Expand Up @@ -117,7 +117,6 @@ src/fastmap.o: src/fastmap.h src/bwa.h src/bntseq.h src/bwt.h src/macro.h
src/fastmap.o: src/bwamem.h src/kthread.h src/bandedSWA.h src/kstring.h
src/fastmap.o: src/ksw.h src/kvec.h src/ksort.h src/utils.h src/profiling.h
src/fastmap.o: src/FMI_search.h src/read_index_ele.h src/kseq.h
src/fastmap.o: src/fasta_file.h
src/kstring.o: src/kstring.h
src/ksw.o: src/ksw.h src/macro.h
src/kswv.o: src/kswv.h src/macro.h src/ksw.h src/bandedSWA.h
Expand Down
1 change: 1 addition & 0 deletions src/bntseq.cpp
Expand Up @@ -236,6 +236,7 @@ void bns_destroy(bntseq_t *bns)

static uint8_t *add1(const kseq_t *seq, bntseq_t *bns, uint8_t *pac, int64_t *m_pac, int *m_seqs, int *m_holes, bntamb1_t **q)
{
fprintf(stderr, "%s\n", seq->name);
bntann1_t *p;
int i, lasts;
if (bns->n_seqs == *m_seqs) {
Expand Down
192 changes: 0 additions & 192 deletions src/fasta_file.h

This file was deleted.

2 changes: 1 addition & 1 deletion src/fastmap.cpp
Expand Up @@ -41,7 +41,7 @@ Authors: Vasimuddin Md <vasimuddin.md@intel.com>; Sanchit Misra <sanchit.misra@i
#include <sstream>
#include "fastmap.h"
#include "FMI_search.h"
#include "fasta_file.h"
// #include "fasta_file.h"
#if 0 && (__linux__)
#include <sys/sysinfo.h>
#endif
Expand Down
16 changes: 16 additions & 0 deletions src/profiling.cpp
Expand Up @@ -165,6 +165,22 @@ int display_stats()
fprintf(stderr, "\n\tTotal allocs: %d = %d out total requests: %d, Rate: %0.2f\n",
agg1, agg3, agg2, agg1*1.0/agg2);

#if HIDE
fprintf(stderr, "\n BSW Perf.:\n");
find_opt(tprof[MEM_ALN2_B], 1, &max, &min, &avg);
fprintf(stderr, "\tLeft 16-bit time avg: %0.2lf, (%0.2lf, %0.2lf)\n",
avg*1.0/proc_freq, max*1.0/proc_freq, min*1.0/proc_freq);
find_opt(tprof[MEM_ALN2_D], 1, &max, &min, &avg);
fprintf(stderr, "\tLeft 8-bit time avg: %0.2lf, (%0.2lf, %0.2lf)\n",
avg*1.0/proc_freq, max*1.0/proc_freq, min*1.0/proc_freq);
find_opt(tprof[MEM_ALN2_C], 1, &max, &min, &avg);
fprintf(stderr, "\tRight 16-bit time avg: %0.2lf, (%0.2lf, %0.2lf)\n",
avg*1.0/proc_freq, max*1.0/proc_freq, min*1.0/proc_freq);
find_opt(tprof[MEM_ALN2_E], 1, &max, &min, &avg);
fprintf(stderr, "\tRight 8-bit time avg: %0.2lf, (%0.2lf, %0.2lf)\n",
avg*1.0/proc_freq, max*1.0/proc_freq, min*1.0/proc_freq);
#endif

#if HIDE
fprintf(stderr, "\nSTATSV\n");
fprintf(stderr, "%0.2lf\n", tprof[PROCESS][0]*1.0/proc_freq);
Expand Down

0 comments on commit 97a2db0

Please sign in to comment.