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

GenoFLU 1.05 cannot analyze fasta files not in working directory #12

Open
peterk87 opened this issue Jan 16, 2025 · 1 comment
Open

Comments

@peterk87
Copy link

GenoFLU installed from Bioconda

$ genoflu.py -f test/test-genome-A1.fasta

genoflu.py set arguements:

        FASTA:  test/test-genome-A1.fasta
        FASTA_dir:  None
        cross_reference:  None
        sample_name:  None
        debug:  False


Traceback (most recent call last):
  File "/home/pkruczkiewicz/miniforge3/envs/genoflu/bin/genoflu.py", line 372, in <module>
    genoflu = GenoFLU(FASTA=FASTA_abs_path, FASTA_dir=FASTA_dir,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/pkruczkiewicz/miniforge3/envs/genoflu/bin/genoflu.py", line 146, in __init__
    with open(FASTA_name, 'r') as f:
         ^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'test-genome-A1.fasta'

It looks like FASTA_name should be self.FASTA_abs_path

@stuber
Copy link
Contributor

stuber commented Jan 16, 2025 via email

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