mroosmalen / nanosv

SV caller for nanopore data
MIT License
89 stars 22 forks source link

error of last-train #32

Closed HuJane closed 6 years ago

HuJane commented 6 years ago

Dear Mroosmalen, I've got some problem when ran last-train. Firstly, I thought it was because of the python version, but after I changed from 3 to 2, the error was still appeared...

pyenv versions system

last-train -P8 -Q1 ../hg38db ../assembly/DDEX.fastq > my-params last-train: error: a bytes-like object is required, not 'str'

mroosmalen commented 6 years ago

I did not get this error when I used last-train. Maybe it is a version problem of LAST? I used last-921. Maybe you can contact the authors of LAST via http://last.cbrc.jp/doc/last.html.

wdecoster commented 6 years ago

FWIW, I have to run last-train like this:

python2.7 `which last-train`

I'm not sure, but upon installation it seems last-train got prefixed (on my system) with

#!/home/wdecoster/anaconda3/bin/python

which is python3.

Cheers, Wouter

jaesvi commented 6 years ago

We'd love to help but it is probably better to contact the maintainers of LAST for this issues.