Skip to content

Instantly share code, notes, and snippets.

@iimog
Created March 16, 2017 18:33
Show Gist options
  • Save iimog/075526cacbd92dee0f91dd0350b57d1a to your computer and use it in GitHub Desktop.
Save iimog/075526cacbd92dee0f91dd0350b57d1a to your computer and use it in GitHub Desktop.
Minimal biom file to demonstrate [a bug](https://github.com/PitchInteractiveInc/Phinch/issues/72) in Phinch.
{
"id": "No Table ID",
"format": "Biological Observation Matrix 2.1.0",
"format_url": "http://biom-format.org",
"matrix_type": "sparse",
"generated_by": "BIOM-Format 2.1",
"date": "2016-05-03T08:13:41.848780",
"type": "OTU table",
"matrix_element_type": "float",
"shape": [3, 3],
"data": [[0,0,100],[1,1,300],[2,2,100]],
"rows": [
{"id": "OTU_1", "metadata": {"taxonomy": ["k__animalia"]}},
{"id": "OTU_2", "metadata": {"taxonomy": ["k__fungi"]}},
{"id": "OTU_3", "metadata": {"taxonomy": ["k__plantae"]}}
],
"columns": [
{"id": "Sample_1", "metadata": {"phinchID": "animalia", "batch": "a"}},
{"id": "Sample_2", "metadata": {"phinchID": "fungi", "batch": "a"}},
{"id": "Sample_3", "metadata": {"phinchID": "plantae", "batch": "b"}}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment