Skip to content

Commit 0c3dc40

Browse files
update changelog and bump version
1 parent 7d9a12d commit 0c3dc40

3 files changed

Lines changed: 26 additions & 10 deletions

File tree

CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,24 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## 2.0.0-beta27 - 2026-03-18
6+
7+
[f03804b](https://github.com/WrightonLabCSU/DRAM/commit/f03804bca43b15e55731316c00b1c34ac328c62c)...[7d9a12d](https://github.com/WrightonLabCSU/DRAM/commit/7d9a12d225c577a6b2fb0c4d7b1ba60a5588e1e8)
8+
9+
### Features
10+
11+
- Add a test version of dbcan3 to compare against dbcan2 ([efb3cc2](https://github.com/WrightonLabCSU/DRAM/commit/efb3cc23a5478f85e449099ec37285138cc5f8b7))
12+
13+
dbcan3 and dbcan3-sub test versions, will run both if run_dbcan3
14+
option is present.
15+
16+
- Switch hmmsearch to using PyHMMER search ([7d9a12d](https://github.com/WrightonLabCSU/DRAM/commit/7d9a12d225c577a6b2fb0c4d7b1ba60a5588e1e8))
17+
18+
PyHMMER has better parrallelism support, directly calling
19+
the lower level C bindings for HMMER and rewriting how
20+
it parallelizes. This means that when you had cpus=4 arg, it can
21+
1/3 of the walltime with the exact same result.
22+
523
## 2.0.0-beta26 - 2026-03-09
624

725
[605d4f5](https://github.com/WrightonLabCSU/DRAM/commit/605d4f5d619d9f373352c8f400128066edcf58ef)...[91edea7](https://github.com/WrightonLabCSU/DRAM/commit/91edea7e6974be47da036f0f8af247d3d033326a)

bin/hmm_search.py

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
alphabet = pyhmmer.easel.Alphabet.amino()
88

9+
910
@click.command()
1011
@click.option(
1112
"--hmm",
@@ -17,11 +18,7 @@
1718
type=click.Path(exists=True),
1819
help="Path to the input fasta to search against",
1920
)
20-
@click.option(
21-
"--e_value",
22-
type=float,
23-
help="e value cutoff for filtering"
24-
)
21+
@click.option("--e_value", type=float, help="e value cutoff for filtering")
2522
@click.option(
2623
"--output_file",
2724
type=click.Path(),
@@ -43,15 +40,16 @@ def main(hmm, input_file, e_value, output_file, cpus):
4340
print(hmms)
4441

4542
with open(output_file, "wb") as out_fh:
46-
47-
with pyhmmer.easel.SequenceFile(input_file, digital=True, alphabet=alphabet) as sf:
43+
with pyhmmer.easel.SequenceFile(
44+
input_file, digital=True, alphabet=alphabet
45+
) as sf:
4846
seqs = pyhmmer.easel.DigitalSequenceBlock(alphabet)
4947
seqs.extend(sf)
5048
first = True
5149
for hits in pyhmmer.hmmer.hmmsearch(hmms, seqs, cpus=cpus, E=e_value):
5250
hits.write(out_fh, format="domains", header=first)
53-
first=False
54-
#total = sum(len(hits) for hits in pyhmmer.hmmer.hmmsearch(hmms, seqs, cpus=8, E=1e-15))
51+
first = False
52+
# total = sum(len(hits) for hits in pyhmmer.hmmer.hmmsearch(hmms, seqs, cpus=8, E=1e-15))
5553
print(f"pyhmmer search completed in {time.time() - t1:.3} seconds")
5654

5755

nextflow.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ manifest {
481481
mainScript = 'main.nf'
482482
defaultBranch = 'master'
483483
nextflowVersion = '!>=24'
484-
version = '2.0.0-beta26'
484+
version = '2.0.0-beta27'
485485
doi = ''
486486
}
487487

0 commit comments

Comments
 (0)