Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run error #109

Open
liamxg opened this issue Aug 29, 2024 · 2 comments
Open

run error #109

liamxg opened this issue Aug 29, 2024 · 2 comments

Comments

@liamxg
Copy link

liamxg commented Aug 29, 2024

Dear Prof. @spond,

Please see below:


hivtrace -i TEST.FASTA -a resolve -r HXB2_prrt -t .015 -m 500 -g .05 -c
Traceback (most recent call last):
  File "/Users/liam/opt/miniconda3/bin/bealign", line 16, in <module>
  from BioExt.scorematrices import (
    File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/BioExt/scorematrices/__init__.py", line 4, in <module>
      from BioExt.scorematrices._scorematrix import *
      File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/BioExt/scorematrices/_scorematrix.py", line 12, in <module>
      from BioExt.optimize import minimize_bfgs
    File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/BioExt/optimize/__init__.py", line 193, in <module>
      tol=1e-5, norm=numpy.Inf, eps=_epsilon, maxiter=None,
    File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/numpy/__init__.py", line 397, in __getattr__
    raise AttributeError(
      AttributeError: `np.Inf` was removed in the NumPy 2.0 release. Use `np.inf` instead.
      Traceback (most recent call last):
        File "/Users/liam/opt/miniconda3/bin/hivtrace", line 8, in <module>
        sys.exit(main())
      File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/hivtrace/hivtrace.py", line 793, in main
      results = hivtrace(
        File "/Users/liam/opt/miniconda3/lib/python3.9/site-packages/hivtrace/hivtrace.py", line 438, in hivtrace
        subprocess.check_call(bealign_process, stdout=DEVNULL)
        File "/Users/liam/opt/miniconda3/lib/python3.9/subprocess.py", line 373, in check_call
        raise CalledProcessError(retcode, cmd)
        subprocess.CalledProcessError: Command '['/Users/liam/opt/miniconda3/bin/bealign', '-q', '-r', 'HXB2_prrt', '-m', 'HIV_BETWEEN_F', '-R', 'TEST.FASTA', '/var/folders/q4/gvrdsnj94vl527nfhj25rxh40000gn/T/hivtrace-pa1fw79s/TEST.FASTA_output.bam']' returned non-zero exit status 1.
@stevenweaver
Copy link
Member

Dear @liamxg,

Can you please update BioExt? pip install -U bioext.

Best,
Steven

@liamxg
Copy link
Author

liamxg commented Aug 30, 2024

Dear @stevenweaver,

I already updated BioExt, please see below:

`pip install -U bioext
Requirement already satisfied: bioext in ./opt/miniconda3/lib/python3.9/site-packages (0.21.9)
Requirement already satisfied: biopython>=1.78 in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (1.81)
Requirement already satisfied: numpy>=2.0 in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (2.0.2)
Requirement already satisfied: scipy>=0.15 in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (1.13.1)
Requirement already satisfied: pysam>=0.17 in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (0.21.0)
Requirement already satisfied: joblib in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (1.0.1)
Requirement already satisfied: six in ./opt/miniconda3/lib/python3.9/site-packages (from bioext) (1.15.0)
Requirement already satisfied: cython in ./opt/miniconda3/lib/python3.9/site-packages (from pysam>=0.17->bioext) (0.29.36)

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

No branches or pull requests

2 participants