{"id":21274956,"url":"https://github.com/maayanlab/bioinput","last_synced_at":"2025-07-08T14:03:31.343Z","repository":{"id":149475929,"uuid":"50691299","full_name":"MaayanLab/bioinput","owner":"MaayanLab","description":"A JavaScript library to quickly and easily implement an autocomplete html input element for various biological entities.","archived":false,"fork":false,"pushed_at":"2016-03-01T18:30:12.000Z","size":223,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-22T03:15:39.319Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://maayanlab.github.io/bioinput","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MaayanLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-01-29T21:06:41.000Z","updated_at":"2019-01-10T18:30:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f3ea94e-93a0-448e-b456-e1fcc8ad54c3","html_url":"https://github.com/MaayanLab/bioinput","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Fbioinput","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Fbioinput/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Fbioinput/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Fbioinput/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaayanLab","download_url":"https://codeload.github.com/MaayanLab/bioinput/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732255,"owners_count":20338831,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-21T09:26:29.285Z","updated_at":"2025-03-15T12:45:09.176Z","avatar_url":"https://github.com/MaayanLab.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bioinput\n\nBioinput is a JavaScript library built around the [jQuery](https://jquery.com/),\n[typeahead.js](https://twitter.github.io/typeahead.js), and\n[Bootstrap Tags Input](http://bootstrap-tagsinput.github.io/bootstrap-tagsinput/examples/) libraries.\nIt allows you to quickly and easily implement an autocomplete html input element for various\nbiological entities. It was created in hopes that it would assist in the standardizing of biological terms.\n###Getting Started\nInclude Bioinput by adding the script tag to your project's HTML file. Bioinput requires that jQuery is available, so be sure to include it after jQuery, as shown below:\n```html\n  ...\n  \u003cscript src=\"https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.4/jquery.min.js\"\u003e\u003c/script\u003e\n  \u003cscript src=\"https://cdn.rawgit.com/MaayanLab/bioinput/v0.3.0/dist/bioinput.min.js\"\u003e\u003c/script\u003e\n\u003c/body\u003e\n```\n\n###Usage and Example\nThe easiest way to use Bioinput is to add two attributes to any html input.\n\nAdding data-role=\"bioinput\" turns a normal input into a Bioinput and adding\ndata-entity-type=\"assay\" would enable assay autocomplete.\n(Currently **assay**, **cell**, **gene**, **disease**, and **organism** are supported.)\n```html\n\u003cform\u003e\n  \u003cdiv class=\"form-group assay\"\u003e\n    \u003clabel for=\"assay\"\u003eAssay Input\u003c/label\u003e\n    \u003cinput id=\"assay\" class=\"form-control\" type=\"text\"\n      data-role=\"bioinput\" data-entity-type=\"assay\" /\u003e\n  \u003c/div\u003e\n  \u003cdiv class=\"form-group cell\"\u003e\n    \u003clabel for=\"cell\"\u003eCell Input\u003c/label\u003e\n    \u003cinput id=\"cell\" class=\"form-control\" type=\"text\"\n      data-role=\"bioinput\" data-entity-type=\"cell\" /\u003e\n  \u003c/div\u003e\n\u003c/form\u003e\n```\n###Getting Results\nContinuing with the example, the entities the user has selected can be accessed as follows:\n```javascript\n$('#assay').bioinput('entities');\n$('#cell').bioinput('entities');:\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaayanlab%2Fbioinput","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaayanlab%2Fbioinput","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaayanlab%2Fbioinput/lists"}