Skip to content
This repository has been archived by the owner on Sep 14, 2024. It is now read-only.

Change from pyfasta to pyfaidx #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

xorJane
Copy link

@xorJane xorJane commented Jan 12, 2023

pyfasta (https://github.com/brentp/pyfasta) has been archived and suggests the use of pyfaidx (https://github.com/mdshw5/pyfaidx).

Making this change resolves the following errors when trying to import biovec:

>>> import biovec
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/WS1/janeh/biovec/biovec-env/lib/python3.8/site-packages/biovec/__init__.py", line 1, in <module>
    from biovec import models
  File "/usr/WS1/janeh/biovec/biovec-env/lib/python3.8/site-packages/biovec/models/__init__.py", line 1, in <module>
    from biovec.models.prot_vec import *
  File "/usr/WS1/janeh/biovec/biovec-env/lib/python3.8/site-packages/biovec/models/prot_vec.py", line 2, in <module>
    from biovec.utils import *
  File "/usr/WS1/janeh/biovec/biovec-env/lib/python3.8/site-packages/biovec/utils.py", line 1, in <module>
    from pyfasta import Fasta
  File "/usr/WS1/janeh/biovec/biovec-env/lib/python3.8/site-packages/pyfasta/__init__.py", line 3, in <module>
    from fasta import Fasta, complement, DuplicateHeaderException
ModuleNotFoundError: No module named 'fasta'

This should resolve Issue #15. Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant