{"id":21274848,"url":"https://github.com/maayanlab/archs4-api","last_synced_at":"2025-03-15T12:45:01.742Z","repository":{"id":82448357,"uuid":"382119130","full_name":"MaayanLab/archs4-api","owner":"MaayanLab","description":"An API for serving ARCHS4 Data from H5 over S3","archived":false,"fork":false,"pushed_at":"2022-09-13T15:39:02.000Z","size":11559,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-01-22T03:15:14.794Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/MaayanLab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2021-07-01T18:11:39.000Z","updated_at":"2023-09-08T20:56:52.000Z","dependencies_parsed_at":"2023-03-09T12:30:41.856Z","dependency_job_id":null,"html_url":"https://github.com/MaayanLab/archs4-api","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Farchs4-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Farchs4-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Farchs4-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MaayanLab%2Farchs4-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MaayanLab","download_url":"https://codeload.github.com/MaayanLab/archs4-api/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243732254,"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:25:53.291Z","updated_at":"2025-03-15T12:45:01.713Z","avatar_url":"https://github.com/MaayanLab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# archs4-api\n\nAn API for serving ARCHS4 Data from H5 over S3.\n\n## Technical Details\nsupervisord launches \u0026 monitors aiohttp processes, and nginx process which load balances the aiohttp processes.\n\n## Preparation\nFor best performance, the h5 file should be created and chunked in a specific way.\n- metadata should be created before data tables, in the order that the application wants them:\n- meta/genes/gene_symbol\n  - defaults might be fine, otherwise large chunks will probably speed things up\n- meta/samples/geo_accession\n  - defaults might be fine, otherwise large chunks will probably speed things up\n- meta/samples/series_id\n  - defaults might be fine, otherwise large chunks will probably speed things up\n- data/expression\n  - chunked using `(n_genes, avg_samples_per_request*2)`\n    assuming a shape of `(n_genes, n_samples)`\n  - this allows an entire sample to appear in a single chunk. with a chunk size of `avg_samples_per_request*2` each query will take one request to the backend on average (we fetch chunks individually).\n- anything else\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaayanlab%2Farchs4-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmaayanlab%2Farchs4-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmaayanlab%2Farchs4-api/lists"}