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

Fasta Absolute path bug #4

Open
galeoni opened this issue Jul 16, 2024 · 0 comments
Open

Fasta Absolute path bug #4

galeoni opened this issue Jul 16, 2024 · 0 comments

Comments

@galeoni
Copy link

galeoni commented Jul 16, 2024

Hi,

First of all, thanks for having developed GenoFlu!
I think I found a bug. When using abs path to fasta as input (i.e. genofly.py -f /AbsPath/Fasta), the tool retrieves the following error:

Traceback (most recent call last): File "/PathToGenoflu/bin/genoflu.py", line 342, in <module> genoflu = GenoFLU(FASTA=FASTA_abs_path, FASTA_dir=FASTA_dir, cross_reference=cross_reference, sample_name=args.sample_name, debug=args.debug) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "PathToGenoflu/bin/genoflu.py", line 135, in __init__ with open(FASTA_name, 'r') as f: ^^^^^^^^^^^^^^^^^^^^^

I fixed the issue by replacing the FASTA_name variable with the FASTA_abs_path variable.
Bests

Gabriele

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

1 participant