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

Failed run - ?syntax issue #153

Closed
lflisboa opened this issue Apr 25, 2018 · 5 comments
Closed

Failed run - ?syntax issue #153

lflisboa opened this issue Apr 25, 2018 · 5 comments
Assignees

Comments

@lflisboa
Copy link

New user here, having recurrent issues right after:

[11:46:13] Running: fasta_generate_regions.py reference/ref.fa.fai 147471 > reference/ref.txt 2>> snps.log
[11:46:13] Error running command, check /path/to/snps.log

Getting following .log:

snps.log

Tried .gbff, .fasta as reference, both ultimately failing.

Appreciate your help!

@tseemann
Copy link
Owner

It says it can't run fasta_generate_regions.py
This is part of most freebayes packages (but not all).
Do you have it?

@tseemann tseemann self-assigned this Apr 26, 2018
@lflisboa
Copy link
Author

Thanks for your quick reply - I do have freebayes v1.0.2-dirty

@tseemann
Copy link
Owner

Do you have snps.log file for the failed run?

if you type fasta_generate_regions.py what happens?

@lflisboa
Copy link
Author

I get the same syntax error message as in the snps.log linked to my initial message:

File "/home/llisboa/miniconda3/bin/fasta_generate_regions.py", line 7
print "usage: ", sys.argv[0], " "
^
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("usage: ", sys.argv[0], " ")?

@lflisboa
Copy link
Author

lflisboa commented Apr 27, 2018

Problem solved it seems - @mcroxen figured it out - python3 was probably being called instead of python2.7, so creating an environment for snippy did the trick, but just for --ref .fasta, otherwise having same issue as #154 with snpeff

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants