Skip to content

Instantly share code, notes, and snippets.

View oeway's full-sized avatar

Wei Ouyang oeway

  • Science For Life Laboratory
  • Stockholm
View GitHub Profile
<docs>
# NGFF image file Loader for ImageJ.JS
[Next-generation file formats](https://ngff.openmicroscopy.org/latest/) is a specification for storing bioimaging data in the cloud.
This plugin enalbes loading NGFF image into ImageJ.JS.
The implementation is adapted from the [OMERO ImJoy](https://github.com/will-moore/omero-imjoy) made by @will-moore
</docs>
<docs>
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "HPA-UMAP-Studio",
"type": "web-worker",
"tags": [],
"ui": "",
import gzip
# download idmapping.dat.gz from uniprot
# wget ftp://ftp.ebi.ac.uk/pub/databases/uniprot/current_release/knowledgebase/idmapping/idmapping.dat.gz
id_mapping_file = './idmapping.dat.gz'
id_mapping = {}
for line in gzip.open(id_mapping_file):
line = line.decode('utf8').strip()
ac, pred, obj = line.split('\t')
<docs lang="markdown">
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "VueMaterialBackbone",
"type": "window",
"tags": [],
"ui": "",
@oeway
oeway / VizarrFigshare.imjoy.html
Last active March 29, 2021 14:12
Python script for uploading files to figshare
<docs>
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "VizarrFigshare",
"type": "web-worker",
"tags": [],
"ui": "",
@oeway
oeway / VizarrReferenceStore-Zenodo.imjoy.html
Last active October 19, 2023 03:17
Upload large files to zenodo and serve it as a zarr store (not working yet because zenodo doesn't support range header)
<docs>
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "VizarrReferenceStore",
"type": "web-worker",
"tags": [],
"ui": "",
<docs>
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "BasicImageAnnotation",
"type": "web-worker",
"tags": [],
"ui": "",
<config lang="json">
{
"name": "Script Editor",
"type": "web-worker",
"tags": [],
"ui": "",
"version": "0.1.0",
"cover": "",
"description": "A Script Editor for Controlling OpenFlexure Microscope with ImJoy",
"icon": "extension",
<docs>
[TODO: write documentation for this plugin.]
</docs>
<config lang="json">
{
"name": "OpenFlexureSnapImageTemplate",
"type": "web-worker",
"tags": [],
"ui": "",
We couldn’t find that file to show.