{"action":"created","issue":{"url":"https://api.github.com/repos/widdowquinn/pyani/issues/3","labels_url":"https://api.github.com/repos/widdowquinn/pyani/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/widdowquinn/pyani/issues/3/comments","events_url":"https://api.github.com/repos/widdowquinn/pyani/issues/3/events","html_url":"https://github.com/widdowquinn/pyani/pull/3","id":103213108,"number":3,"title":"Update anib.py","user":{"login":"ytanizaw","id":2227458,"avatar_url":"https://avatars.githubusercontent.com/u/2227458?v=3","gravatar_id":"","url":"https://api.github.com/users/ytanizaw","html_url":"https://github.com/ytanizaw","followers_url":"https://api.github.com/users/ytanizaw/followers","following_url":"https://api.github.com/users/ytanizaw/following{/other_user}","gists_url":"https://api.github.com/users/ytanizaw/gists{/gist_id}","starred_url":"https://api.github.com/users/ytanizaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ytanizaw/subscriptions","organizations_url":"https://api.github.com/users/ytanizaw/orgs","repos_url":"https://api.github.com/users/ytanizaw/repos","events_url":"https://api.github.com/users/ytanizaw/events{/privacy}","received_events_url":"https://api.github.com/users/ytanizaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2015-08-26T08:57:21Z","updated_at":"2015-08-26T10:44:22Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/widdowquinn/pyani/pulls/3","html_url":"https://github.com/widdowquinn/pyani/pull/3","diff_url":"https://github.com/widdowquinn/pyani/pull/3.diff","patch_url":"https://github.com/widdowquinn/pyani/pull/3.patch"},"body":"\"idx = 0\" is needed below line 89?"},"comment":{"url":"https://api.github.com/repos/widdowquinn/pyani/issues/comments/134942360","html_url":"https://github.com/widdowquinn/pyani/pull/3#issuecomment-134942360","issue_url":"https://api.github.com/repos/widdowquinn/pyani/issues/3","id":134942360,"user":{"login":"widdowquinn","id":63981,"avatar_url":"https://avatars.githubusercontent.com/u/63981?v=3","gravatar_id":"","url":"https://api.github.com/users/widdowquinn","html_url":"https://github.com/widdowquinn","followers_url":"https://api.github.com/users/widdowquinn/followers","following_url":"https://api.github.com/users/widdowquinn/following{/other_user}","gists_url":"https://api.github.com/users/widdowquinn/gists{/gist_id}","starred_url":"https://api.github.com/users/widdowquinn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/widdowquinn/subscriptions","organizations_url":"https://api.github.com/users/widdowquinn/orgs","repos_url":"https://api.github.com/users/widdowquinn/repos","events_url":"https://api.github.com/users/widdowquinn/events{/privacy}","received_events_url":"https://api.github.com/users/widdowquinn/received_events","type":"User","site_admin":false},"created_at":"2015-08-26T10:44:22Z","updated_at":"2015-08-26T10:44:22Z","body":"OK - here's what I think the bug does.\r\n\r\nIf the input sequence is a multi-FASTA sequence, then during the fragmentation step in BLAST database preparation, the sequences are not fragmented correctly. Specifically, the 'cursor' in the sequence is not reset to zero for each sequence in the input file. I have created a new test file to verify/recreate this bug.\r\n\r\nI will merge the change, tidy up the duplicate `idx` declaration, and add the test file."}}