{"action":"created","comment":{"url":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments/52777629","id":52777629,"diff_hunk":"@@ -577,3 +576,79 @@ def _check_for_malformed_line(line, expected_len):\n         raise StockholmFormatError('Line contains %d item(s). It must '\n                                    'contain exactly %d item(s).'\n                                    % (len(line), expected_len))\n+\n+\n+@stockholm.writer(TabularMSA)\n+def _tabular_msa_to_stockholm(obj, fh):\n+    index = list(obj.index)\n+    # Writes header\n+    fh.write(\"# STOCKHOLM 1.0\\n\")\n+\n+    # Writes GF data to file\n+    if obj.has_metadata():\n+        for i in range(len(obj.metadata)):\n+            gf_feature = list(obj.metadata.keys())[i].strip(\"'\")","path":"skbio/io/format/stockholm.py","position":81,"original_position":81,"commit_id":"5ca8542fb81fc2e9cb89ffcdf40777b6f74a0f6b","original_commit_id":"5ca8542fb81fc2e9cb89ffcdf40777b6f74a0f6b","user":{"login":"jairideout","id":1847232,"avatar_url":"https://avatars.githubusercontent.com/u/1847232?v=3","gravatar_id":"","url":"https://api.github.com/users/jairideout","html_url":"https://github.com/jairideout","followers_url":"https://api.github.com/users/jairideout/followers","following_url":"https://api.github.com/users/jairideout/following{/other_user}","gists_url":"https://api.github.com/users/jairideout/gists{/gist_id}","starred_url":"https://api.github.com/users/jairideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairideout/subscriptions","organizations_url":"https://api.github.com/users/jairideout/orgs","repos_url":"https://api.github.com/users/jairideout/repos","events_url":"https://api.github.com/users/jairideout/events{/privacy}","received_events_url":"https://api.github.com/users/jairideout/received_events","type":"User","site_admin":false},"body":"Why are you stripping single quotes?","created_at":"2016-02-12T18:21:24Z","updated_at":"2016-02-12T18:21:24Z","html_url":"https://github.com/biocore/scikit-bio/pull/1270#discussion_r52777629","pull_request_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270","_links":{"self":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments/52777629"},"html":{"href":"https://github.com/biocore/scikit-bio/pull/1270#discussion_r52777629"},"pull_request":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270"}}},"pull_request":{"url":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270","id":59088530,"html_url":"https://github.com/biocore/scikit-bio/pull/1270","diff_url":"https://github.com/biocore/scikit-bio/pull/1270.diff","patch_url":"https://github.com/biocore/scikit-bio/pull/1270.patch","issue_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1270","number":1270,"state":"open","locked":false,"title":"Adds writer to Stockholm format","user":{"login":"Kleptobismol","id":6307252,"avatar_url":"https://avatars.githubusercontent.com/u/6307252?v=3","gravatar_id":"","url":"https://api.github.com/users/Kleptobismol","html_url":"https://github.com/Kleptobismol","followers_url":"https://api.github.com/users/Kleptobismol/followers","following_url":"https://api.github.com/users/Kleptobismol/following{/other_user}","gists_url":"https://api.github.com/users/Kleptobismol/gists{/gist_id}","starred_url":"https://api.github.com/users/Kleptobismol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kleptobismol/subscriptions","organizations_url":"https://api.github.com/users/Kleptobismol/orgs","repos_url":"https://api.github.com/users/Kleptobismol/repos","events_url":"https://api.github.com/users/Kleptobismol/events{/privacy}","received_events_url":"https://api.github.com/users/Kleptobismol/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-02-11T20:26:54Z","updated_at":"2016-02-12T18:21:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bcc76340fffbf9b64220636b620abe620657a328","assignee":{"login":"jairideout","id":1847232,"avatar_url":"https://avatars.githubusercontent.com/u/1847232?v=3","gravatar_id":"","url":"https://api.github.com/users/jairideout","html_url":"https://github.com/jairideout","followers_url":"https://api.github.com/users/jairideout/followers","following_url":"https://api.github.com/users/jairideout/following{/other_user}","gists_url":"https://api.github.com/users/jairideout/gists{/gist_id}","starred_url":"https://api.github.com/users/jairideout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jairideout/subscriptions","organizations_url":"https://api.github.com/users/jairideout/orgs","repos_url":"https://api.github.com/users/jairideout/repos","events_url":"https://api.github.com/users/jairideout/events{/privacy}","received_events_url":"https://api.github.com/users/jairideout/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/biocore/scikit-bio/milestones/13","html_url":"https://github.com/biocore/scikit-bio/milestones/0.5.0:%20Python%203%20support%20only","labels_url":"https://api.github.com/repos/biocore/scikit-bio/milestones/13/labels","id":1389428,"number":13,"title":"0.5.0: Python 3 support only","description":"This will be the first scikit-bio release with support for Python 3 only. ","creator":{"login":"gregcaporaso","id":192372,"avatar_url":"https://avatars.githubusercontent.com/u/192372?v=3","gravatar_id":"","url":"https://api.github.com/users/gregcaporaso","html_url":"https://github.com/gregcaporaso","followers_url":"https://api.github.com/users/gregcaporaso/followers","following_url":"https://api.github.com/users/gregcaporaso/following{/other_user}","gists_url":"https://api.github.com/users/gregcaporaso/gists{/gist_id}","starred_url":"https://api.github.com/users/gregcaporaso/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gregcaporaso/subscriptions","organizations_url":"https://api.github.com/users/gregcaporaso/orgs","repos_url":"https://api.github.com/users/gregcaporaso/repos","events_url":"https://api.github.com/users/gregcaporaso/events{/privacy}","received_events_url":"https://api.github.com/users/gregcaporaso/received_events","type":"User","site_admin":false},"open_issues":11,"closed_issues":1,"state":"open","created_at":"2015-11-02T16:58:11Z","updated_at":"2016-02-11T20:40:40Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270/commits","review_comments_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270/comments","review_comment_url":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments{/number}","comments_url":"https://api.github.com/repos/biocore/scikit-bio/issues/1270/comments","statuses_url":"https://api.github.com/repos/biocore/scikit-bio/statuses/5ca8542fb81fc2e9cb89ffcdf40777b6f74a0f6b","head":{"label":"Kleptobismol:issue-967-writer","ref":"issue-967-writer","sha":"5ca8542fb81fc2e9cb89ffcdf40777b6f74a0f6b","user":{"login":"Kleptobismol","id":6307252,"avatar_url":"https://avatars.githubusercontent.com/u/6307252?v=3","gravatar_id":"","url":"https://api.github.com/users/Kleptobismol","html_url":"https://github.com/Kleptobismol","followers_url":"https://api.github.com/users/Kleptobismol/followers","following_url":"https://api.github.com/users/Kleptobismol/following{/other_user}","gists_url":"https://api.github.com/users/Kleptobismol/gists{/gist_id}","starred_url":"https://api.github.com/users/Kleptobismol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kleptobismol/subscriptions","organizations_url":"https://api.github.com/users/Kleptobismol/orgs","repos_url":"https://api.github.com/users/Kleptobismol/repos","events_url":"https://api.github.com/users/Kleptobismol/events{/privacy}","received_events_url":"https://api.github.com/users/Kleptobismol/received_events","type":"User","site_admin":false},"repo":{"id":24303628,"name":"scikit-bio","full_name":"Kleptobismol/scikit-bio","owner":{"login":"Kleptobismol","id":6307252,"avatar_url":"https://avatars.githubusercontent.com/u/6307252?v=3","gravatar_id":"","url":"https://api.github.com/users/Kleptobismol","html_url":"https://github.com/Kleptobismol","followers_url":"https://api.github.com/users/Kleptobismol/followers","following_url":"https://api.github.com/users/Kleptobismol/following{/other_user}","gists_url":"https://api.github.com/users/Kleptobismol/gists{/gist_id}","starred_url":"https://api.github.com/users/Kleptobismol/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kleptobismol/subscriptions","organizations_url":"https://api.github.com/users/Kleptobismol/orgs","repos_url":"https://api.github.com/users/Kleptobismol/repos","events_url":"https://api.github.com/users/Kleptobismol/events{/privacy}","received_events_url":"https://api.github.com/users/Kleptobismol/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Kleptobismol/scikit-bio","description":"Core objects, functions and statistics for working with biological data in Python.","fork":true,"url":"https://api.github.com/repos/Kleptobismol/scikit-bio","forks_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/forks","keys_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/teams","hooks_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/hooks","issue_events_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/issues/events{/number}","events_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/events","assignees_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/assignees{/user}","branches_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/branches{/branch}","tags_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/tags","blobs_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/statuses/{sha}","languages_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/languages","stargazers_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/stargazers","contributors_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/contributors","subscribers_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/subscribers","subscription_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/subscription","commits_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/contents/{+path}","compare_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/merges","archive_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/downloads","issues_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/issues{/number}","pulls_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/pulls{/number}","milestones_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/milestones{/number}","notifications_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/labels{/name}","releases_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/releases{/id}","deployments_url":"https://api.github.com/repos/Kleptobismol/scikit-bio/deployments","created_at":"2014-09-21T20:57:29Z","updated_at":"2014-11-25T00:19:35Z","pushed_at":"2016-02-11T20:25:43Z","git_url":"git://github.com/Kleptobismol/scikit-bio.git","ssh_url":"git@github.com:Kleptobismol/scikit-bio.git","clone_url":"https://github.com/Kleptobismol/scikit-bio.git","svn_url":"https://github.com/Kleptobismol/scikit-bio","homepage":"http://scikit-bio.org","size":34965,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"biocore:master","ref":"master","sha":"a5bdadfd1d4e7067e2fcf1417892395be6d1a30a","user":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"repo":{"id":15168264,"name":"scikit-bio","full_name":"biocore/scikit-bio","owner":{"login":"biocore","id":6241857,"avatar_url":"https://avatars.githubusercontent.com/u/6241857?v=3","gravatar_id":"","url":"https://api.github.com/users/biocore","html_url":"https://github.com/biocore","followers_url":"https://api.github.com/users/biocore/followers","following_url":"https://api.github.com/users/biocore/following{/other_user}","gists_url":"https://api.github.com/users/biocore/gists{/gist_id}","starred_url":"https://api.github.com/users/biocore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/biocore/subscriptions","organizations_url":"https://api.github.com/users/biocore/orgs","repos_url":"https://api.github.com/users/biocore/repos","events_url":"https://api.github.com/users/biocore/events{/privacy}","received_events_url":"https://api.github.com/users/biocore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/biocore/scikit-bio","description":"scikit-bio is an open-source, BSD-licensed, Python package providing data structures, algorithms, and educational resources for bioinformatics.","fork":false,"url":"https://api.github.com/repos/biocore/scikit-bio","forks_url":"https://api.github.com/repos/biocore/scikit-bio/forks","keys_url":"https://api.github.com/repos/biocore/scikit-bio/keys{/key_id}","collaborators_url":"https://api.github.com/repos/biocore/scikit-bio/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/biocore/scikit-bio/teams","hooks_url":"https://api.github.com/repos/biocore/scikit-bio/hooks","issue_events_url":"https://api.github.com/repos/biocore/scikit-bio/issues/events{/number}","events_url":"https://api.github.com/repos/biocore/scikit-bio/events","assignees_url":"https://api.github.com/repos/biocore/scikit-bio/assignees{/user}","branches_url":"https://api.github.com/repos/biocore/scikit-bio/branches{/branch}","tags_url":"https://api.github.com/repos/biocore/scikit-bio/tags","blobs_url":"https://api.github.com/repos/biocore/scikit-bio/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/biocore/scikit-bio/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/biocore/scikit-bio/git/refs{/sha}","trees_url":"https://api.github.com/repos/biocore/scikit-bio/git/trees{/sha}","statuses_url":"https://api.github.com/repos/biocore/scikit-bio/statuses/{sha}","languages_url":"https://api.github.com/repos/biocore/scikit-bio/languages","stargazers_url":"https://api.github.com/repos/biocore/scikit-bio/stargazers","contributors_url":"https://api.github.com/repos/biocore/scikit-bio/contributors","subscribers_url":"https://api.github.com/repos/biocore/scikit-bio/subscribers","subscription_url":"https://api.github.com/repos/biocore/scikit-bio/subscription","commits_url":"https://api.github.com/repos/biocore/scikit-bio/commits{/sha}","git_commits_url":"https://api.github.com/repos/biocore/scikit-bio/git/commits{/sha}","comments_url":"https://api.github.com/repos/biocore/scikit-bio/comments{/number}","issue_comment_url":"https://api.github.com/repos/biocore/scikit-bio/issues/comments{/number}","contents_url":"https://api.github.com/repos/biocore/scikit-bio/contents/{+path}","compare_url":"https://api.github.com/repos/biocore/scikit-bio/compare/{base}...{head}","merges_url":"https://api.github.com/repos/biocore/scikit-bio/merges","archive_url":"https://api.github.com/repos/biocore/scikit-bio/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/biocore/scikit-bio/downloads","issues_url":"https://api.github.com/repos/biocore/scikit-bio/issues{/number}","pulls_url":"https://api.github.com/repos/biocore/scikit-bio/pulls{/number}","milestones_url":"https://api.github.com/repos/biocore/scikit-bio/milestones{/number}","notifications_url":"https://api.github.com/repos/biocore/scikit-bio/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/biocore/scikit-bio/labels{/name}","releases_url":"https://api.github.com/repos/biocore/scikit-bio/releases{/id}","deployments_url":"https://api.github.com/repos/biocore/scikit-bio/deployments","created_at":"2013-12-13T16:24:41Z","updated_at":"2016-02-10T18:18:46Z","pushed_at":"2016-02-11T20:26:55Z","git_url":"git://github.com/biocore/scikit-bio.git","ssh_url":"git@github.com:biocore/scikit-bio.git","clone_url":"https://github.com/biocore/scikit-bio.git","svn_url":"https://github.com/biocore/scikit-bio","homepage":"http://scikit-bio.org","size":40107,"stargazers_count":187,"watchers_count":187,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":91,"mirror_url":null,"open_issues_count":158,"forks":91,"open_issues":158,"watchers":187,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270"},"html":{"href":"https://github.com/biocore/scikit-bio/pull/1270"},"issue":{"href":"https://api.github.com/repos/biocore/scikit-bio/issues/1270"},"comments":{"href":"https://api.github.com/repos/biocore/scikit-bio/issues/1270/comments"},"review_comments":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270/comments"},"review_comment":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/biocore/scikit-bio/pulls/1270/commits"},"statuses":{"href":"https://api.github.com/repos/biocore/scikit-bio/statuses/5ca8542fb81fc2e9cb89ffcdf40777b6f74a0f6b"}}}}