{"action":"created","issue":{"url":"https://api.github.com/repos/biopython/biopython/issues/865","repository_url":"https://api.github.com/repos/biopython/biopython","labels_url":"https://api.github.com/repos/biopython/biopython/issues/865/labels{/name}","comments_url":"https://api.github.com/repos/biopython/biopython/issues/865/comments","events_url":"https://api.github.com/repos/biopython/biopython/issues/865/events","html_url":"https://github.com/biopython/biopython/issues/865","id":162703175,"number":865,"title":"RNA alphabet for Bio.motif.meme","user":{"login":"zaidurrehman","id":16003428,"avatar_url":"https://avatars.githubusercontent.com/u/16003428?v=3","gravatar_id":"","url":"https://api.github.com/users/zaidurrehman","html_url":"https://github.com/zaidurrehman","followers_url":"https://api.github.com/users/zaidurrehman/followers","following_url":"https://api.github.com/users/zaidurrehman/following{/other_user}","gists_url":"https://api.github.com/users/zaidurrehman/gists{/gist_id}","starred_url":"https://api.github.com/users/zaidurrehman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaidurrehman/subscriptions","organizations_url":"https://api.github.com/users/zaidurrehman/orgs","repos_url":"https://api.github.com/users/zaidurrehman/repos","events_url":"https://api.github.com/users/zaidurrehman/events{/privacy}","received_events_url":"https://api.github.com/users/zaidurrehman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-06-28T14:41:29Z","updated_at":"2016-06-29T18:54:17Z","closed_at":null,"body":"The latest version of meme tool supports RNA alphabet. The parser for meme in Bio.motif is outdated and only accommodates protein and DNA alphabet. \r\n\r\nAdding a single 'elif' statement to Bio/motifs/meme.py on line 176 would solve the issue;\r\n```\r\nif line == 'ACGT':\r\n    al = IUPAC.unambiguous_dna\r\nelif line == 'ACGU':\r\n    al = IUPAC.unambiguous_rna\r\nelse:\r\n    al = IUPAC.protein\r\n```"},"comment":{"url":"https://api.github.com/repos/biopython/biopython/issues/comments/229453244","html_url":"https://github.com/biopython/biopython/issues/865#issuecomment-229453244","issue_url":"https://api.github.com/repos/biopython/biopython/issues/865","id":229453244,"user":{"login":"zaidurrehman","id":16003428,"avatar_url":"https://avatars.githubusercontent.com/u/16003428?v=3","gravatar_id":"","url":"https://api.github.com/users/zaidurrehman","html_url":"https://github.com/zaidurrehman","followers_url":"https://api.github.com/users/zaidurrehman/followers","following_url":"https://api.github.com/users/zaidurrehman/following{/other_user}","gists_url":"https://api.github.com/users/zaidurrehman/gists{/gist_id}","starred_url":"https://api.github.com/users/zaidurrehman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zaidurrehman/subscriptions","organizations_url":"https://api.github.com/users/zaidurrehman/orgs","repos_url":"https://api.github.com/users/zaidurrehman/repos","events_url":"https://api.github.com/users/zaidurrehman/events{/privacy}","received_events_url":"https://api.github.com/users/zaidurrehman/received_events","type":"User","site_admin":false},"created_at":"2016-06-29T18:54:17Z","updated_at":"2016-06-29T18:54:17Z","body":"Sure, I can make the changes and make a pull request. Just give me a day for it.\r\nHere is a sample meme output file with RNA alphabet: \r\n[meme.txt](https://github.com/biopython/biopython/files/339962/meme.txt)\r\n"}}
{"actor":{"display_login":"zaidurrehman"}}