Team Ai
Datasetpublic

OpenScientificCodeRegistry/Database

Open Scientific Code Registry (OSCR): the authors' scripts The code published by the authors of open-access neuroscience papers, as found and verified by Open Scientific Code Registry (OSCR). Each file is here exactly as it is at the source, at the verified commit, under the license of its repository. 421,275 unique files (3,782 MB of text) from 8,849 repositories, in 24 Parquet block(s). Only files whose repository's license allows redistribution, confirmed by the repository's… See the full description on the dataset page: https://huggingface.co/datasets/OpenScientificCodeRegistry/Database.

sourceHugging Faceotherupdated 2d agoView on Hugging Face
0likes5.6kdownloads
github.com__zhanglabtools__stamapper.json453 linesDownload Raw Back to 32
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/zhanglabtools/stamapper",4 "url": "https://github.com/zhanglabtools/STAMapper",5 "host": "github.com",6 "commit": "28e06050e18340235dbd46929f8155411c2982a6",7 "license": "MIT",8 "license_confirmed_by": "license file LICENSE",9 "redistribution": "yes",10 "files": [11  {12   "path": "LICENSE",13   "sha256": "87912d51b33e46c6a46a1bedbb5b226b5ae5d3e1936b57d36749a12cd11f15e7",14   "language": "License",15   "lines": 21,16   "truncated": false,17   "block": 11,18   "row": 1397219  },20  {21   "path": "README.md",22   "sha256": "30321bf6672f5beaf1117c081130046eb13f0cedee9cfdf579aa67e7bdf141f1",23   "language": "Text",24   "lines": 55,25   "truncated": false,26   "block": 18,27   "row": 1069428  },29  {30   "path": "STAMapper/PARAMETERS.py",31   "sha256": "e15b64229b84e58c40b4b1bb4fa289f8f2a99447d9cb056fc2870e3bbbeaad2a",32   "language": "Python",33   "lines": 83,34   "truncated": false,35   "block": 17,36   "row": 2363037  },38  {39   "path": "STAMapper/__init__.py",40   "sha256": "a53b558d84751bb5ecd9292de1420f7682a8d1528e8480a5ebfffc37492ff3ca",41   "language": "Python",42   "lines": 51,43   "truncated": false,44   "block": 17,45   "row": 2085046  },47  {48   "path": "STAMapper/datapair/__init__.py",49   "sha256": "c27d3b8d44f3a7c01d38039c75f5894496e9b50371fc50365d9b9ff41ce9ad8a",50   "language": "Python",51   "lines": 10,52   "truncated": false,53   "block": 6,54   "row": 2133655  },56  {57   "path": "STAMapper/datapair/aligned.py",58   "sha256": "abcd7e81419bbf1644b06255f4e62d2f4d99cc0f125499511b8725db152a5616",59   "language": "Python",60   "lines": 775,61   "truncated": false,62   "block": 18,63   "row": 424764  },65  {66   "path": "STAMapper/datapair/unaligned.py",67   "sha256": "07159d635461aacbe67b3062f12d0430c1125abc5b10a9cc075873599eb5acb7",68   "language": "Python",69   "lines": 1041,70   "truncated": false,71   "block": 7,72   "row": 1143673  },74  {75   "path": "STAMapper/model/__init__.py",76   "sha256": "75dbe87e8ec9b9a341137600c0459011b3fbfe61eada691ca04b1cd8794c4cf7",77   "language": "Python",78   "lines": 14,79   "truncated": false,80   "block": 6,81   "row": 2145282  },83  {84   "path": "STAMapper/model/_minibatch.py",85   "sha256": "827d4cd77b77eaf0fe2fcf902eebe34f7f7d8c1d097f9c5b428763982c0339ef",86   "language": "Python",87   "lines": 50,88   "truncated": false,89   "block": 6,90   "row": 2732191  },92  {93   "path": "STAMapper/model/_predict.py",94   "sha256": "14c581c290f6a24a77fe900cff0b3c5fcf6ef3540d405a40dccb41702ea5b4d3",95   "language": "Python",96   "lines": 410,97   "truncated": false,98   "block": 7,99   "row": 5212100  },101  {102   "path": "STAMapper/model/_utils.py",103   "sha256": "da4f2e996039a6dce8b0a1008b9f51815dc4365c51ddb17c7f22b828ad0da45d",104   "language": "Python",105   "lines": 321,106   "truncated": false,107   "block": 18,108   "row": 252109  },110  {111   "path": "STAMapper/model/base_layers.py",112   "sha256": "9288a175f704a5f8c14172de2d2cbfecca6b804552818a82f440abf61da4958c",113   "language": "Python",114   "lines": 927,115   "truncated": false,116   "block": 7,117   "row": 10933118  },119  {120   "path": "STAMapper/model/cgc.py",121   "sha256": "93b4d56d7a5f082f17aace6d46a47a85f26ab37373193aa3323a43119117f108",122   "language": "Python",123   "lines": 363,124   "truncated": false,125   "block": 7,126   "row": 5789127  },128  {129   "path": "STAMapper/model/cggc.py",130   "sha256": "f8d83481338bae5b64c4146256f4dc3e62726b3b13a8f29802fcfd402517fcb3",131   "language": "Python",132   "lines": 392,133   "truncated": false,134   "block": 18,135   "row": 2302136  },137  {138   "path": "STAMapper/model/heteroframe.py",139   "sha256": "9054e1bdcd942658a480ca15a2b33611da395fd428952b3f169c63225ad34960",140   "language": "Python",141   "lines": 227,142   "truncated": false,143   "block": 7,144   "row": 985145  },146  {147   "path": "STAMapper/model/hidden.py",148   "sha256": "2d5d01f7a9c54190d5110697971076e722f1bc81505bfa692702bffbc463529b",149   "language": "Python",150   "lines": 267,151   "truncated": false,152   "block": 17,153   "row": 32762154  },155  {156   "path": "STAMapper/model/loss.py",157   "sha256": "e4d2b19b630b767747134cd0cc6b3509ff0250df0f846fd69b8a5d59a47d96ec",158   "language": "Python",159   "lines": 183,160   "truncated": false,161   "block": 17,162   "row": 28607163  },164  {165   "path": "STAMapper/model/v0/__init__.py",166   "sha256": "75dbe87e8ec9b9a341137600c0459011b3fbfe61eada691ca04b1cd8794c4cf7",167   "language": "Python",168   "lines": 14,169   "truncated": false,170   "block": 6,171   "row": 21452172  },173  {174   "path": "STAMapper/model/v0/_minibatch.py",175   "sha256": "298443beaafda7a65c70c2377785adbd3d7544d1b509f8062998a936c760228b",176   "language": "Python",177   "lines": 127,178   "truncated": false,179   "block": 6,180   "row": 39171181  },182  {183   "path": "STAMapper/model/v0/_predict.py",184   "sha256": "b776f132f70cd945053ef9980c3e4eaa3c7e4e68d827a184813a692b7fbbc153",185   "language": "Python",186   "lines": 407,187   "truncated": false,188   "block": 7,189   "row": 5123190  },191  {192   "path": "STAMapper/model/v0/_utils.py",193   "sha256": "3866666003fc812167955b6dae5d69f7fa8afafff906c988811e15abae63c2b2",194   "language": "Python",195   "lines": 262,196   "truncated": false,197   "block": 7,198   "row": 1043199  },200  {201   "path": "STAMapper/model/v0/base_layers.py",202   "sha256": "91b1d7770f42945ac9e87abe8823c7ed251cdd89f833ad4dd11a8f9113aca639",203   "language": "Python",204   "lines": 915,205   "truncated": false,206   "block": 7,207   "row": 10873208  },209  {210   "path": "STAMapper/model/v0/cgc.py",211   "sha256": "93b4d56d7a5f082f17aace6d46a47a85f26ab37373193aa3323a43119117f108",212   "language": "Python",213   "lines": 363,214   "truncated": false,215   "block": 7,216   "row": 5789217  },218  {219   "path": "STAMapper/model/v0/cggc.py",220   "sha256": "82a61ab00d85fbafef29ee3b884de0206745d0cbbbf9f0329f09595d174b2984",221   "language": "Python",222   "lines": 364,223   "truncated": false,224   "block": 7,225   "row": 6126226  },227  {228   "path": "STAMapper/model/v0/heteroframe.py",229   "sha256": "9054e1bdcd942658a480ca15a2b33611da395fd428952b3f169c63225ad34960",230   "language": "Python",231   "lines": 227,232   "truncated": false,233   "block": 7,234   "row": 985235  },236  {237   "path": "STAMapper/model/v0/hidden.py",238   "sha256": "ca714712261cde4561c0bcb0e42d52eb8906036f5e8400d225c7322c60bc6d5c",239   "language": "Python",240   "lines": 233,241   "truncated": false,242   "block": 7,243   "row": 1326244  },245  {246   "path": "STAMapper/model/v0/loss.py",247   "sha256": "1c9b12810ae6310ee577c1d33aa101ae11eda08b6ea2e9786fe71ba90d78ae44",248   "language": "Python",249   "lines": 167,250   "truncated": false,251   "block": 6,252   "row": 40761253  },254  {255   "path": "STAMapper/pipeline.py",256   "sha256": "b07f90ecfef2b93f7941b373b5ba717598d9040827de06b5ce1b38d4a7c87856",257   "language": "Python",258   "lines": 1174,259   "truncated": false,260   "block": 18,261   "row": 5147262  },263  {264   "path": "STAMapper/utils/__init__.py",265   "sha256": "6aac3a8875502480c504d1b27edf8947eb62e65d95a5ecee9417c40366952fea",266   "language": "Python",267   "lines": 26,268   "truncated": false,269   "block": 6,270   "row": 23393271  },272  {273   "path": "STAMapper/utils/_alluvial.py",274   "sha256": "60b4eec4960682e8bee854c8f786d881cb0691a69c46599edadceab108ec81ec",275   "language": "Python",276   "lines": 297,277   "truncated": false,278   "block": 7,279   "row": 4177280  },281  {282   "path": "STAMapper/utils/_base_trainer.py",283   "sha256": "bafef5096618e451e0b76e851c6a3ab0707219f4bf9de9caecf0b8208e9839c8",284   "language": "Python",285   "lines": 250,286   "truncated": false,287   "block": 7,288   "row": 23289  },290  {291   "path": "STAMapper/utils/_get_example_data.py",292   "sha256": "6b4819f161a7d89ad0b812307d465fc6af8502b1326fa045d4144ab062f32de9",293   "language": "Python",294   "lines": 99,295   "truncated": false,296   "block": 6,297   "row": 36008298  },299  {300   "path": "STAMapper/utils/_io_h5py.py",301   "sha256": "1dd314344f58f26739614d0a6ccf9d7d609fc036de2557f80e18cd226b31ea31",302   "language": "Python",303   "lines": 114,304   "truncated": false,305   "block": 17,306   "row": 24461307  },308  {309   "path": "STAMapper/utils/analyze.py",310   "sha256": "896eaaf734070df0346979ea4cf898cba8edaf4e845562e66879b9e919e63e4d",311   "language": "Python",312   "lines": 1937,313   "truncated": false,314   "block": 18,315   "row": 5566316  },317  {318   "path": "STAMapper/utils/base.py",319   "sha256": "fee29d49af591bf260ca3d359dfe349e95c5e172177091ea3de851a3a306c78b",320   "language": "Python",321   "lines": 312,322   "truncated": false,323   "block": 7,324   "row": 187325  },326  {327   "path": "STAMapper/utils/downsample_counts.py",328   "sha256": "8fa33720752e6f7d8c1479cd3426a092691193ff4f7d11ed37a43fc266e89b20",329   "language": "Python",330   "lines": 210,331   "truncated": false,332   "block": 6,333   "row": 44252334  },335  {336   "path": "STAMapper/utils/evaluation.py",337   "sha256": "f0f62779f419597ee025ed00cbdb011b25d34b600aeea7ebe7f9df2db1df245c",338   "language": "Python",339   "lines": 41,340   "truncated": false,341   "block": 6,342   "row": 25696343  },344  {345   "path": "STAMapper/utils/plot.py",346   "sha256": "b7cc44651d2f66977ab6e18ad18f77d9fa7413647bdc8477b5a23e096b8f17ed",347   "language": "Python",348   "lines": 1562,349   "truncated": false,350   "block": 18,351   "row": 5267352  },353  {354   "path": "STAMapper/utils/plot2.py",355   "sha256": "013928ba441f655aa20c938b05416c8e3653e8d669f4aefaa33235f2e15aa382",356   "language": "Python",357   "lines": 1560,358   "truncated": false,359   "block": 18,360   "row": 5260361  },362  {363   "path": "STAMapper/utils/preprocess.py",364   "sha256": "3144480230c0c575e8fbfb5577d8d13d373ad20935adb9f99ba0b57e6eaeac42",365   "language": "Python",366   "lines": 2474,367   "truncated": false,368   "block": 18,369   "row": 5678370  },371  {372   "path": "STAMapper/utils/train.py",373   "sha256": "7937e1ce85b8264aa8c23a2da4defe845078bb4899e801a364de8bb80efa5e9c",374   "language": "Python",375   "lines": 631,376   "truncated": false,377   "block": 18,378   "row": 3781379  },380  {381   "path": "STAMapper/utils/train_minibatch.py",382   "sha256": "7c68b7a345549e438e164807afe80bfee278cd729df405accc8c6484dd8934d0",383   "language": "Python",384   "lines": 437,385   "truncated": false,386   "block": 18,387   "row": 2729388  },389  {390   "path": "STAMapper/utils/train_v0.py",391   "sha256": "ba80065b18c9f84f405324c9ab1c8e193fad78aa2a3055252982242f1438c109",392   "language": "Python",393   "lines": 534,394   "truncated": false,395   "block": 7,396   "row": 8540397  },398  {399   "path": "Tutorials/Tutorial1_cell-type_annotation_on_scST_data_(with_pre-annotated_info).ipynb",400   "sha256": "fdc75d7991025dd68e844dc57c134dcf08322b2ade3df3bb9fc79ca13aba6e95",401   "language": "Jupyter",402   "lines": 142,403   "truncated": false,404   "block": 17,405   "row": 5873406  },407  {408   "path": "Tutorials/Tutorial2_cell-type_annotation_on_scST_data_(without_pre-annotated_info).ipynb",409   "sha256": "41e079026a262b1560195e96b6ce787e6c619becda9838350249fb0bda046815",410   "language": "Jupyter",411   "lines": 135,412   "truncated": false,413   "block": 17,414   "row": 5829415  },416  {417   "path": "Tutorials/Tutorial3_reannotation_on_scST_data_(with_pre-annotated_info).ipynb",418   "sha256": "9d20302dd38596007e6576fc5fa0fb2ea803a178e5d9c750db7fa630681c452d",419   "language": "Jupyter",420   "lines": 145,421   "truncated": false,422   "block": 17,423   "row": 5947424  },425  {426   "path": "Tutorials/Tutorial4_unknown_cell_type_detection.ipynb",427   "sha256": "8061ecf3623e80650e018b0ec2a69014bc2dcc2cbe6732a3ab870a56dd9fb319",428   "language": "Jupyter",429   "lines": 172,430   "truncated": false,431   "block": 17,432   "row": 6050433  },434  {435   "path": "Tutorials/Tutorial5_gene_module_extraction.ipynb",436   "sha256": "c5b09d27bef92f9b2d69fc7b51a81de12904560487fb7d5b1344082ff36376bd",437   "language": "Jupyter",438   "lines": 149,439   "truncated": false,440   "block": 17,441   "row": 5905442  },443  {444   "path": "setup.py",445   "sha256": "96bd6c68e5b9b6bc64b6529807fda19c03095bdf813c360da9e33945f45d0b8c",446   "language": "Python",447   "lines": 125,448   "truncated": false,449   "block": 17,450   "row": 25967451  }452 ]453}