You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank you for this tool and for the updated version, the performance seems to have really improved and it will come in handy for my work!
I am trying to simulate a metagenome with the "coverage" option rather than abundance (i.e. I would like to consider the genome-length in the final output), and I would like iss to generate the log-normal coverage distribution for me.
I tried running as follows:
iss generate --draft *fasta --model hiseq --coverage lognormal --n_reads 1M
And I get the following error:
Traceback (most recent call last):
File "/home/ghoresh/.cache/pypoetry/virtualenvs/simulate-metagenome-oP5jUgnD-py3.9/bin/iss", line 8, in <module>
sys.exit(main())
File "/home/ghoresh/.cache/pypoetry/virtualenvs/simulate-metagenome-oP5jUgnD-py3.9/lib/python3.9/site-packages/iss/app.py", line 454, in main
args.func(args)
File "/home/ghoresh/.cache/pypoetry/virtualenvs/simulate-metagenome-oP5jUgnD-py3.9/lib/python3.9/site-packages/iss/app.py", line 81, in generate_reads
n_read_pairs = n_reads // 2
UnboundLocalError: local variable 'n_reads' referenced before assignment
Your assistance would be appreciated!
Many thanks
Gal
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for this tool and for the updated version, the performance seems to have really improved and it will come in handy for my work!
I am trying to simulate a metagenome with the "coverage" option rather than abundance (i.e. I would like to consider the genome-length in the final output), and I would like iss to generate the log-normal coverage distribution for me.
I tried running as follows:
iss generate --draft *fasta --model hiseq --coverage lognormal --n_reads 1M
And I get the following error:
Your assistance would be appreciated!
Many thanks
Gal
The text was updated successfully, but these errors were encountered: