Skip to content

Commit 03c9038

Browse files
committed
fix number of hmmhits core compilation
1 parent f7c4cf8 commit 03c9038

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

fdog/libs/corecompile.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ def compile_core(args):
231231
if not leaf == refspec_id and \
232232
not leaf in added_taxa and \
233233
not leaf in ignored_taxa:
234+
output_fn.print_debug(debugCore, '','')
234235
output_fn.print_debug(
235236
debugCore, '',
236237
'Leaf %s - %s' % (leaf, tax_ids[leaf]))

fdog/libs/hmm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@ def sort_hmm_hits(hmm_hits, hitLimit = 10, scoreCutoff = 10, debug = False):
6868
score_dict[best_domain_score].append(best_domain_hit)
6969
output_fn.print_debug(debug, 'All HMM hits', ori_hits)
7070
hmm_cand = {}
71-
n = 1
71+
n = 0
7272
score_dict = {
7373
key:val for key, val in score_dict.items() \
7474
if key >= cutoff
7575
}
76+
output_fn.print_debug(debug, 'Candidate HMM hits', score_dict)
7677
for score in sorted(score_dict, reverse = True):
7778
if n < hitLimit:
7879
for id in score_dict[score]:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
setup(
2828
name="fdog",
29-
version="0.1.8",
29+
version="0.1.9",
3030
python_requires='>=3.7.0',
3131
description="Feature-aware Directed OrtholoG search tool",
3232
long_description=long_description,

0 commit comments

Comments
 (0)