Skip to content

Commit

Permalink
Update Pyrodigal to 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobnissen committed Jul 15, 2024
1 parent 308ddee commit 4a4fbda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions vamb/parsemarkers.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ def process_chunk(
chunk: list[FastaEntry],
hmms: list[pyhmmer.plan7.HMM],
name_to_id: dict[MarkerName, MarkerID],
finder: pyrodigal.OrfFinder,
finder: pyrodigal.GeneFinder,
) -> list[tuple[ContigID, np.ndarray]]:
# We temporarily store them as sets in order to deduplicate. While single contigs
# may have duplicate markers, it makes no sense to count this as contamination,
Expand Down Expand Up @@ -288,7 +288,7 @@ def work_per_process(
# allowing pyhmmer to scan multiple sequences at once for speed
chunk: list[FastaEntry] = []
result: list[tuple[ContigID, np.ndarray]] = []
finder = pyrodigal.OrfFinder(meta=True)
finder = pyrodigal.GeneFinder(meta=True)
with open(contig_path, "rb") as file:
for record in byte_iterfasta(file):
chunk.append(record)
Expand Down

0 comments on commit 4a4fbda

Please sign in to comment.