HadrienG / InSilicoSeq

:rocket: A sequencing simulator
https://insilicoseq.readthedocs.io
MIT License
177 stars 32 forks source link

installation succeed, but iss generate failed #142

Closed xiaole99 closed 4 years ago

xiaole99 commented 4 years ago

Hi,

Nice tool.

I try to install by both pip and miniconda. Both make it. However, when I run

iss generate --genomes SRS121011.fasta --model miseq --output miseq_reads

It reported:

Traceback (most recent call last): File "/home/yinxiaole/.local/bin/iss", line 7, in from iss.app import main SyntaxError: can not delete variable 'record' referenced in nested scope

Where is wrong with my code? Thanks.

HadrienG commented 4 years ago

Hi!

There is nothing wrong with your command, only that the latest version of InSilicoSeq breaks python2 compatibility.

Reinstalling using a python3 conda environment should solve your issue.

Best, Hadrien.

xiaole99 commented 4 years ago

Thanks for your prompt reply. I will try python3.