Skip to content

Instantly share code, notes, and snippets.

@iimog
Created January 11, 2017 10:07
Show Gist options
  • Save iimog/7d95dcaaa250e212ab726204c03180ea to your computer and use it in GitHub Desktop.
Save iimog/7d95dcaaa250e212ab726204c03180ea to your computer and use it in GitHub Desktop.
Minimal biom file to demonstrate [a bug](https://github.com/PitchInteractiveInc/Phinch/issues/70) 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,100],[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", "pH": "7"}},
{"id": "Sample_2", "metadata": {"phinchID": "fungi", "pH": "7"}},
{"id": "Sample_3", "metadata": {"phinchID": "plantae", "pH": "8"}}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment