{"action":"closed","issue":{"url":"https://api.github.com/repos/hammerlab/mhctools/issues/119","repository_url":"https://api.github.com/repos/hammerlab/mhctools","labels_url":"https://api.github.com/repos/hammerlab/mhctools/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/hammerlab/mhctools/issues/119/comments","events_url":"https://api.github.com/repos/hammerlab/mhctools/issues/119/events","html_url":"https://github.com/hammerlab/mhctools/issues/119","id":253597502,"number":119,"title":"error when using NetMHC","user":{"login":"haoye2015","id":15233779,"avatar_url":"https://avatars1.githubusercontent.com/u/15233779?v=4","gravatar_id":"","url":"https://api.github.com/users/haoye2015","html_url":"https://github.com/haoye2015","followers_url":"https://api.github.com/users/haoye2015/followers","following_url":"https://api.github.com/users/haoye2015/following{/other_user}","gists_url":"https://api.github.com/users/haoye2015/gists{/gist_id}","starred_url":"https://api.github.com/users/haoye2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haoye2015/subscriptions","organizations_url":"https://api.github.com/users/haoye2015/orgs","repos_url":"https://api.github.com/users/haoye2015/repos","events_url":"https://api.github.com/users/haoye2015/events{/privacy}","received_events_url":"https://api.github.com/users/haoye2015/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-08-29T10:00:29Z","updated_at":"2017-10-03T23:50:46Z","closed_at":"2017-10-03T23:50:46Z","author_association":"NONE","body":"Hi, I came accorss an error on using netMHC through mhctools 1.6.5.\r\n\r\nIt works well with NetMHCpan and MHCflurry, with the fillowing commands\r\n```\r\n>>> from mhctools import NetMHCpan\r\n>>> from mhctools import MHCflurry\r\n>>> predictor1 = MHCflurry(alleles=[\"HLA-A0201\"])\r\n>>> predictor2 = NetMHCpan(alleles=[\"HLA-A0201\"])\r\n```\r\n\r\nHowever, an error was reported, when I used NetMHC.  Since NetMHC-4.0 was well installed in the my local server and added into systhem path , when It works well with the command \"netMHC\" in linux command.   Did anyone came accross wthe same issue with me?\r\n```\r\n>>> from mhctools import NetMHC\r\n>>> predictor = NetMHC(alleles=[\"HLA-A0201\"])\r\n```\r\n\r\n` Unable to open(r) file /home/yeh/program/netMHC-4.0/Linux_x86_64/data/version\r\nERROR:mhctools.base_commandline_predictor:Unable to determine supported alleles\r\nTraceback (most recent call last):\r\n  File \"mhctools/base_commandline_predictor.py\", line 215, in _determine_supported_alleles\r\n    raise ValueError(\"Unable to determine supported alleles\")\r\nValueError: Unable to determine supported alleles\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"mhctools/netmhc.py\", line 59, in NetMHC\r\n    program_name=program_name)\r\n  File \"mhctools/netmhc4.py\", line 38, in __init__\r\n    default_peptide_lengths=default_peptide_lengths)\r\n  File \"mhctools/base_commandline_predictor.py\", line 159, in __init__\r\n    self.supported_alleles_flag)\r\n  File \"mhctools/base_commandline_predictor.py\", line 221, in _determine_supported_alleles\r\n    supported_allele_flag))\r\nSystemError: Failed to run netMHC -listMHC. Possibly an incorrect executable version?\r\n`\r\n\r\n\r\nThanks \r\n\r\nHao \r\n"}}
{"actor":{"display_login":"iskandr"}}