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

Coverage file error #220

Open
esteinig opened this issue Feb 4, 2022 · 1 comment
Open

Coverage file error #220

esteinig opened this issue Feb 4, 2022 · 1 comment
Labels

Comments

@esteinig
Copy link

esteinig commented Feb 4, 2022

Versions:

  • Python 3.9
  • ISS 1.5.4

Reproduce:

echo -e "ref.fasta    0.1" > coverage.txt
iss generate --cpus 4 --draft ref.fasta --model miseq --coverage_file coverage.txt --output pool_miseq

Error:

INFO:iss.app:Starting iss generate
INFO:iss.app:Using kde ErrorModel
INFO:iss.util:Stitching input files together
WARNING:iss.app:--coverage_file is an experimental feature
WARNING:iss.app:--coverage_file disables --n_reads
INFO:iss.app:Using coverage file:coverage.txt
Traceback (most recent call last):
  File "/data/opt/conda/envs/iss/bin/iss", line 10, in <module>
    sys.exit(main())
  File "/data/opt/conda/envs/iss/lib/python3.9/site-packages/iss/app.py", line 608, in main
    args.func(args)
  File "/data/opt/conda/envs/iss/lib/python3.9/site-packages/iss/app.py", line 174, in generate_reads
    abundance_dic_short,
UnboundLocalError: local variable 'abundance_dic_short' referenced before assignment
@amckay1
Copy link

amckay1 commented Mar 25, 2022

Ran into this as well

@HadrienG HadrienG mentioned this issue Aug 8, 2023
4 tasks
@HadrienG HadrienG added the bug label Aug 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants