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

Glimmer error #2

Open
ghoshal opened this issue Oct 31, 2015 · 1 comment
Open

Glimmer error #2

ghoshal opened this issue Oct 31, 2015 · 1 comment

Comments

@ghoshal
Copy link

ghoshal commented Oct 31, 2015

Hi,

Whenever I run glimmer-mg.py, I am getting this error

Scanning query lengths...done. [Sat Oct 31 14:21:10 PDT 2015]

Reading IMM list...done. [Sat Oct 31 14:21:10 PDT 2015]

Creating reverse complement of seqs_240471.fa...done. [Sat Oct 31 14:21:10 PDT 2015]

Loading taxonomy...done. [Sat Oct 31 14:21:10 PDT 2015]

Scoring reads with Phymm...rm: cannot remove tempFwd_seqs_240471_fa.txt': No such file or directory rm: cannot removetempRev_seqs_240471_fa.txt': No such file or directory
rm: cannot remove `errFile_seqs_240471_fa.txt': No such file or directory
done. [Sat Oct 31 14:21:12 PDT 2015]

Traceback (most recent call last):
File "/home/biba/data/glimmer-mg/scripts/glimmer-mg.py", line 699, in
main()
File "/home/biba/data/glimmer-mg/scripts/glimmer-mg.py", line 51, in main
(sequence_classes,sequence_scores) = parse_phymm(sequence_file, options.top_hits, options.ignore)
File "/home/biba/data/glimmer-mg/scripts/glimmer-mg.py", line 599, in parse_phymm
sequence_top_scores[seq] = sequence_scores[s][0][0]
IndexError: string index out of range

Please help.

Thanks,

Bibaswan

@davek44
Copy link
Owner

davek44 commented Nov 3, 2015

NCBI appears to have changed the URL used by Phymm to grab the bacterial taxonomy. If you replace .scripts/.taxonomyInfo/0_getNCBIpages.pl with the one that I just committed into the directory phymm_patch, it should work again. I modified the install script, too. Try reinstalling phymm, and then testing Glimmer.

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