{"action":"created","issue":{"url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/591","repository_url":"https://api.github.com/repos/SynBioDex/libSBOLj","labels_url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/591/labels{/name}","comments_url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/591/comments","events_url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/591/events","html_url":"https://github.com/SynBioDex/libSBOLj/issues/591","id":445118547,"node_id":"MDU6SXNzdWU0NDUxMTg1NDc=","number":591,"title":"FASTA parser should generate unique ids","user":{"login":"cjmyers","id":3507191,"node_id":"MDQ6VXNlcjM1MDcxOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3507191?v=4","gravatar_id":"","url":"https://api.github.com/users/cjmyers","html_url":"https://github.com/cjmyers","followers_url":"https://api.github.com/users/cjmyers/followers","following_url":"https://api.github.com/users/cjmyers/following{/other_user}","gists_url":"https://api.github.com/users/cjmyers/gists{/gist_id}","starred_url":"https://api.github.com/users/cjmyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjmyers/subscriptions","organizations_url":"https://api.github.com/users/cjmyers/orgs","repos_url":"https://api.github.com/users/cjmyers/repos","events_url":"https://api.github.com/users/cjmyers/events{/privacy}","received_events_url":"https://api.github.com/users/cjmyers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2019-05-16T19:19:08Z","updated_at":"2019-05-17T14:27:33Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"A FASTA file like the one below will generate three sequences with the same id (_1T38).  It should instead generate unique ids.\r\n\r\n>1T38:A|PDBID|CHAIN|SEQUENCE\r\nMRGSHHHHHHGSMDKDCEMKRTTLDSPLGKLELSGCEQGLHEIKLLGKGTSAADAVEVPAPAAVLGGPEPLMQCTAWLNA\r\nYFHQPEAIEEFPVPALHHPVFQQESFTRQVLWKLLKVVKFGEVISYQQLAALAGNPKAARAVGGAMRGNPVPILIPSHRV\r\nVCSSGAVGNYSGGLAVKEWLLAHEGHRL\r\n>1T38:B|PDBID|CHAIN|SEQUENCE\r\nGCCATGGCTAGTA\r\n>1T38:C|PDBID|CHAIN|SEQUENCE\r\nTACTAGCCATGGC\r\n"},"comment":{"url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/comments/493473808","html_url":"https://github.com/SynBioDex/libSBOLj/issues/591#issuecomment-493473808","issue_url":"https://api.github.com/repos/SynBioDex/libSBOLj/issues/591","id":493473808,"node_id":"MDEyOklzc3VlQ29tbWVudDQ5MzQ3MzgwOA==","user":{"login":"cjmyers","id":3507191,"node_id":"MDQ6VXNlcjM1MDcxOTE=","avatar_url":"https://avatars3.githubusercontent.com/u/3507191?v=4","gravatar_id":"","url":"https://api.github.com/users/cjmyers","html_url":"https://github.com/cjmyers","followers_url":"https://api.github.com/users/cjmyers/followers","following_url":"https://api.github.com/users/cjmyers/following{/other_user}","gists_url":"https://api.github.com/users/cjmyers/gists{/gist_id}","starred_url":"https://api.github.com/users/cjmyers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cjmyers/subscriptions","organizations_url":"https://api.github.com/users/cjmyers/orgs","repos_url":"https://api.github.com/users/cjmyers/repos","events_url":"https://api.github.com/users/cjmyers/events{/privacy}","received_events_url":"https://api.github.com/users/cjmyers/received_events","type":"User","site_admin":false},"created_at":"2019-05-17T14:27:33Z","updated_at":"2019-05-17T14:27:33Z","author_association":"CONTRIBUTOR","body":"Currently the header line is split at \":\" with left side being displayId and right side being description.  I swear I saw this mentioned somewhere, but I now cannot find it.  I did find this interesting blog post about this issue:\r\n\r\nhttp://www.acgt.me/blog/2013/6/25/the-fasta-file-format-a-showcase-for-the-best-and-worst-of-b.html\r\n\r\nApparently, the whole line must be unique, but any subset of it is not guaranteed to be unique.  Probably the only solution is to take the header line and hash it to try to come up with some sort of unique id."}}
{"actor":{"display_login":"cjmyers"}}