Skip to content

Commit 4525781

Browse files
author
Genevieve Krause
committed
Merge branch 'develop' into main
2 parents 79b9519 + 6e40be1 commit 4525781

File tree

7 files changed

+828
-171
lines changed

7 files changed

+828
-171
lines changed

src/Makefile.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ OBJS = build.o\
132132
p7_pipeline.o\
133133
p7_prior.o\
134134
p7_profile.o\
135+
p7_search_builder.o\
135136
p7_spensemble.o\
136137
p7_tophits.o\
137138
p7_trace.o\

src/bathbuild.c

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -395,6 +395,7 @@ apply_fixed_gap_params(P7_HMM *hmm, double popen, double pextend){
395395
int
396396
main(int argc, char **argv)
397397
{
398+
398399
ESL_GETOPTS *go = NULL; /* command line processing */
399400
ESL_STOPWATCH *w = esl_stopwatch_Create();
400401
struct cfg_s cfg;
@@ -416,6 +417,7 @@ main(int argc, char **argv)
416417
cfg.ofp = NULL;
417418
cfg.fmt = eslMSAFILE_UNKNOWN; /* autodetect alignment format by default. */
418419
cfg.afp = NULL;
420+
cfg.sfp = NULL;
419421
cfg.abc = NULL;
420422
cfg.hmmfp = NULL;
421423
cfg.postmsafile = esl_opt_GetString(go, "-O"); /* NULL by default */
@@ -483,8 +485,10 @@ main(int argc, char **argv)
483485
if (cfg.abc) esl_alphabet_Destroy(cfg.abc);
484486
if (cfg.hmmfp) fclose(cfg.hmmfp);
485487
}
488+
486489
esl_getopts_Destroy(go);
487490
esl_stopwatch_Destroy(w);
491+
488492
return 0;
489493
}
490494

@@ -499,6 +503,7 @@ main(int argc, char **argv)
499503
static int
500504
usual_master(const ESL_GETOPTS *go, struct cfg_s *cfg)
501505
{
506+
502507
int ncpus = 0;
503508
int infocnt = 0;
504509
WORKER_INFO *info = NULL;
@@ -677,7 +682,7 @@ usual_master(const ESL_GETOPTS *go, struct cfg_s *cfg)
677682
esl_threads_Destroy(threadObj);
678683
}
679684
#endif
680-
685+
681686
free(info);
682687
return eslOK;
683688

src/bathsearch.c

Lines changed: 101 additions & 167 deletions
Large diffs are not rendered by default.

src/hmmer.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,6 +1925,9 @@ extern int p7_profile_GetT(const P7_PROFILE *gm, char st1, int k1,
19251925
extern int p7_profile_Validate(const P7_PROFILE *gm, char *errbuf, float tol);
19261926
extern int p7_profile_Compare(P7_PROFILE *gm1, P7_PROFILE *gm2, float tol);
19271927

1928+
/* p7_search_builder.c */
1929+
extern int p7_search_builder(const ESL_GETOPTS *go, ESL_ALPHABET *abc, char *infile, char *hmmfile, int fmt);
1930+
19281931
/* p7_spensemble.c */
19291932
P7_SPENSEMBLE *p7_spensemble_Create(int init_n, int init_epc, int init_sigc);
19301933
extern int p7_spensemble_Reuse(P7_SPENSEMBLE *sp);

src/p7_alidisplay.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,7 @@ p7_alidisplay_fs_Create(const P7_TRACE *tr, int which, const P7_PROFILE *gm, con
490490
}
491491

492492
if (ad->ppline != NULL) {
493-
for (z = z1; z <= z2; z++)
494-
ad->ppline[z-z1] = ( (tr->st[z] == p7T_D) ? '.' : p7_alidisplay_EncodePostProb(tr->pp[z]));
493+
for (z = z1; z <= z2; z++) ad->ppline[z-z1] = ( (tr->st[z] == p7T_D) ? '.' : p7_alidisplay_EncodePostProb(tr->pp[z]));
495494

496495
ad->ppline[z-z1] = '\0';
497496
}

0 commit comments

Comments
 (0)