openvax / topiary

Predict mutated T-cell epitopes from sequencing data
Apache License 2.0
27 stars 9 forks source link

Permission denied or got an unexpected keyword argument 'models_path' #86

Closed GSDenghj closed 6 years ago

GSDenghj commented 6 years ago

Hi,

There was error when I running topiary, with ' --mhc-predictor netmhcpan ' , it exit with error: 'OSError: [Errno 13] Permission denied'. And if give ' --mhc-predictor-models-path ', it exit with error:'TypeError: NetMHCpan() got an unexpected keyword argument 'models_path'', How to fix it?

timodonnell commented 6 years ago

What happens if you type netMHCpan in a shell?

My guess is your netMHCpan installation may not be working. The --mhc-predictor-models-path flag I believe is only used with MHCflurry not netMHCpan.

GSDenghj commented 6 years ago

Yes, you're right, my netMHCpan wasn't in my PATH, it's necessary to set $PATH, $NETMHCpan and $TMP_DIR before run topiary.

Best wishes!