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__hiclib__pastis.json669 linesDownload Raw Back to ff
1{2 "format": "oscr-script-manifest/1",3 "repository": "github.com/hiclib/pastis",4 "url": "https://github.com/hiclib/pastis",5 "host": "github.com",6 "commit": "6888ac25ded72ce3e559987b8a31b3f8ed2935ed",7 "license": "BSD-3-Clause",8 "license_confirmed_by": "license file COPYING",9 "redistribution": "yes",10 "files": [11  {12   "path": "COPYING",13   "sha256": "ac3f551f71fd542e884eb605fa69a37b2e751a3e49a1cc8940ac1250c7cfc084",14   "language": "License",15   "lines": 32,16   "truncated": false,17   "block": 22,18   "row": 1414819  },20  {21   "path": "README.rst",22   "sha256": "040accf2992a86486fa3637a066bc6e23948b3c3b76438b4a104ccb79ee5fa9a",23   "language": "Text",24   "lines": 63,25   "truncated": false,26   "block": 24,27   "row": 43328  },29  {30   "path": "doc/_static/js/bootstrap.js",31   "sha256": "bdad90b135145d1d5a5a2243bfa2bd073ef8fe813e5d26984999188b0e770c6a",32   "language": "JavaScript",33   "lines": 2280,34   "truncated": false,35   "block": 22,36   "row": 1223637  },38  {39   "path": "doc/_static/js/bootstrap.min.js",40   "sha256": "b260d056edb6c39eeeed00ffc7bccded9160bb9c1f03c62d77a99181ae88a08b",41   "language": "JavaScript",42   "lines": 6,43   "truncated": false,44   "block": 22,45   "row": 1221546  },47  {48   "path": "doc/_static/js/jquery.js",49   "sha256": "40c286e1ba8866e5f203bd1f355e7ce4eeccbc950cdcef2679ca048e79a385c5",50   "language": "JavaScript",51   "lines": 7457,52   "truncated": true,53   "block": 22,54   "row": 1226055  },56  {57   "path": "doc/_static/js/jquery.maphilight.js",58   "sha256": "23ddc3cefb980338870623c390eff1d45279d4780d908a6de99f4f008485c970",59   "language": "JavaScript",60   "lines": 362,61   "truncated": false,62   "block": 22,63   "row": 1219164  },65  {66   "path": "doc/_static/js/jquery.maphilight.min.js",67   "sha256": "c5e25311922acd2fbdbde5c93f61afa09cb4ab67fb50d627868ca0a824217db8",68   "language": "JavaScript",69   "lines": 1,70   "truncated": false,71   "block": 22,72   "row": 1213873  },74  {75   "path": "doc/conf.py",76   "sha256": "f8d065ddbff65acf2ea15542a1c64868a595a70b1396431d2691a36cfabc901a",77   "language": "Python",78   "lines": 288,79   "truncated": false,80   "block": 23,81   "row": 982182  },83  {84   "path": "doc/sphinxext/gen_rst.py",85   "sha256": "82e14370514bf75034b11b1b45257b1b961f530d8e51b0e27172c9ff51e9e4d8",86   "language": "Python",87   "lines": 855,88   "truncated": false,89   "block": 23,90   "row": 1421791  },92  {93   "path": "doc/sphinxext/numpy_ext/docscrape.py",94   "sha256": "b22c37eb263f9a6a31824fc2f3b46a400d369c89f6fb2e668c4f623c6a6a3c7e",95   "language": "Python",96   "lines": 507,97   "truncated": false,98   "block": 23,99   "row": 12228100  },101  {102   "path": "doc/sphinxext/numpy_ext/docscrape_sphinx.py",103   "sha256": "145a2f95bcab70d0b397549ed5b7c1cb03dc6446d4a5cd99f54c525d6ab0b139",104   "language": "Python",105   "lines": 240,106   "truncated": false,107   "block": 23,108   "row": 9147109  },110  {111   "path": "doc/sphinxext/numpy_ext/numpydoc.py",112   "sha256": "573b8f15b09d98ed1221f588042ed16331033488fcecd151f4f2dd19f4a10dfb",113   "language": "Python",114   "lines": 177,115   "truncated": false,116   "block": 23,117   "row": 7044118  },119  {120   "path": "examples/datasets/plot_generate_dataset_from_distances.py",121   "sha256": "777bb67c6506b0890d1e20f596359a5099d9f4e5005beb60706782d844eed733",122   "language": "Python",123   "lines": 70,124   "truncated": false,125   "block": 23,126   "row": 2952127  },128  {129   "path": "examples/filtering_example/plot_structures_different_filtering.py",130   "sha256": "6a884fec199a7f0db783d4780fa100a0d69e973426f905deee93b0f69152e62c",131   "language": "Python",132   "lines": 295,133   "truncated": false,134   "block": 23,135   "row": 10689136  },137  {138   "path": "examples/negative_binomial/plot_dispersion.py",139   "sha256": "8ba66f8ef7ea2158611a70980ecf22ad8c7570dd9fcb58764566ac9fb6f6dcf3",140   "language": "Python",141   "lines": 65,142   "truncated": false,143   "block": 23,144   "row": 1360145  },146  {147   "path": "examples/negative_binomial/plot_estimating_dispersion.py",148   "sha256": "389b8e9e819fcf4cb7fdbf9dd88cdf5eb29dd05005eb6846bc45cd5fc6954987",149   "language": "Python",150   "lines": 63,151   "truncated": false,152   "block": 23,153   "row": 1688154  },155  {156   "path": "examples/plot_structure_basic/plot_inferred_structure.py",157   "sha256": "6304fdaa4dbe366beb86675150c097c3d341420f43c0b9f21aefa26289b8503e",158   "language": "Python",159   "lines": 219,160   "truncated": false,161   "block": 23,162   "row": 8917163  },164  {165   "path": "pastis/__init__.py",166   "sha256": "5d786f977270e5c11697c065794f51b539e06cd31bd4e440a87f00a0658c03ac",167   "language": "Python",168   "lines": 8,169   "truncated": false,170   "block": 22,171   "row": 25817172  },173  {174   "path": "pastis/algorithms.py",175   "sha256": "7627c8c8cc0bb7f6bf10fa9e18f8eb30702e9a512d25d1e4556497f0098d708e",176   "language": "Python",177   "lines": 333,178   "truncated": false,179   "block": 23,180   "row": 10038181  },182  {183   "path": "pastis/config.py",184   "sha256": "ad2f7a8ccf3acc7107d5a6b138ea5b8eb84826570e0eb0f52d7e00b74b991088",185   "language": "Python",186   "lines": 118,187   "truncated": false,188   "block": 23,189   "row": 4313190  },191  {192   "path": "pastis/datasets/__init__.py",193   "sha256": "9a50a0e855c6aeaff18dbf49d362882cc1507d4b5832bf36a6479c3f67b0f883",194   "language": "Python",195   "lines": 1,196   "truncated": false,197   "block": 22,198   "row": 25423199  },200  {201   "path": "pastis/datasets/_generated_datasets.py",202   "sha256": "e77579f3b0d8d717823ca6179b3fa5d9cedfa54279033dafbe71a32dbb4f2da8",203   "language": "Python",204   "lines": 98,205   "truncated": false,206   "block": 23,207   "row": 3931208  },209  {210   "path": "pastis/datasets/tests/test_datasets.py",211   "sha256": "b8aead4900af6f78d95f749aee4bb185c34b2ec684fc1c0ed2aa307414de83da",212   "language": "Python",213   "lines": 18,214   "truncated": false,215   "block": 22,216   "row": 27800217  },218  {219   "path": "pastis/dispersion/__init__.py",220   "sha256": "4e6974c29d779ee2d67d4e6ecb031ab843b439ea6a0afa870d2580bcdad23f16",221   "language": "Python",222   "lines": 210,223   "truncated": false,224   "block": 23,225   "row": 8353226  },227  {228   "path": "pastis/dispersion/tests/test_dispersion.py",229   "sha256": "58b0ee254d80098c75265701d05d72c6ded93abeda4aeaf017026ac3a2865db6",230   "language": "Python",231   "lines": 76,232   "truncated": false,233   "block": 23,234   "row": 2261235  },236  {237   "path": "pastis/dispersion/utils.py",238   "sha256": "d5ab2ed88b69d2023d2c75be5c38e74ebd6edd64219fc4cda2a1ff7cc209707d",239   "language": "Python",240   "lines": 26,241   "truncated": false,242   "block": 22,243   "row": 27919244  },245  {246   "path": "pastis/fastio.py",247   "sha256": "3cfff49293b2ddacc623f61731f9d5d7f7c1bd460a160b48b757e6a7baca3447",248   "language": "Python",249   "lines": 117,250   "truncated": false,251   "block": 23,252   "row": 4188253  },254  {255   "path": "pastis/io/__init__.py",256   "sha256": "1f2671aece884a2bb1e9a972c08f7ccaeec448d032f72b8304d9cb303c35408d",257   "language": "Python",258   "lines": 81,259   "truncated": false,260   "block": 23,261   "row": 1140262  },263  {264   "path": "pastis/io/read/__init__.py",265   "sha256": "01fd68a2da99c434abe7e5ff20e7f63def2681b60fc9acf8c77a78bb389de2d1",266   "language": "Python",267   "lines": 1,268   "truncated": false,269   "block": 22,270   "row": 25406271  },272  {273   "path": "pastis/io/read/all_data.py",274   "sha256": "43a038e90818d581ca06038a507719ebc856f5655d878d9f3b77cca61db897aa",275   "language": "Python",276   "lines": 118,277   "truncated": false,278   "block": 23,279   "row": 6034280  },281  {282   "path": "pastis/io/read/hiclib.py",283   "sha256": "028478ca2f99d540c0bca003d1914bac5a18f4b16eba76d79de270277123657a",284   "language": "Python",285   "lines": 82,286   "truncated": false,287   "block": 23,288   "row": 2054289  },290  {291   "path": "pastis/io/write_struct/pdb.py",292   "sha256": "8fda8cf7ce6b4a474be3c95915dd976428941914b1f6e7671d414dc25b33b556",293   "language": "Python",294   "lines": 132,295   "truncated": false,296   "block": 23,297   "row": 4942298  },299  {300   "path": "pastis/optimization/__init__.py",301   "sha256": "1a49ec1c87a926d7a4e34b5f8d2f3749602de4d906f05b851b8040ffd22de083",302   "language": "Python",303   "lines": 2,304   "truncated": false,305   "block": 22,306   "row": 25541307  },308  {309   "path": "pastis/optimization/callbacks.py",310   "sha256": "94d20489a27663eb58d34d593652c3816734802848a91e9bb334d5285444d020",311   "language": "Python",312   "lines": 338,313   "truncated": false,314   "block": 23,315   "row": 11954316  },317  {318   "path": "pastis/optimization/constraints.py",319   "sha256": "a586eb7b48dba22544207230436f6e9f9e9b1a765be0e1be148fcd0b1a7d90b8",320   "language": "Python",321   "lines": 532,322   "truncated": false,323   "block": 23,324   "row": 13411325  },326  {327   "path": "pastis/optimization/counts.py",328   "sha256": "fd189372e2884ecfbfbfb29784d4c8697d3e8cc0e16172d3b178117276e4a3d4",329   "language": "Python",330   "lines": 1063,331   "truncated": false,332   "block": 23,333   "row": 14693334  },335  {336   "path": "pastis/optimization/estimate_alpha_beta.py",337   "sha256": "dd09ddebadc5b9bc51c948ae2411396f446550c137ded2e2cdb6a24082c19f25",338   "language": "Python",339   "lines": 361,340   "truncated": false,341   "block": 23,342   "row": 11937343  },344  {345   "path": "pastis/optimization/initialization.py",346   "sha256": "1277ae07353ebc4326139016e5a7709e51b23c0f771ea9fb0691dbb58afcd439",347   "language": "Python",348   "lines": 211,349   "truncated": false,350   "block": 23,351   "row": 9621352  },353  {354   "path": "pastis/optimization/mds.py",355   "sha256": "61e4e4bf09843efb862c53a996fcf183509627f78f67d748337648ebad5160d9",356   "language": "Python",357   "lines": 254,358   "truncated": false,359   "block": 23,360   "row": 9634361  },362  {363   "path": "pastis/optimization/multiscale_optimization.py",364   "sha256": "7ceb83fa82bf99411c4676d767420e48464942042aea57ed26de7501852840e7",365   "language": "Python",366   "lines": 516,367   "truncated": false,368   "block": 23,369   "row": 13307370  },371  {372   "path": "pastis/optimization/negative_binomial.py",373   "sha256": "4b1ce6e62881d421a7ab8898bd1eb748f69f5d19217aa7de3b35ab329cf7e059",374   "language": "Python",375   "lines": 248,376   "truncated": false,377   "block": 23,378   "row": 9253379  },380  {381   "path": "pastis/optimization/negative_binomial_structure.py",382   "sha256": "9c8c88547b23635712ac2a494d9e8bbe32a36b4dc909ec071fbc318d25a467aa",383   "language": "Python",384   "lines": 302,385   "truncated": false,386   "block": 23,387   "row": 10092388  },389  {390   "path": "pastis/optimization/pastis_algorithms.py",391   "sha256": "0fe81ae92f701b567964021f8dd73703c889545f55a8bb0c2a1701cf1f321ac5",392   "language": "Python",393   "lines": 768,394   "truncated": false,395   "block": 23,396   "row": 14508397  },398  {399   "path": "pastis/optimization/piecewise_whole_genome.py",400   "sha256": "4b133abc0ecebbe6fc1c5dcbc685bc7b8177d25bea690199b7b0d8cfb9bd1b2c",401   "language": "Python",402   "lines": 704,403   "truncated": false,404   "block": 23,405   "row": 14162406  },407  {408   "path": "pastis/optimization/poisson.py",409   "sha256": "b8211bfb153b1c9a1989d34e93e711769201bbcccc1c4e0d0854facaed029588",410   "language": "Python",411   "lines": 634,412   "truncated": false,413   "block": 23,414   "row": 13743415  },416  {417   "path": "pastis/optimization/poisson_model.py",418   "sha256": "352f0832686db65ad04aa580deaca9f73b874a9132ecdef0c5f8f3484891f434",419   "language": "Python",420   "lines": 371,421   "truncated": false,422   "block": 23,423   "row": 10552424  },425  {426   "path": "pastis/optimization/poisson_structure.py",427   "sha256": "422646df6b17b634bb73a4a9489ec4d79c5483af1654bbdb2b45dd14d44c4d53",428   "language": "Python",429   "lines": 263,430   "truncated": false,431   "block": 23,432   "row": 9133433  },434  {435   "path": "pastis/optimization/tests/test_constraints.py",436   "sha256": "6dc34c94eba100904592d4287aded7641f611f4bd66d29413a75dd8ff8665c01",437   "language": "Python",438   "lines": 228,439   "truncated": false,440   "block": 23,441   "row": 8785442  },443  {444   "path": "pastis/optimization/tests/test_estimate_alpha_beta.py",445   "sha256": "b2e08be421d983e6d1d2389339a691dd49183864145000befd6b26b6767c50f2",446   "language": "Python",447   "lines": 407,448   "truncated": false,449   "block": 23,450   "row": 11839451  },452  {453   "path": "pastis/optimization/tests/test_mds.py",454   "sha256": "f6ce923d2abb9c9c2639b60fd0c27164da0db53273eedaa074e9ee19ee38330d",455   "language": "Python",456   "lines": 22,457   "truncated": false,458   "block": 22,459   "row": 27867460  },461  {462   "path": "pastis/optimization/tests/test_multiscale_optimization.py",463   "sha256": "d3dfb57b52d9eb799f2148aaf2eb68f9257cf27db6408b9df6f80f860c4660c3",464   "language": "Python",465   "lines": 346,466   "truncated": false,467   "block": 23,468   "row": 11764469  },470  {471   "path": "pastis/optimization/tests/test_negative_binomial.py",472   "sha256": "5e1ad877474b09a060a0b8f58b5348192ad5fab7c83571e61f1f38ed2bd5b01a",473   "language": "Python",474   "lines": 194,475   "truncated": false,476   "block": 23,477   "row": 7876478  },479  {480   "path": "pastis/optimization/tests/test_negative_binomial_structure.py",481   "sha256": "cfe5c250d5538e1cd0f542ee7595acc947f378f0c9dd421040d5fa1741f79161",482   "language": "Python",483   "lines": 276,484   "truncated": false,485   "block": 23,486   "row": 9992487  },488  {489   "path": "pastis/optimization/tests/test_pastis_algorithms.py",490   "sha256": "bfc20c0ee3715400e5177f0214baf1d13a7c814b9cb1c2da37c228f53ffb1140",491   "language": "Python",492   "lines": 301,493   "truncated": false,494   "block": 23,495   "row": 10381496  },497  {498   "path": "pastis/optimization/tests/test_poisson.py",499   "sha256": "4b100addfcc28c3a79bba453334d325276a0e8b8f94f0fc590cfd4943503658a",500   "language": "Python",501   "lines": 231,502   "truncated": false,503   "block": 23,504   "row": 8012505  },506  {507   "path": "pastis/optimization/tests/test_poisson_model.py",508   "sha256": "bdcae49aff62ee9f5b8e1df692d5f186b071495ec32fb744c427ec03779d1637",509   "language": "Python",510   "lines": 141,511   "truncated": false,512   "block": 23,513   "row": 6573514  },515  {516   "path": "pastis/optimization/tests/test_poisson_structure.py",517   "sha256": "ef3689944b67caa170a872b4447671532e761f8c28f65cdc1b546b52d8558d28",518   "language": "Python",519   "lines": 39,520   "truncated": false,521   "block": 22,522   "row": 29411523  },524  {525   "path": "pastis/optimization/tests/test_process_counts.py",526   "sha256": "1d969b4868d660fe52ba1f592a6bcb62848c68ad2805d551fb6f5666f4c2872b",527   "language": "Python",528   "lines": 110,529   "truncated": false,530   "block": 23,531   "row": 4016532  },533  {534   "path": "pastis/optimization/utils.py",535   "sha256": "18e58fa745bf07561f30bdebe9077f7995eb5e355e754303f4b39ee7bf0907a9",536   "language": "Python",537   "lines": 174,538   "truncated": false,539   "block": 23,540   "row": 5758541  },542  {543   "path": "pastis/optimization/utils_poisson.py",544   "sha256": "8905a7423bfcfa3d8d1bab5af6e0787d4f60ecd565231a3a63d67576bd387ad3",545   "language": "Python",546   "lines": 321,547   "truncated": false,548   "block": 23,549   "row": 11091550  },551  {552   "path": "pastis/script/mds.py",553   "sha256": "7105ac4dc532edd96bfd9064e58cdbc933aea0ce63d482e72e665b54fbc9f877",554   "language": "Python",555   "lines": 18,556   "truncated": false,557   "block": 22,558   "row": 26805559  },560  {561   "path": "pastis/script/nmds.py",562   "sha256": "65e5e3bc28d9eb99e56817a691f3d785cf39581a1404cf2a27e3c3c93cf46a4c",563   "language": "Python",564   "lines": 18,565   "truncated": false,566   "block": 22,567   "row": 26813568  },569  {570   "path": "pastis/script/pastis_poisson.py",571   "sha256": "1daaf0d78a9605cba4a1bd6f45b5e27f365c47ba6a3b3520695f4651cab1b198",572   "language": "Python",573   "lines": 148,574   "truncated": false,575   "block": 23,576   "row": 7965577  },578  {579   "path": "pastis/script/pm1.py",580   "sha256": "18efb4dc6ff0385fbb813215033e75fa5a1fe65a67cf30870aef2aa6cbd07829",581   "language": "Python",582   "lines": 16,583   "truncated": false,584   "block": 22,585   "row": 26630586  },587  {588   "path": "pastis/script/pm2.py",589   "sha256": "0a074f331ac3d8e19e477bbc188f261aab87d3a3c9daac9cafa1e846f52a4106",590   "language": "Python",591   "lines": 16,592   "truncated": false,593   "block": 22,594   "row": 26629595  },596  {597   "path": "pastis/tests/test_config.py",598   "sha256": "72bd4a3315361ae71b2b5708c31e6ba6c2e3d3eb509df512934b168d7531d41c",599   "language": "Python",600   "lines": 15,601   "truncated": false,602   "block": 22,603   "row": 26511604  },605  {606   "path": "pastis/utils/__init__.py",607   "sha256": "4249ecc1e2e5d730a7fcf6d755a4389e82797aa9e31acb2d2964648d4e25189c",608   "language": "Python",609   "lines": 2,610   "truncated": false,611   "block": 22,612   "row": 25535613  },614  {615   "path": "pastis/utils/bezier.py",616   "sha256": "742b3eb062da7460fc9e3208d1e3c904ae0f8a7a8034f8055a04f5180cf72588",617   "language": "Python",618   "lines": 13,619   "truncated": false,620   "block": 22,621   "row": 26409622  },623  {624   "path": "pastis/utils/tests/test_validation.py",625   "sha256": "2e0bbb9f521748f0afadc9a44337fb46336e7c0586c26f413c37ca3356a45b2e",626   "language": "Python",627   "lines": 12,628   "truncated": false,629   "block": 22,630   "row": 26508631  },632  {633   "path": "pastis/utils/validation.py",634   "sha256": "fbf6a183511d7e3bb95d91f501fe47244686d5347f46379ea685740777eb6918",635   "language": "Python",636   "lines": 25,637   "truncated": false,638   "block": 22,639   "row": 27250640  },641  {642   "path": "pastis/validation/__init__.py",643   "sha256": "e5b0663fa1e2610e77156a09ace12ce9c0e6c41bca8e407de2165d22aeb9e156",644   "language": "Python",645   "lines": 1,646   "truncated": false,647   "block": 22,648   "row": 25468649  },650  {651   "path": "pastis/validation/_realignment.py",652   "sha256": "c067c03f93e7e2a4d376fd48c00ced0f27d20742e085c80640ec9d30ff7906d5",653   "language": "Python",654   "lines": 160,655   "truncated": false,656   "block": 23,657   "row": 4580658  },659  {660   "path": "setup.py",661   "sha256": "843ac26c38a41abae578250bc0f9419194b320a0f67327d941037a4268f6cfe7",662   "language": "Python",663   "lines": 3,664   "truncated": false,665   "block": 2,666   "row": 1605667  }668 ]669}