{"id":18420582,"url":"https://github.com/openworm/open-worm-analysis-toolbox","last_synced_at":"2025-12-18T01:59:50.460Z","repository":{"id":10762123,"uuid":"13024963","full_name":"openworm/open-worm-analysis-toolbox","owner":"openworm","description":"A testing pipeline that allows us to run a behavioural phenotyping of our virtual worm running the same test statistics the Schafer Lab used on their worm data.","archived":false,"fork":false,"pushed_at":"2020-01-16T05:58:06.000Z","size":58317,"stargazers_count":48,"open_issues_count":28,"forks_count":26,"subscribers_count":33,"default_branch":"master","last_synced_at":"2025-07-15T07:56:22.717Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openworm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-23T02:14:56.000Z","updated_at":"2024-08-23T02:19:14.000Z","dependencies_parsed_at":"2022-08-30T14:23:05.176Z","dependency_job_id":null,"html_url":"https://github.com/openworm/open-worm-analysis-toolbox","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openworm/open-worm-analysis-toolbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fopen-worm-analysis-toolbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fopen-worm-analysis-toolbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fopen-worm-analysis-toolbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fopen-worm-analysis-toolbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openworm","download_url":"https://codeload.github.com/openworm/open-worm-analysis-toolbox/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openworm%2Fopen-worm-analysis-toolbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278547850,"owners_count":26004779,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-06T04:22:18.264Z","updated_at":"2025-10-06T02:17:49.582Z","avatar_url":"https://github.com/openworm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![GitHub license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE.md)\n[![Travis-CI](https://travis-ci.org/openworm/open-worm-analysis-toolbox.svg?branch=master)](https://travis-ci.org/openworm/open-worm-analysis-toolbox)\n[![BountySource](https://api.bountysource.com/badge/team?team_id=23852)](https://www.bountysource.com/teams/openworm)\n\n\n| \u003cimg src=\"documentation/OpenWorm%20Analysis%20Toolbox%20logo.png\" width=\"125\"\u003e | Open Worm Analysis Toolbox |\n====================\n\nThe **Open Worm Analysis Toolbox** is a Python port of the Schafer Lab's [Worm Analysis Toolbox 1.3.4](http://www.mrc-lmb.cam.ac.uk/wormtracker/index.php?action=analysis).\n\nIt can be used to process videos of *C. elegans* into statistics so the behaviour of individual worms can be compared.\n\nIt is also the package used by the OpenWorm project to determine how closely its simulated worm behaves like real worms. It was started as a sub-project of the [OpenWorm project](https://github.com/openworm).\n\n[OWAT is on PyPI](https://pypi.python.org/pypi/open_worm_analysis_toolbox), so to install, simply type:\n\n```\npip install open_worm_analysis_toolbox\n```\n\nContributors please see:\n\n-   [Installation Guide](documentation/INSTALL.md)\n-   [Installation Guide for OS X](documentation/INSTALL-OSX.md)\n\nUsage Example\n-------------\n\nTo get an example data file (`example_contour_and_skeleton_info.mat`), go [here](https://github.com/openworm/open-worm-analysis-toolbox/blob/master/documentation/data_examples.md).\n\n```Python\nimport open_worm_analysis_toolbox as mv\n\n# Load a \"basic\" worm from a file\nbw = mv.BasicWorm.from_schafer_file_factory(\"example_contour_and_skeleton_info.mat\")\n# Normalize the basic worm\nnw = mv.NormalizedWorm.from_BasicWorm_factory(bw)\n# Plot this normalized worm    \nwp = mv.NormalizedWormPlottable(nw, interactive=False)\nwp.show()\n# Obtain features\nwf = mv.WormFeatures(nw)\n```\n\nLater, if we have control worms, we can run statistics on our worm:\n\n```Python\n# Compute histograms\nexperiment_histograms = mv.HistogramManager([wf, wf])\ncontrol_histograms = mv.HistogramManager(control_worms)\n\n# Compute statistics\nstat = mv.StatisticsManager(experiment_histograms, control_histograms)\n\n# Plot statistics for the first extended feature\nstat[0].plot(ax=None, use_alternate_plot=True)\n\n# Give an overall assessment of the worm's similarity to the control set\nprint(\"Nonparametric p and q values are %.2f and %.2f, respectively.\" %\n      (stat.min_p_wilcoxon, stat.min_q_wilcoxon))\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenworm%2Fopen-worm-analysis-toolbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenworm%2Fopen-worm-analysis-toolbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenworm%2Fopen-worm-analysis-toolbox/lists"}