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

Errors when running code #45

Closed
AShaw1802 opened this issue Jan 24, 2018 · 3 comments
Closed

Errors when running code #45

AShaw1802 opened this issue Jan 24, 2018 · 3 comments
Assignees
Labels

Comments

@AShaw1802
Copy link

Hi,
I've been trying to use InSiclicoSeq to create an NGS dataset from a single 7.4kb genome (starting with a shortened fragment), running the program from the linux command line in a qiime VirtualBox. I've been given a couple of error messages however; the first (error message 1 attached) stating invalid syntax in app.py at line 78. I could avoid this by removing the "elif" segment that deals with ncbi genomes (lines 68-78), but then run into another issue later where InSilicoSeq calls seq.py (error message 2 attached), this time a type error.
I've also attached the DNA sequence I was using in my command- iss generate --genomes PV3_gb_MF678293Short.fasta -model miseq --output miseq_reads -n 10000

Error1.txt
Error2.txt
PV3_gb_MF678293Short.txt

I can provide further information if it helps to recreate the errors. And thanks for creating this software by the way- I've spent days trying to find an up to date package for NGS data simulation.
Thanks,
Alex

@HadrienG HadrienG self-assigned this Jan 27, 2018
@HadrienG
Copy link
Owner

Hi,

Thanks for reporting these! The first error is due to for g, n in zip(*args.ncbi, *args.n_genomes): being python3 only syntax.

InSilicoSeq is developed in python3 and supposed to be backwards compatible with python2 but sometimes python3 only syntax slips through the cracks.

In your second error, the problem is that the insert size modelling tried to generate a template that is bigger than your input sequence.

I will try to publish a minor release fixing those two bugs as soon as possible.

Thanks for your interest in InSilicoSeq!

Best,
Hadrien

@AShaw1802
Copy link
Author

AShaw1802 commented Feb 8, 2018 via email

@HadrienG
Copy link
Owner

HadrienG commented Feb 8, 2018

No problem!

I just published a minor bugfix release, you should be able to install it with pip install --upgrade insilicoseq

Best,
Hadrien

@HadrienG HadrienG closed this as completed Feb 8, 2018
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

2 participants