{"action":"reopened","issue":{"url":"https://api.github.com/repos/rockt/SETH/issues/7","repository_url":"https://api.github.com/repos/rockt/SETH","labels_url":"https://api.github.com/repos/rockt/SETH/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/rockt/SETH/issues/7/comments","events_url":"https://api.github.com/repos/rockt/SETH/issues/7/events","html_url":"https://github.com/rockt/SETH/issues/7","id":46281502,"number":7,"title":"Insdels are classified as type \"null\"","user":{"login":"Erechtheus","id":3033565,"avatar_url":"https://avatars.githubusercontent.com/u/3033565?v=3","gravatar_id":"","url":"https://api.github.com/users/Erechtheus","html_url":"https://github.com/Erechtheus","followers_url":"https://api.github.com/users/Erechtheus/followers","following_url":"https://api.github.com/users/Erechtheus/following{/other_user}","gists_url":"https://api.github.com/users/Erechtheus/gists{/gist_id}","starred_url":"https://api.github.com/users/Erechtheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Erechtheus/subscriptions","organizations_url":"https://api.github.com/users/Erechtheus/orgs","repos_url":"https://api.github.com/users/Erechtheus/repos","events_url":"https://api.github.com/users/Erechtheus/events{/privacy}","received_events_url":"https://api.github.com/users/Erechtheus/received_events","type":"User","site_admin":false},"labels":[{"id":21729947,"url":"https://api.github.com/repos/rockt/SETH/labels/bug","name":"bug","color":"fc2929","default":true}],"state":"open","locked":false,"assignee":{"login":"rockt","id":1196835,"avatar_url":"https://avatars.githubusercontent.com/u/1196835?v=3","gravatar_id":"","url":"https://api.github.com/users/rockt","html_url":"https://github.com/rockt","followers_url":"https://api.github.com/users/rockt/followers","following_url":"https://api.github.com/users/rockt/following{/other_user}","gists_url":"https://api.github.com/users/rockt/gists{/gist_id}","starred_url":"https://api.github.com/users/rockt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockt/subscriptions","organizations_url":"https://api.github.com/users/rockt/orgs","repos_url":"https://api.github.com/users/rockt/repos","events_url":"https://api.github.com/users/rockt/events{/privacy}","received_events_url":"https://api.github.com/users/rockt/received_events","type":"User","site_admin":false},"assignees":[{"login":"rockt","id":1196835,"avatar_url":"https://avatars.githubusercontent.com/u/1196835?v=3","gravatar_id":"","url":"https://api.github.com/users/rockt","html_url":"https://github.com/rockt","followers_url":"https://api.github.com/users/rockt/followers","following_url":"https://api.github.com/users/rockt/following{/other_user}","gists_url":"https://api.github.com/users/rockt/gists{/gist_id}","starred_url":"https://api.github.com/users/rockt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rockt/subscriptions","organizations_url":"https://api.github.com/users/rockt/orgs","repos_url":"https://api.github.com/users/rockt/repos","events_url":"https://api.github.com/users/rockt/events{/privacy}","received_events_url":"https://api.github.com/users/rockt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":0,"created_at":"2014-10-20T14:45:24Z","updated_at":"2016-11-05T21:53:35Z","closed_at":null,"body":"Insdels following the human mutation nomenclature are correctly identified, but are tagged as type \"null\" instead of \"DELETETION_INSERTION\". Behaviour can only be observed when using the exact backus naur grammar. Fuzzy grammar identifies the correct mutation type. Bug might be related to [Bug#6](https://github.com/rockt/SETH/issues/6).\r\n\r\nTo reproduce this bug:\r\n\r\n``` java\r\nimport java.util.List;\r\n\r\nimport de.hu.berlin.wbi.objects.MutationMention;\r\nimport seth.SETH;\r\n\r\npublic class Test {\r\n\r\n    /**\r\n     * @param args\r\n     */\r\n    public static void main(String[] args) {\r\n        String mutationString =\"p.Glu746_Thr751delinsAla\";\r\n\r\n\r\n        //Incorrect Type\r\n        SETH sethExact = new SETH(\"resources/mutations.txt\", true, true); \r\n        List<MutationMention> ms = sethExact.findMutations(mutationString);\r\n        for(MutationMention m : ms){\r\n            System.out.println(m.getText() + \" type=\" +m.getType());\r\n        }   \r\n\r\n        //Correct Type\r\n        SETH sethInexact = new SETH(\"resources/mutations.txt\", false, true); \r\n        ms = sethInexact.findMutations(mutationString);\r\n        for(MutationMention m : ms){\r\n            System.out.println(m.getText() + \" type=\" +m.getType());\r\n        }   \r\n    }\r\n}\r\n```\r\ntest code: https://github.com/rockt/SETH/blob/master/src/test/java/de/hu/berlin/wbi/issues/Issue7Test.java"}}
{"actor":{"display_login":"Erechtheus"}}