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

fasta2homozygous.py error #35

Closed
mgalland opened this issue Aug 3, 2017 · 2 comments
Closed

fasta2homozygous.py error #35

mgalland opened this issue Aug 3, 2017 · 2 comments

Comments

@mgalland
Copy link

mgalland commented Aug 3, 2017

Dear Leszek,
Your Redundans assembly pipeline looks very promising. Unfortunately I got stuck when running the test run:

./redundans.py -v -i test/*.fq.gz -f test/contigs.fa -o test/run1

I got the following error message:
File "/home/mgalland/workspace/wild_tomato_genomes/scr/redundans/bin/fasta2homozygous.py", line 126 contig2skip = {c: 0 for c in faidx}
SyntaxError: invalid syntax

The forlooks like the problem here.

Can you help there?
Thanks in advance,
Marc

@lpryszcz
Copy link
Collaborator

lpryszcz commented Aug 7, 2017

You need to use Python 2.7 (most likely you are running python 2.6).

Bests,

@lpryszcz lpryszcz closed this as completed Aug 7, 2017
@lpryszcz
Copy link
Collaborator

lpryszcz commented Aug 7, 2017

I've added exception for Python versions other than 2.7.

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

2 participants