circlator icon indicating copy to clipboard operation
circlator copied to clipboard

Found canu but couldn't get version. (canu 2.2)

Open ppflrs opened this issue 3 years ago • 2 comments

If someone using circlator 1.5.5 and canu 2.2 encounters the error:

'Found canu but couldn't get version'

The fix is to change the following line in external_progs.py:

'canu': ('-version', re.compile(r'^Canu \D*([\d][\d\.]+)')),

for

'canu': ('-version', re.compile(r'^canu \D*([\d][\d\.]+)')),

ppflrs avatar Feb 03 '22 11:02 ppflrs

Here is my solution:

Install the specified version of Canu by “mamba install canu=1.5”.

yisuo1994 avatar Feb 20 '24 06:02 yisuo1994

I got around this by commenting out the problem in assemble.py. See this issue below.

https://github.com/sanger-pathogens/circlator/issues/149

nblouin avatar Feb 21 '24 20:02 nblouin