sanger-pathogens / circlator

A tool to circularize genome assemblies
http://sanger-pathogens.github.io/circlator/
Other
221 stars 56 forks source link

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

Open ppflrs opened 2 years ago

ppflrs commented 2 years ago

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\.]+)')),
yisuo1994 commented 4 months ago

Here is my solution:

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

nblouin commented 4 months ago

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

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