glam2 python 3 support

77 views
Skip to first unread message

Hendrik Schultheis

unread,
Apr 21, 2020, 4:40:48 AM4/21/20
to MEME Suite Q&A
Hi,
I was delighted when I saw that your new version (5.1.1) has python 3 support.
So I installed it and tried to run glam2, which gave me the following Error:

Traceback (most recent call last):
  File "/home/hschult/.conda/motif/libexec/meme-5.1.1/glam2html", line 87, in <module>
    assert len(alignments) > 0
AssertionError
Program glam2html exited with value 1
Warning: failed to convert output to HTML!

So it seems that there are for some reason no alignments?
The rest of glam2s output is as expected.
I tried to narrow it down by running the same with python 2.7 and there were no problems.

Is glam2 not supporting python 3?

Karan Bedi

unread,
Jul 1, 2020, 12:46:15 AM7/1/20
to MEME Suite Q&A
Hi Hendrik,
Did you have to re-install the software for it to run with python 2.7? If yes, did you use the option --with-python=/your/path/to/python2.7 alongside ./configure ?
Karan

Hendrik Schultheis

unread,
Jul 29, 2020, 5:08:28 AM7/29/20
to MEME Suite Q&A
Hi Karan,
Thanks for your answer.
I'm using conda so I created a new environment with python 2.7 and meme. In other words no re-install but rather a second independent parallel installation if that makes sense.
Reply all
Reply to author
Forward
0 new messages