diff --git a/Cargo.lock b/Cargo.lock index 2d5761bf..19852e94 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,7 +31,7 @@ dependencies = [ "actix-utils", "ahash", "base64", - "bitflags 2.3.3", + "bitflags 2.4.0", "brotli", "bytes", "bytestring", @@ -60,12 +60,12 @@ dependencies = [ [[package]] name = "actix-macros" -version = "0.2.3" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "465a6172cf69b960917811022d8f29bc0b7fa1398bc4f78b3c466673db1213b6" +checksum = "e01ed3140b2f8d422c68afa1ed2e85d996ea619c988ac834d255db32138655cb" dependencies = [ "quote", - "syn 1.0.109", + "syn 2.0.37", ] [[package]] @@ -83,9 +83,9 @@ dependencies = [ [[package]] name = "actix-rt" -version = "2.8.0" +version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "15265b6b8e2347670eb363c47fc8c75208b4a4994b27192f345fcbe707804f3e" +checksum = "28f32d40287d3f402ae0028a9d54bef51af15c8769492826a69d28f81893151d" dependencies = [ "futures-core", "tokio", @@ -93,9 +93,9 @@ dependencies = [ [[package]] name = "actix-server" -version = "2.2.0" +version = "2.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3e8613a75dd50cc45f473cee3c34d59ed677c0f7b44480ce3b8247d7dc519327" +checksum = "3eb13e7eef0423ea6eab0e59f6c72e7cb46d33691ad56a726b3cd07ddec2c2d4" dependencies = [ "actix-rt", "actix-service", @@ -103,8 +103,7 @@ dependencies = [ "futures-core", "futures-util", "mio", - "num_cpus", - "socket2 0.4.9", + "socket2", "tokio", "tracing", ] @@ -165,28 +164,28 @@ dependencies = [ "serde_json", "serde_urlencoded", "smallvec", - "socket2 0.5.3", + "socket2", "time", "url", ] [[package]] name = "actix-web-codegen" -version = "4.2.0" +version = "4.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2262160a7ae29e3415554a3f1fc04c764b1540c116aa524683208078b7a75bc9" +checksum = "eb1f50ebbb30eca122b188319a4398b3f7bb4a8cdf50ecfb73bfc6a3c3ce54f5" dependencies = [ "actix-router", "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.37", ] [[package]] name = "addr2line" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4fa78e18c64fce05e902adecd7a5eed15a5e0a3439f7b0e169f0252214865e3" +checksum = "8a30b2e23b9e17a9f90641c7ab1549cd9b44f296d3ccbf309d2863cfe398a0cb" dependencies = [ "gimli", ] @@ -211,9 +210,9 @@ dependencies = [ [[package]] name = "aho-corasick" -version = "1.0.2" +version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43f6cb1bf222025340178f382c426f13757b2960e89779dfcb319c32542a5a41" +checksum = "0c378d78423fdad8089616f827526ee33c19f2fddbd5de1629152c9593ba4783" dependencies = [ "memchr", ] @@ -235,9 +234,9 @@ dependencies = [ [[package]] name = "allocator-api2" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56fc6cf8dc8c4158eed8649f9b8b0ea1518eb62b544fe9490d66fa0b349eafe9" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" [[package]] name = "android-tzdata" @@ -256,9 +255,9 @@ dependencies = [ [[package]] name = "annonars" -version = "0.14.1" +version = "0.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a535a1cd6a637e969e5871a6e94951d179a54121a34be9e65eea98a8b495720b" +checksum = "856d2a30152c991d240d14a38c724f0f800e65d44a5b9ea34279cd67a9e6f912" dependencies = [ "actix-web", "anyhow", @@ -269,7 +268,7 @@ dependencies = [ "clap", "clap-verbosity-flag", "csv", - "enum-map 2.6.0", + "enum-map 2.6.3", "env_logger", "flate2", "hgvs", @@ -282,8 +281,8 @@ dependencies = [ "noodles-csi", "noodles-tabix", "noodles-vcf", - "prost 0.11.9", - "prost-build 0.11.9", + "prost", + "prost-build", "rayon", "rocksdb", "rocksdb-utils-lookup", @@ -312,9 +311,9 @@ dependencies = [ [[package]] name = "anstyle" -version = "1.0.1" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3a30da5c5f2d5e72842e00bcb57657162cdabef0931f40e2deb9b4140440cecd" +checksum = "b84bf0a05bbb2a83e5eb6fa36bb6e87baa08193c35ff52bbf6b38d8af2890e46" [[package]] name = "anstyle-parse" @@ -361,13 +360,13 @@ dependencies = [ [[package]] name = "async-trait" -version = "0.1.69" +version = "0.1.73" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b2d0f03b3640e3a630367e40c468cb7f309529c708ed1d88597047b0e7c6ef7" +checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -378,9 +377,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "backtrace" -version = "0.3.68" +version = "0.3.69" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4319208da049c43661739c5fade2ba182f09d1dc2299b32298d3a31692b17e12" +checksum = "2089b7e3f35b9dd2d0ed921ead4f6d318c27680d4a5bd167b3ee120edb105837" dependencies = [ "addr2line", "cc", @@ -399,9 +398,9 @@ checksum = "4c7f02d4ea65f2c1853089ffd8d2787bdbc63de2f0d29dedbcf8ccdfa0ccd4cf" [[package]] name = "base64" -version = "0.21.2" +version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "604178f6c5c21f02dc555784810edfb88d34ac2c73b2eae109655649ee73ce3d" +checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" [[package]] name = "bgzip" @@ -427,20 +426,20 @@ dependencies = [ "lazy_static", "lazycell", "peeking_take_while", - "prettyplease 0.2.9", + "prettyplease", "proc-macro2", "quote", "regex", "rustc-hash", "shlex", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] name = "bio" -version = "1.3.1" +version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "549b4c9b9f56970dd6c169a59d04cf4b940aba860c4023cb8427ec4967b4d84e" +checksum = "ea643e25059ce02b94e8f6eb4e902d160baa6d0beb91834ed971dd5a880c02ba" dependencies = [ "anyhow", "approx", @@ -454,7 +453,7 @@ dependencies = [ "enum-map 1.1.1", "fxhash", "getset", - "itertools 0.11.0", + "itertools", "itertools-num", "lazy_static", "multimap", @@ -470,7 +469,7 @@ dependencies = [ "serde_derive", "statrs", "strum", - "strum_macros 0.25.1", + "strum_macros", "thiserror", "triple_accel", "vec_map", @@ -478,14 +477,14 @@ dependencies = [ [[package]] name = "bio-types" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c915bf6c578d40e1e497f8c571a4514bc89c3195cec2abb8be6dd5500405c752" +checksum = "9d45749b87f21808051025e9bf714d14ff4627f9d8ca967eade6946ea769aa4a" dependencies = [ "derive-new", "lazy_static", "regex", - "strum_macros 0.24.3", + "strum_macros", "thiserror", ] @@ -512,9 +511,9 @@ checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" [[package]] name = "bitflags" -version = "2.3.3" +version = "2.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" +checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635" [[package]] name = "block-buffer" @@ -554,9 +553,9 @@ dependencies = [ [[package]] name = "bumpalo" -version = "3.13.0" +version = "3.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1" +checksum = "7f30e7476521f6f8af1a1c4c0b8cc94f0bee37d91763d0ca2665f299b6cd8aec" [[package]] name = "bv" @@ -586,9 +585,9 @@ checksum = "2c676a478f63e9fa2dd5368a42f28bba0d6c560b775f38583c8bbaa7fcd67c9c" [[package]] name = "bytemuck" -version = "1.13.1" +version = "1.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea" +checksum = "374d28ec25809ee0e23827c2ab573d729e293f281dfe393500e7ad618baa61c6" [[package]] name = "byteorder" @@ -598,9 +597,9 @@ checksum = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610" [[package]] name = "bytes" -version = "1.4.0" +version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" +checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" [[package]] name = "bytestring" @@ -624,11 +623,12 @@ dependencies = [ [[package]] name = "cc" -version = "1.0.79" +version = "1.0.83" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" +checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0" dependencies = [ "jobserver", + "libc", ] [[package]] @@ -648,9 +648,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "chrono" -version = "0.4.30" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "defd4e7873dbddba6c7c91e199c7fcb946abc4a6a4ac3195400bcfb01b5de877" +checksum = "7f2c685bad3eb3d45a01354cedb7d5faa66194d1d58ba6e267a8de788f79db38" dependencies = [ "android-tzdata", "iana-time-zone", @@ -658,7 +658,7 @@ dependencies = [ "num-traits", "serde", "wasm-bindgen", - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -674,9 +674,9 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.2" +version = "4.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" +checksum = "84ed82781cea27b43c9b106a979fe450a13a31aab0500595fb3fc06616de08e6" dependencies = [ "clap_builder", "clap_derive", @@ -713,14 +713,14 @@ dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961" [[package]] name = "colorchoice" @@ -766,9 +766,9 @@ checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" [[package]] name = "cpufeatures" -version = "0.2.8" +version = "0.2.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03e69e28e9f7f77debdedbaafa2866e1de9ba56df55a8bd7cfc724c25a09987c" +checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" dependencies = [ "libc", ] @@ -864,9 +864,9 @@ checksum = "ef8ae57c4978a2acd8b869ce6b9ca1dfe817bff704c220209fdef2c0b75a01b9" [[package]] name = "darling" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0558d22a7b463ed0241e993f76f09f30b126687447751a8638587b864e4b3944" +checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" dependencies = [ "darling_core", "darling_macro", @@ -874,27 +874,36 @@ dependencies = [ [[package]] name = "darling_core" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab8bfa2e259f8ee1ce5e97824a3c55ec4404a0d772ca7fa96bf19f0752a046eb" +checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" dependencies = [ "fnv", "ident_case", "proc-macro2", "quote", "strsim", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] name = "darling_macro" -version = "0.20.1" +version = "0.20.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "29a358ff9f12ec09c3e61fef9b5a9902623a695a46a917b07f269bff1445611a" +checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" dependencies = [ "darling_core", "quote", - "syn 2.0.26", + "syn 2.0.37", +] + +[[package]] +name = "deranged" +version = "0.3.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" +dependencies = [ + "serde", ] [[package]] @@ -957,9 +966,9 @@ checksum = "3e02df23d5b1c6f9e69fa603b890378123b93073df998a21e6e33b9db0a32613" [[package]] name = "either" -version = "1.8.1" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "encode_unicode" @@ -969,9 +978,9 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] name = "encoding_rs" -version = "0.8.32" +version = "0.8.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394" +checksum = "7268b386296a025e474d5140678f75d6de9493ae55a5d709eeb9dd08149945e1" dependencies = [ "cfg-if", ] @@ -987,11 +996,11 @@ dependencies = [ [[package]] name = "enum-map" -version = "2.6.0" +version = "2.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "017b207acb4cc917f4c31758ed95c0bc63ddb0f358b22eb38f80a2b2a43f6b1f" +checksum = "c188012f8542dee7b3996e44dd89461d64aa471b0a7c71a1ae2f595d259e96e5" dependencies = [ - "enum-map-derive 0.12.0", + "enum-map-derive 0.14.0", "serde", ] @@ -1008,13 +1017,13 @@ dependencies = [ [[package]] name = "enum-map-derive" -version = "0.12.0" +version = "0.14.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8560b409800a72d2d7860f8e5f4e0b0bd22bea6a352ea2a9ce30ccdef7f16d2f" +checksum = "04d0b288e3bb1d861c4403c1774a6f7a798781dfc519b3647df2a3dd4ae95f25" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -1032,15 +1041,15 @@ dependencies = [ [[package]] name = "equivalent" -version = "1.0.0" +version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "88bffebc5d80432c9b140ee17875ff173a8ab62faad5b257da912bd2f6c1c0a1" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" [[package]] name = "errno" -version = "0.3.1" +version = "0.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a" +checksum = "136526188508e25c6fef639d7927dfb3e0e3084488bf202267829cf7fc23dbdd" dependencies = [ "errno-dragonfly", "libc", @@ -1071,12 +1080,9 @@ checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a" [[package]] name = "fastrand" -version = "1.9.0" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be" -dependencies = [ - "instant", -] +checksum = "6999dc1837253364c2ebb0704ba97994bd874e8f195d665c50b7548f6ea92764" [[package]] name = "feature-probe" @@ -1084,6 +1090,12 @@ version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "835a3dc7d1ec9e75e2b5fb4ba75396837112d2060b03f7d43bc1897c7f7211da" +[[package]] +name = "finl_unicode" +version = "1.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fcfdc7a0362c9f4444381a9e697c79d435fe65b52a37466fc2c1184cee9edc6" + [[package]] name = "fixedbitset" version = "0.4.2" @@ -1177,7 +1189,7 @@ checksum = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -1260,9 +1272,9 @@ dependencies = [ [[package]] name = "gimli" -version = "0.27.3" +version = "0.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6c80984affa11d98d1b88b66ac8853f143217b399d3c74116778ff8fdb4ed2e" +checksum = "6fb8d784f27acf97159b40fc4db5ecd8aa23b9ad5ef69cdd136d3bc80665f0c0" [[package]] name = "glob" @@ -1272,9 +1284,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b" [[package]] name = "h2" -version = "0.3.20" +version = "0.3.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97ec8491ebaf99c8eaa73058b045fe58073cd6be7f596ac993ced0b0a0c01049" +checksum = "91fc23aa11be92976ef4729127f1a74adf36d8436f7816b185d18df956790833" dependencies = [ "bytes", "fnv", @@ -1295,12 +1307,6 @@ version = "0.12.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" -[[package]] -name = "hashbrown" -version = "0.13.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" - [[package]] name = "hashbrown" version = "0.14.0" @@ -1313,9 +1319,9 @@ dependencies = [ [[package]] name = "hashlink" -version = "0.8.3" +version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "312f66718a2d7789ffef4f4b7b213138ed9f1eb3aa1d0d82fc99f88fb3ffd26f" +checksum = "e8094feaf31ff591f651a2664fb9cfd92bba7a60ce3197265e9482ebe753c8f7" dependencies = [ "hashbrown 0.14.0", ] @@ -1340,14 +1346,14 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hgvs" -version = "0.10.1" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5dd5d595b05540a8288c2b44fba457fa0a408fb0dc4f856b55b2f720d74c95a9" +checksum = "d2c8237412c585364c6d56a985ea67f550a2e8fd55c6b8f949e732a89d2274a7" dependencies = [ "base16ct", "bio", "chrono", - "enum-map 2.6.0", + "enum-map 2.6.3", "flate2", "indexmap 2.0.0", "lazy_static", @@ -1358,7 +1364,7 @@ dependencies = [ "quick_cache", "regex", "rustc-hash", - "seqrepo 0.6.1", + "seqrepo", "serde", "serde_json", "thiserror", @@ -1373,6 +1379,15 @@ dependencies = [ "digest", ] +[[package]] +name = "home" +version = "0.5.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb" +dependencies = [ + "windows-sys 0.48.0", +] + [[package]] name = "http" version = "0.2.9" @@ -1392,9 +1407,9 @@ checksum = "d897f394bad6a705d5f4104762e116a75639e470d80901eed05a860a95cb1904" [[package]] name = "httpdate" -version = "1.0.2" +version = "1.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" +checksum = "df3b46402a9d5adb4c86a0cf463f42e19994e3ee891101b1841f30a545cb49a9" [[package]] name = "humantime" @@ -1513,24 +1528,15 @@ dependencies = [ [[package]] name = "is-terminal" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "24fddda5af7e54bf7da53067d6e802dbcc381d0a8eef629df528e3ebf68755cb" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" dependencies = [ "hermit-abi", - "rustix 0.38.2", + "rustix 0.38.13", "windows-sys 0.48.0", ] -[[package]] -name = "itertools" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.11.0" @@ -1551,9 +1557,9 @@ dependencies = [ [[package]] name = "itoa" -version = "1.0.8" +version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b02a5381cc465bd3041d84623d0fa3b66738b52b8e2fc3bab8ad63ab032f4a" +checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" [[package]] name = "jobserver" @@ -1604,9 +1610,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55" [[package]] name = "libc" -version = "0.2.147" +version = "0.2.148" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "9cdc71e17332e86d2e1d38c1f99edcb6288ee11b815fb1a4b049eaa2114d369b" [[package]] name = "libloading" @@ -1652,9 +1658,9 @@ dependencies = [ [[package]] name = "libz-sys" -version = "1.1.9" +version = "1.1.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56ee889ecc9568871456d42f603d6a0ce59ff328d291063a45cbdf0036baf6db" +checksum = "d97137b25e321a73eef1418d1d5d2eda4d77e12813f8e6dead84bc52c5870a7b" dependencies = [ "cc", "pkg-config", @@ -1675,25 +1681,18 @@ checksum = "f051f77a7c8e6957c0696eac88f26b0117e54f52d3fc682ab19397a8812846a4" [[package]] name = "linux-raw-sys" -version = "0.3.8" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519" - -[[package]] -name = "linux-raw-sys" -version = "0.4.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "09fc20d2ca12cb9f044c93e3bd6d32d523e6e2ec3db4f7b2939cd99026ecd3f0" +checksum = "1a9bad9f94746442c783ca431b22403b519cd7fbeed0533fdd6328b2f2212128" [[package]] name = "local-channel" -version = "0.1.3" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f303ec0e94c6c54447f84f3b0ef7af769858a9c4ef56ef2a986d3dcd4c3fc9c" +checksum = "e0a493488de5f18c8ffcba89eebb8532ffc562dc400490eb65b84893fae0b178" dependencies = [ "futures-core", "futures-sink", - "futures-util", "local-waker", ] @@ -1777,21 +1776,21 @@ dependencies = [ "noodles-bgzf", "noodles-core", "noodles-csi", - "noodles-fasta 0.27.0", + "noodles-fasta", "noodles-tabix", "noodles-vcf", "parse-display", "pretty_assertions", "procfs", - "prost 0.11.9", - "prost-build 0.12.0", + "prost", + "prost-build", "quick_cache", "rand 0.8.5", "rand_core 0.6.4", "rocksdb", "rstest", "rustc-hash", - "seqrepo 0.7.0", + "seqrepo", "serde", "serde_json", "serde_with", @@ -1807,9 +1806,9 @@ dependencies = [ [[package]] name = "memchr" -version = "2.5.0" +version = "2.6.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d" +checksum = "8f232d6ef707e1956a43342693d2a31e72989554d58299d7a88738cc95b0d35c" [[package]] name = "memoffset" @@ -1934,9 +1933,9 @@ dependencies = [ [[package]] name = "noodles-bgzf" -version = "0.22.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2985a96e0306878a47e223f1bc8b5c988de6ef1516797796e05349dac0a727b2" +checksum = "8f4c43ff0879c542c1d8fd570c03e368f629587721d10267f2619e36afc9c9b0" dependencies = [ "byteorder", "bytes", @@ -1952,9 +1951,9 @@ checksum = "94fbe3192fe33acacabaedd387657f39b0fc606f1996d546db0dfe14703b843a" [[package]] name = "noodles-csi" -version = "0.22.0" +version = "0.24.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "55329e145d9b5ba58299e3f9e36512d143e19379f13c3480db7346bcfaadc679" +checksum = "1b2bb780250c88bc9ea69b56c1aa9df75decc6b79035f3f5ab10c0cd84d24fc6" dependencies = [ "bit-vec", "byteorder", @@ -1965,21 +1964,9 @@ dependencies = [ [[package]] name = "noodles-fasta" -version = "0.25.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e096096e1c04ab76fe034ea499c692d8a4401a321155b542cd8ea3b1f7d08d12" -dependencies = [ - "bytes", - "memchr", - "noodles-bgzf", - "noodles-core", -] - -[[package]] -name = "noodles-fasta" -version = "0.27.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a8af3e2fd41a831ab9fbbbd33ce00ab2c1299d6548c13ffc30152ede4d10f6ea" +checksum = "1012431f881aad1912f9650a8d33e7f7493c6202bc2e889949ec1bc26a55f26d" dependencies = [ "bytes", "memchr", @@ -1989,9 +1976,9 @@ dependencies = [ [[package]] name = "noodles-tabix" -version = "0.25.0" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9056c1880629bbd50c7737c4d2cffcfb3610045a024776dad5cd606dd88feefc" +checksum = "056e394ddb4c64bcc9806551a69833294062159600aa8ecf7167a922512bda4f" dependencies = [ "bit-vec", "byteorder", @@ -2002,13 +1989,12 @@ dependencies = [ [[package]] name = "noodles-vcf" -version = "0.34.0" +version = "0.39.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "90ef8021080bdca5eb1328716ed418b0813deb950a244d2faf15e977a565048f" +checksum = "1a056c06c7b33d5ba10bb59c09cca9500b02c3e0ead964dd4cf8f0068159783a" dependencies = [ "indexmap 2.0.0", "memchr", - "nom", "noodles-bgzf", "noodles-core", "noodles-csi", @@ -2028,9 +2014,9 @@ dependencies = [ [[package]] name = "num-complex" -version = "0.4.3" +version = "0.4.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d" +checksum = "1ba157ca0885411de85d6ca030ba7e2a83a28636056c7c699b07c8b6f7383214" dependencies = [ "num-traits", ] @@ -2058,9 +2044,9 @@ dependencies = [ [[package]] name = "num-traits" -version = "0.2.15" +version = "0.2.16" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +checksum = "f30b0abd723be7e2ffca1272140fac1a2f084c77ec3e123c192b66af1ee9e6c2" dependencies = [ "autocfg", "libm", @@ -2084,9 +2070,9 @@ checksum = "830b246a0e5f20af87141b25c173cd1b609bd7779a4617d6ec582abaf90870f3" [[package]] name = "object" -version = "0.31.1" +version = "0.32.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bda667d9f2b5051b8833f59f3bf748b28ef54f850f4fcb389a252aa383866d1" +checksum = "9cf5f9dd3933bd50a9e1f149ec995f39ae2c496d31fd772c1fd45ebc27e902b0" dependencies = [ "memchr", ] @@ -2099,9 +2085,9 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "ordered-float" -version = "3.7.0" +version = "3.9.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2fc2dbde8f8a79f2102cc474ceb0ad68e3b80b85289ea62389b60e66777e4213" +checksum = "2a54938017eacd63036332b4ae5c8a49fc8c0c1d6d629893057e4f13609edd06" dependencies = [ "num-traits", ] @@ -2132,7 +2118,7 @@ dependencies = [ "libc", "redox_syscall", "smallvec", - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -2158,14 +2144,14 @@ dependencies = [ "regex", "regex-syntax", "structmeta", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] name = "paste" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4b27ab7be369122c218afc2079489cdcb4b517c0a3fc386ff11e1fedfcc2b35" +checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" [[package]] name = "peeking_take_while" @@ -2181,12 +2167,12 @@ checksum = "9b2a4787296e9989611394c33f193f676704af1686e70b8f8033ab5ba9a35a94" [[package]] name = "petgraph" -version = "0.6.3" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4dd7d28ee937e54fe3080c91faa1c3a46c06de6252988a7f4592ba2310ef22a4" +checksum = "e1d3afd2628e69da2be385eb6f2fd57c8ac7977ceeff6dc166ff1657b0e386a9" dependencies = [ "fixedbitset", - "indexmap 1.9.3", + "indexmap 2.0.0", ] [[package]] @@ -2209,9 +2195,9 @@ dependencies = [ [[package]] name = "pin-project-lite" -version = "0.2.10" +version = "0.2.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4c40d25201921e5ff0c862a505c6557ea88568a4e3ace775ab55e93f2f4f9d57" +checksum = "8afb450f006bf6385ca15ef45d71d2288452bc3683ce2e2cacc0d18e4be60b58" [[package]] name = "pin-utils" @@ -2227,15 +2213,15 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964" [[package]] name = "portable-atomic" -version = "1.3.3" +version = "1.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "767eb9f07d4a5ebcb39bbf2d452058a93c011373abf6832e24194a1c3f004794" +checksum = "31114a898e107c51bb1609ffaf55a0e011cf6a4d7f1170d0015a165082c0338b" [[package]] name = "postgres" -version = "0.19.5" +version = "0.19.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0bed5017bc2ff49649c0075d0d7a9d676933c1292480c1d137776fb205b5cd18" +checksum = "7915b33ed60abc46040cbcaa25ffa1c7ec240668e0477c4f3070786f5916d451" dependencies = [ "bytes", "fallible-iterator", @@ -2247,9 +2233,9 @@ dependencies = [ [[package]] name = "postgres-protocol" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "78b7fa9f396f51dffd61546fd8573ee20592287996568e6175ceb0f8699ad75d" +checksum = "49b6c5ef183cd3ab4ba005f1ca64c21e8bd97ce4699cfea9e8d9a2c4958ca520" dependencies = [ "base64", "byteorder", @@ -2265,9 +2251,9 @@ dependencies = [ [[package]] name = "postgres-types" -version = "0.2.5" +version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f028f05971fe20f512bcc679e2c10227e57809a3af86a7606304435bc8896cd6" +checksum = "8d2234cdee9408b523530a9b6d2d6b373d1db34f6a8e51dc03ded1828d7fb67c" dependencies = [ "bytes", "chrono", @@ -2293,22 +2279,12 @@ dependencies = [ [[package]] name = "prettyplease" -version = "0.1.25" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c8646e95016a7a6c4adea95bafa8a16baab64b583356217f2c85db4a39d9a86" -dependencies = [ - "proc-macro2", - "syn 1.0.109", -] - -[[package]] -name = "prettyplease" -version = "0.2.9" +version = "0.2.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9825a04601d60621feed79c4e6b56d65db77cdca55cef43b46b0de1096d1c282" +checksum = "ae005bd773ab59b4725093fd7df83fd7892f7d8eafb48dbd7de6e024e4215f9d" dependencies = [ "proc-macro2", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -2337,9 +2313,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.66" +version = "1.0.67" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "18fb31db3f9bddb2ea821cde30a9f70117e3f119938b5ee630b7403aa6e2ead9" +checksum = "3d433d9f1a3e8c1263d9456598b16fec66f4acc9a74dacffd35c7bb09b3a1328" dependencies = [ "unicode-ident", ] @@ -2356,133 +2332,80 @@ dependencies = [ "flate2", "hex", "lazy_static", - "rustix 0.36.14", -] - -[[package]] -name = "prost" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b82eaa1d779e9a4bc1c3217db8ffbeabaae1dca241bf70183242128d48681cd" -dependencies = [ - "bytes", - "prost-derive 0.11.9", + "rustix 0.36.15", ] [[package]] name = "prost" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aa8473a65b88506c106c28ae905ca4a2b83a2993640467a41bb3080627ddfd2c" +checksum = "f4fdd22f3b9c31b53c060df4a0613a1c7f062d4115a2b984dd15b1858f7e340d" dependencies = [ "bytes", - "prost-derive 0.12.0", + "prost-derive", ] [[package]] name = "prost-build" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "119533552c9a7ffacc21e099c24a0ac8bb19c2a2a3f363de84cd9b844feab270" -dependencies = [ - "bytes", - "heck", - "itertools 0.10.5", - "lazy_static", - "log", - "multimap", - "petgraph", - "prettyplease 0.1.25", - "prost 0.11.9", - "prost-types 0.11.9", - "regex", - "syn 1.0.109", - "tempfile", - "which", -] - -[[package]] -name = "prost-build" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "30d3e647e9eb04ddfef78dfee2d5b3fefdf94821c84b710a3d8ebc89ede8b164" +checksum = "8bdf592881d821b83d471f8af290226c8d51402259e9bb5be7f9f8bdebbb11ac" dependencies = [ "bytes", "heck", - "itertools 0.11.0", + "itertools", "log", "multimap", "once_cell", "petgraph", - "prettyplease 0.2.9", - "prost 0.12.0", - "prost-types 0.12.0", + "prettyplease", + "prost", + "prost-types", "regex", - "syn 2.0.26", + "syn 2.0.37", "tempfile", "which", ] [[package]] name = "prost-derive" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5d2d8d10f3c6ded6da8b05b5fb3b8a5082514344d56c9f871412d29b4e075b4" -dependencies = [ - "anyhow", - "itertools 0.10.5", - "proc-macro2", - "quote", - "syn 1.0.109", -] - -[[package]] -name = "prost-derive" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "56075c27b20ae524d00f247b8a4dc333e5784f889fe63099f8e626bc8d73486c" +checksum = "265baba7fabd416cf5078179f7d2cbeca4ce7a9041111900675ea7c4cb8a4c32" dependencies = [ "anyhow", - "itertools 0.11.0", + "itertools", "proc-macro2", "quote", - "syn 2.0.26", -] - -[[package]] -name = "prost-types" -version = "0.11.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "213622a1460818959ac1181aaeb2dc9c7f63df720db7d788b3e24eacd1983e13" -dependencies = [ - "prost 0.11.9", + "syn 2.0.37", ] [[package]] name = "prost-types" -version = "0.12.0" +version = "0.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cebe0a918c97f86c217b0f76fd754e966f8b9f41595095cf7d74cb4e59d730f6" +checksum = "e081b29f63d83a4bc75cfc9f3fe424f9156cf92d8a4f0c9407cce9a1b67327cf" dependencies = [ - "prost 0.12.0", + "prost", ] [[package]] name = "quick_cache" -version = "0.3.0" +version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5253a3a0d56548d5b0be25414171dc780cc6870727746d05bd2bde352eee96c5" +checksum = "f69f8d22fa3f34f3083d9a4375c038732c7a7e964de1beb81c544da92dfc40b8" dependencies = [ "ahash", - "hashbrown 0.13.2", + "equivalent", + "hashbrown 0.14.0", "parking_lot", ] [[package]] name = "quote" -version = "1.0.29" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "573015e8ab27661678357f27dc26460738fd2b6c86e46f386fde94cb5d913105" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -2603,9 +2526,9 @@ dependencies = [ [[package]] name = "regex" -version = "1.9.1" +version = "1.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2eae68fc220f7cf2532e4494aded17545fce192d59cd996e0fe7887f4ceb575" +checksum = "697061221ea1b4a94a624f67d0ae2bfe4e22b8a17b6a192afb11046542cc8c47" dependencies = [ "aho-corasick", "memchr", @@ -2615,9 +2538,9 @@ dependencies = [ [[package]] name = "regex-automata" -version = "0.3.3" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "39354c10dd07468c2e73926b23bb9c2caca74c5501e38a35da70406f1d923310" +checksum = "c2f401f4955220693b56f8ec66ee9c78abffd8d1c4f23dc41a23839eb88f0795" dependencies = [ "aho-corasick", "memchr", @@ -2626,15 +2549,15 @@ dependencies = [ [[package]] name = "regex-syntax" -version = "0.7.4" +version = "0.7.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5ea92a5b6195c6ef2a0295ea818b312502c6fc94dde986c5553242e18fd4ce2" +checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da" [[package]] name = "relative-path" -version = "1.8.0" +version = "1.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4bf2521270932c3c7bed1a59151222bd7643c79310f2916f01925e1e16255698" +checksum = "c707298afce11da2efef2f600116fa93ffa7a032b5d7b628aa17711ec81383ca" [[package]] name = "remove_dir_all" @@ -2657,9 +2580,9 @@ dependencies = [ [[package]] name = "rocksdb-utils-lookup" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d2689a1a506aeb888b493f7e2d8259dd659f7c3589d1694e0c8d328541c722ff" +checksum = "b83002edb508bf7fc5b234bde1489ccaea5bffbaeaf0aae00270257c858b5f9f" dependencies = [ "rocksdb", "thiserror", @@ -2691,7 +2614,7 @@ dependencies = [ "regex", "relative-path", "rustc_version 0.4.0", - "syn 2.0.26", + "syn 2.0.37", "unicode-ident", ] @@ -2701,7 +2624,7 @@ version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "549b9d036d571d42e6e85d1c1425e2ac83491075078ca9a15be021c56b1641f2" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.0", "fallible-iterator", "fallible-streaming-iterator", "hashlink", @@ -2736,14 +2659,14 @@ version = "0.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" dependencies = [ - "semver 1.0.17", + "semver 1.0.18", ] [[package]] name = "rustix" -version = "0.36.14" +version = "0.36.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14e4d67015953998ad0eb82887a0eb0129e18a7e2f3b7b0f6c422fddcd503d62" +checksum = "c37f1bd5ef1b5422177b7646cba67430579cfe2ace80f284fee876bca52ad941" dependencies = [ "bitflags 1.3.2", "errno", @@ -2755,57 +2678,43 @@ dependencies = [ [[package]] name = "rustix" -version = "0.37.22" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8818fa822adcc98b18fedbb3632a6a33213c070556b5aa7c4c8cc21cff565c4c" -dependencies = [ - "bitflags 1.3.2", - "errno", - "io-lifetimes", - "libc", - "linux-raw-sys 0.3.8", - "windows-sys 0.48.0", -] - -[[package]] -name = "rustix" -version = "0.38.2" +version = "0.38.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "aabcb0461ebd01d6b79945797c27f8529082226cb630a9865a71870ff63532a4" +checksum = "d7db8590df6dfcd144d22afd1b83b36c21a18d7cbc1dc4bb5295a8712e9eb662" dependencies = [ - "bitflags 2.3.3", + "bitflags 2.4.0", "errno", "libc", - "linux-raw-sys 0.4.3", + "linux-raw-sys 0.4.7", "windows-sys 0.48.0", ] [[package]] name = "rustversion" -version = "1.0.13" +version = "1.0.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dc31bd9b61a32c31f9650d18add92aa83a49ba979c143eefd27fe7177b05bd5f" +checksum = "7ffc183a10b4478d04cbbbfc96d0873219d962dd5accaff2ffbd4ceb7df837f4" [[package]] name = "ryu" -version = "1.0.14" +version = "1.0.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe232bdf6be8c8de797b22184ee71118d63780ea42ac85b61d1baa6d3b782ae9" +checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741" [[package]] name = "safe_arch" -version = "0.7.0" +version = "0.7.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62a7484307bd40f8f7ccbacccac730108f2cae119a3b11c74485b48aa9ea650f" +checksum = "f398075ce1e6a179b46f51bd88d0598b92b00d3551f1a2d4ac49e771b56ac354" dependencies = [ "bytemuck", ] [[package]] name = "scopeguard" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd" +checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" [[package]] name = "semver" @@ -2815,35 +2724,20 @@ checksum = "d4f410fedcf71af0345d7607d246e7ad15faaadd49d240ee3b24e5dc21a820ac" [[package]] name = "semver" -version = "1.0.17" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed" - -[[package]] -name = "seqrepo" -version = "0.6.1" +version = "1.0.18" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bcda5a65689d34400b5002c579fb2371908a2f712f4d70ea5a2b354540f719ca" -dependencies = [ - "chrono", - "noodles-bgzf", - "noodles-core", - "noodles-fasta 0.25.0", - "rusqlite", - "thiserror", - "tracing", -] +checksum = "b0293b4b29daaf487284529cc2f5675b8e57c61f70167ba415a463651fd6a918" [[package]] name = "seqrepo" -version = "0.7.0" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6eaad4e5d741cc89ab31eb3c1de020427331b2a58ff7d587befb18055a7484c9" +checksum = "94b3579efbd2915e936798fb9f52629feec3cbeef1ef23eb556d49d89ff31455" dependencies = [ "chrono", "noodles-bgzf", "noodles-core", - "noodles-fasta 0.25.0", + "noodles-fasta", "rusqlite", "thiserror", "tracing", @@ -2851,29 +2745,29 @@ dependencies = [ [[package]] name = "serde" -version = "1.0.179" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a5bf42b8d227d4abf38a1ddb08602e229108a517cd4e5bb28f9c7eaafdce5c0" +checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.179" +version = "1.0.188" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "741e124f5485c7e60c03b043f79f320bff3527f4bbf12cf3831750dc46a0ec2c" +checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] name = "serde_json" -version = "1.0.106" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2cc66a619ed80bf7a0f6b17dd063a84b88f6dea1813737cf469aef1d081142c2" +checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65" dependencies = [ "indexmap 2.0.0", "itoa", @@ -2919,7 +2813,7 @@ dependencies = [ "darling", "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -2955,9 +2849,9 @@ dependencies = [ [[package]] name = "shlex" -version = "1.1.0" +version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43b2853a4d09f215c24cc5489c992ce46052d359b5109343cbafbf26bc62f8a3" +checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380" [[package]] name = "signal-hook-registry" @@ -2989,40 +2883,30 @@ checksum = "420acb44afdae038210c99e69aae24109f32f15500aa708e81d46c9f29d55fcf" [[package]] name = "siphasher" -version = "0.3.10" +version = "0.3.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de" +checksum = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" [[package]] name = "slab" -version = "0.4.8" +version = "0.4.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d" +checksum = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" dependencies = [ "autocfg", ] [[package]] name = "smallvec" -version = "1.10.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" - -[[package]] -name = "socket2" -version = "0.4.9" +version = "1.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "64a4a911eed85daf18834cfaa86a79b7d266ff93ff5ba14005426219480ed662" -dependencies = [ - "libc", - "winapi", -] +checksum = "62bb4feee49fdd9f707ef802e22365a35de4b7b299de4763d44bfea899442ff9" [[package]] name = "socket2" -version = "0.5.3" +version = "0.5.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2538b18701741680e0322a2302176d3253a35388e2e62f172f64f4f16605f877" +checksum = "4031e820eb552adee9295814c0ced9e5cf38ddf1e8b7d566d6de8e2538ea989e" dependencies = [ "libc", "windows-sys 0.48.0", @@ -3043,10 +2927,11 @@ dependencies = [ [[package]] name = "stringprep" -version = "0.1.2" +version = "0.1.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8ee348cb74b87454fff4b551cbf727025810a004f88aeacae7f85b87f4e9a1c1" +checksum = "bb41d74e231a107a1b4ee36bd1214b11285b77768d2e3824aedafa988fd36ee6" dependencies = [ + "finl_unicode", "unicode-bidi", "unicode-normalization", ] @@ -3066,7 +2951,7 @@ dependencies = [ "proc-macro2", "quote", "structmeta-derive", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -3077,7 +2962,7 @@ checksum = "a60bcaff7397072dca0017d1db428e30d5002e00b6847703e2e42005c95fbe00" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -3086,33 +2971,20 @@ version = "0.25.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "290d54ea6f91c969195bdbcd7442c8c2a2ba87da8bf60a7ee86a235d4bc1e125" dependencies = [ - "strum_macros 0.25.1", -] - -[[package]] -name = "strum_macros" -version = "0.24.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1e385be0d24f186b4ce2f9982191e7101bb737312ad61c1f2f984f34bcf85d59" -dependencies = [ - "heck", - "proc-macro2", - "quote", - "rustversion", - "syn 1.0.109", + "strum_macros", ] [[package]] name = "strum_macros" -version = "0.25.1" +version = "0.25.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6069ca09d878a33f883cc06aaa9718ede171841d3832450354410b718b097232" +checksum = "ad8d03b598d3d0fff69bf533ee3ef19b8eeb342729596df84bcc7e1f96ec4059" dependencies = [ "heck", "proc-macro2", "quote", "rustversion", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -3134,9 +3006,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.26" +version = "2.0.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "45c3457aacde3c65315de5031ec191ce46604304d2446e803d71ade03308d970" +checksum = "7303ef2c05cd654186cb250d29049a24840ca25d2747c25c0381c8d9e2f582e8" dependencies = [ "proc-macro2", "quote", @@ -3161,15 +3033,14 @@ dependencies = [ [[package]] name = "tempfile" -version = "3.6.0" +version = "3.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31c0432476357e58790aaa47a8efb0c5138f137343f3b5f23bd36a27e3b0a6d6" +checksum = "cb94d2f3cc536af71caac6b6fcebf65860b347e7ce0cc9ebe8f70d3e521054ef" dependencies = [ - "autocfg", "cfg-if", "fastrand", "redox_syscall", - "rustix 0.37.22", + "rustix 0.38.13", "windows-sys 0.48.0", ] @@ -3184,22 +3055,22 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.40" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac" +checksum = "9d6d7a740b8a666a7e828dd00da9c0dc290dff53154ea77ac109281de90589b7" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.40" +version = "1.0.48" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f" +checksum = "49922ecae66cc8a249b77e68d1d0623c1b2c514f0060c27cdc68bd62a1219d35" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -3220,10 +3091,11 @@ dependencies = [ [[package]] name = "time" -version = "0.3.22" +version = "0.3.28" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ea9e1b3cf1243ae005d9e74085d4d542f3125458f3a81af210d901dcd7411efd" +checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" dependencies = [ + "deranged", "itoa", "serde", "time-core", @@ -3238,9 +3110,9 @@ checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" [[package]] name = "time-macros" -version = "0.2.9" +version = "0.2.14" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "372950940a5f07bf38dbe211d7283c9e6d7327df53794992d293e534c733d09b" +checksum = "1a942f44339478ef67935ab2bbaec2fb0322496cf3cbe84b261e06ac3814c572" dependencies = [ "time-core", ] @@ -3262,11 +3134,10 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.29.1" +version = "1.32.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "532826ff75199d5833b9d2c5fe410f29235e25704ee5f0ef599fb51c21f4a4da" +checksum = "17ed6077ed6cd6c74735e21f37eb16dc3935f96878b1fe961074089cc80893f9" dependencies = [ - "autocfg", "backtrace", "bytes", "libc", @@ -3274,15 +3145,15 @@ dependencies = [ "parking_lot", "pin-project-lite", "signal-hook-registry", - "socket2 0.4.9", + "socket2", "windows-sys 0.48.0", ] [[package]] name = "tokio-postgres" -version = "0.7.8" +version = "0.7.10" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e89f6234aa8fd43779746012fcf53603cdb91fdd8399aa0de868c2d56b6dde1" +checksum = "d340244b32d920260ae7448cb72b6e238bddc3d4f7603394e7dd46ed8e48f5b8" dependencies = [ "async-trait", "byteorder", @@ -3297,9 +3168,11 @@ dependencies = [ "pin-project-lite", "postgres-protocol", "postgres-types", - "socket2 0.5.3", + "rand 0.8.5", + "socket2", "tokio", "tokio-util", + "whoami", ] [[package]] @@ -3337,7 +3210,7 @@ checksum = "5f4f31f56159e98206da9efd823404b79b6ef3143b4a7ab76e67b1751b25a4ab" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", ] [[package]] @@ -3383,9 +3256,9 @@ checksum = "22048bc95dfb2ffd05b1ff9a756290a009224b60b2f0e7525faeee7603851e63" [[package]] name = "typenum" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "unicode-bidi" @@ -3395,9 +3268,9 @@ checksum = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460" [[package]] name = "unicode-ident" -version = "1.0.10" +version = "1.0.12" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22049a19f4a68748a168c0fc439f9516686aa045927ff767eca0a85101fb6e73" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" [[package]] name = "unicode-normalization" @@ -3416,9 +3289,9 @@ checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b" [[package]] name = "url" -version = "2.4.0" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50bff7831e19200a85b17131d085c25d7811bc4e186efdaf54bbd132994a88cb" +checksum = "143b538f18257fac9cad154828a57c6bf5157e1aa604d4816b5995bf6de87ae5" dependencies = [ "form_urlencoded", "idna", @@ -3502,7 +3375,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", "wasm-bindgen-shared", ] @@ -3524,7 +3397,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.26", + "syn 2.0.37", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -3535,22 +3408,43 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +[[package]] +name = "web-sys" +version = "0.3.64" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9b85cbef8c220a6abc02aefd892dfc0fc23afb1c6a426316ec33253a3877249b" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + [[package]] name = "which" -version = "4.4.0" +version = "4.4.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2441c784c52b289a054b7201fc93253e288f094e2f4be9058343127c4226a269" +checksum = "87ba24419a2078cd2b0f2ede2691b6c66d8e47836da3b6db8265ebad47afbfc7" dependencies = [ "either", - "libc", + "home", "once_cell", + "rustix 0.38.13", +] + +[[package]] +name = "whoami" +version = "1.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22fc3756b8a9133049b26c7f61ab35416c130e8c09b660f5b3958b446f52cc50" +dependencies = [ + "wasm-bindgen", + "web-sys", ] [[package]] name = "wide" -version = "0.7.10" +version = "0.7.11" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40018623e2dba2602a9790faba8d33f2ebdebf4b86561b83928db735f8784728" +checksum = "aa469ffa65ef7e0ba0f164183697b89b854253fd31aeb92358b7b6155177d62f" dependencies = [ "bytemuck", "safe_arch", @@ -3593,7 +3487,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f" dependencies = [ - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -3611,7 +3505,7 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9" dependencies = [ - "windows-targets 0.48.1", + "windows-targets 0.48.5", ] [[package]] @@ -3631,17 +3525,17 @@ dependencies = [ [[package]] name = "windows-targets" -version = "0.48.1" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "05d4b17490f70499f20b9e791dcf6a299785ce8af4d709018206dc5b4953e95f" +checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c" dependencies = [ - "windows_aarch64_gnullvm 0.48.0", - "windows_aarch64_msvc 0.48.0", - "windows_i686_gnu 0.48.0", - "windows_i686_msvc 0.48.0", - "windows_x86_64_gnu 0.48.0", - "windows_x86_64_gnullvm 0.48.0", - "windows_x86_64_msvc 0.48.0", + "windows_aarch64_gnullvm 0.48.5", + "windows_aarch64_msvc 0.48.5", + "windows_i686_gnu 0.48.5", + "windows_i686_msvc 0.48.5", + "windows_x86_64_gnu 0.48.5", + "windows_x86_64_gnullvm 0.48.5", + "windows_x86_64_msvc 0.48.5", ] [[package]] @@ -3652,9 +3546,9 @@ checksum = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8" [[package]] name = "windows_aarch64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc" +checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8" [[package]] name = "windows_aarch64_msvc" @@ -3664,9 +3558,9 @@ checksum = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43" [[package]] name = "windows_aarch64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3" +checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc" [[package]] name = "windows_i686_gnu" @@ -3676,9 +3570,9 @@ checksum = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f" [[package]] name = "windows_i686_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241" +checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e" [[package]] name = "windows_i686_msvc" @@ -3688,9 +3582,9 @@ checksum = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060" [[package]] name = "windows_i686_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00" +checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406" [[package]] name = "windows_x86_64_gnu" @@ -3700,9 +3594,9 @@ checksum = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36" [[package]] name = "windows_x86_64_gnu" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1" +checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e" [[package]] name = "windows_x86_64_gnullvm" @@ -3712,9 +3606,9 @@ checksum = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3" [[package]] name = "windows_x86_64_gnullvm" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953" +checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc" [[package]] name = "windows_x86_64_msvc" @@ -3724,9 +3618,9 @@ checksum = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0" [[package]] name = "windows_x86_64_msvc" -version = "0.48.0" +version = "0.48.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538" [[package]] name = "yaml-rust" @@ -3754,9 +3648,9 @@ dependencies = [ [[package]] name = "zstd-safe" -version = "6.0.5+zstd.1.5.4" +version = "6.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d56d9e60b4b1758206c238a10165fbcae3ca37b01744e394c463463f6529d23b" +checksum = "ee98ffd0b48ee95e6c5168188e44a54550b1564d9d530ee21d5f0eaed1069581" dependencies = [ "libc", "zstd-sys", diff --git a/Cargo.toml b/Cargo.toml index f249c2df..a0628ae5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -27,7 +27,7 @@ path = "src/main.rs" [dependencies] actix-web = "4.4" -annonars = "0.14" +annonars = "0.20" anyhow = "1.0" bgzip = "0.3" bio = "1.3" @@ -40,28 +40,28 @@ csv = "1.2" derivative = "2.2" env_logger = "0.10" flate2 = "1.0" -hgvs = "0.10" +hgvs = "0.11" indexmap = "2.0" indicatif = "0.17" jsonl = "4.0" lazy_static = "1.4" log = "0.4" nom = "7.1" -noodles-bgzf = "0.22" +noodles-bgzf = "0.24" noodles-core = "0.12" -noodles-csi = "0.22" -noodles-fasta = "0.27" -noodles-tabix = "0.25" -noodles-vcf = "0.34" +noodles-csi = "0.24" +noodles-fasta = "0.29" +noodles-tabix = "0.29" +noodles-vcf = "0.39" parse-display = "0.8" procfs = "0.15" -prost = "0.11" -quick_cache = "0.3" +prost = "0.12" +quick_cache = "0.4" rand = "0.8" rand_core = "0.6" rocksdb = { version = "0.21", features = ["multi-threaded-cf"] } rustc-hash = "1.1" -seqrepo = "0.7" +seqrepo = "0.8" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" serde_with = "3.3" diff --git a/src/annotate/seqvars/csq.rs b/src/annotate/seqvars/csq.rs index 6964da60..7b2f7282 100644 --- a/src/annotate/seqvars/csq.rs +++ b/src/annotate/seqvars/csq.rs @@ -144,7 +144,7 @@ impl ConsequencePredictor { // Skip transcripts that are protein coding but do not have a CDS. // TODO: do not include such transcripts when building the database. - if TranscriptBiotype::from_i32(tx.biotype).expect("invalid tx biotype") + if TranscriptBiotype::try_from(tx.biotype).expect("invalid tx biotype") == TranscriptBiotype::Coding && tx.start_codon.is_none() { @@ -222,11 +222,11 @@ impl ConsequencePredictor { if var_start <= exon_start && var_end >= exon_end { consequences.push(Consequence::ExonLossVariant); if var_start < exon_start { - if Strand::from_i32(alignment.strand).expect("invalid strand") == Strand::Plus + if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Plus && rank.ord != 1 { consequences.push(Consequence::SpliceAcceptorVariant); - } else if Strand::from_i32(alignment.strand).expect("invalid strand") + } else if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Minus && rank.ord != rank.total { @@ -234,11 +234,11 @@ impl ConsequencePredictor { } } if var_end > exon_end { - if Strand::from_i32(alignment.strand).expect("invalid strand") == Strand::Plus + if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Plus && rank.ord != rank.total { consequences.push(Consequence::SpliceDonorVariant); - } else if Strand::from_i32(alignment.strand).expect("invalid strand") + } else if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Minus && rank.ord != rank.total { @@ -255,7 +255,7 @@ impl ConsequencePredictor { // Check the cases where the variant overlaps with the splice acceptor/donor site. if var_start < intron_start + 2 && var_end > intron_start - ins_shift { // Left side, is acceptor/donor depending on transcript's strand. - match Strand::from_i32(alignment.strand).expect("invalid strand") { + match Strand::try_from(alignment.strand).expect("invalid strand") { Strand::Plus => consequences.push(Consequence::SpliceDonorVariant), Strand::Minus => consequences.push(Consequence::SpliceAcceptorVariant), } @@ -263,7 +263,7 @@ impl ConsequencePredictor { // Check the case where the variant overlaps with the splice donor site. if var_start < intron_end + ins_shift && var_end > intron_end - 2 { // Left side, is acceptor/donor depending on transcript's strand. - match Strand::from_i32(alignment.strand).expect("invalid strand") { + match Strand::try_from(alignment.strand).expect("invalid strand") { Strand::Plus => consequences.push(Consequence::SpliceAcceptorVariant), Strand::Minus => consequences.push(Consequence::SpliceDonorVariant), } @@ -279,7 +279,7 @@ impl ConsequencePredictor { consequences.push(Consequence::SpliceRegionVariant); } if var_start < exon_end && var_end > exon_end - 3 { - if Strand::from_i32(alignment.strand).expect("invalid strand") == Strand::Plus { + if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Plus { if rank.ord != rank.total { consequences.push(Consequence::SpliceRegionVariant); } @@ -291,7 +291,7 @@ impl ConsequencePredictor { } } if var_start < exon_start + 3 && var_end > exon_start { - if Strand::from_i32(alignment.strand).expect("invalid strand") == Strand::Plus { + if Strand::try_from(alignment.strand).expect("invalid strand") == Strand::Plus { if rank.ord != 1 { consequences.push(Consequence::SpliceRegionVariant); } @@ -314,7 +314,7 @@ impl ConsequencePredictor { let max_end = max_end.expect("must have seen exon"); let feature_biotype = - match TranscriptBiotype::from_i32(tx.biotype).expect("invalid transcript biotype") { + match TranscriptBiotype::try_from(tx.biotype).expect("invalid transcript biotype") { TranscriptBiotype::Coding => FeatureBiotype::Coding, TranscriptBiotype::NonCoding => FeatureBiotype::Noncoding, }; @@ -334,7 +334,7 @@ impl ConsequencePredictor { } else if is_upstream { let val = -(min_start - var_end); if val.abs() <= 5_000 { - match Strand::from_i32(alignment.strand).expect("invalid strand") { + match Strand::try_from(alignment.strand).expect("invalid strand") { Strand::Plus => consequences.push(Consequence::UpstreamGeneVariant), Strand::Minus => consequences.push(Consequence::DownstreamGeneVariant), } @@ -343,7 +343,7 @@ impl ConsequencePredictor { } else if is_downstream { let val = var_start - max_end; if val.abs() <= 5_000 { - match Strand::from_i32(alignment.strand).expect("invalid strand") { + match Strand::try_from(alignment.strand).expect("invalid strand") { Strand::Plus => consequences.push(Consequence::DownstreamGeneVariant), Strand::Minus => consequences.push(Consequence::UpstreamGeneVariant), } diff --git a/src/annotate/seqvars/mod.rs b/src/annotate/seqvars/mod.rs index 40a38e0a..92e75c45 100644 --- a/src/annotate/seqvars/mod.rs +++ b/src/annotate/seqvars/mod.rs @@ -212,12 +212,16 @@ fn build_header(header_in: &VcfHeader) -> VcfHeader { ); header_out.infos_mut().insert( - field::Key::from_str("clinvar_patho").unwrap(), - Map::::new(Number::Count(1), Type::String, "ClinVar pathogenicity"), + field::Key::from_str("clinvar_clinsig").unwrap(), + Map::::new( + Number::Count(1), + Type::String, + "ClinVar clinical significance", + ), ); header_out.infos_mut().insert( - field::Key::from_str("clinvar_vcv").unwrap(), - Map::::new(Number::Count(1), Type::String, "ClinVar VCV accession"), + field::Key::from_str("clinvar_rcv").unwrap(), + Map::::new(Number::Count(1), Type::String, "ClinVar RCV accession"), ); header_out @@ -392,24 +396,20 @@ where clinvar_minimal::pbs::Record::decode(&mut std::io::Cursor::new(&raw_value))?; let clinvar_minimal::pbs::Record { - summary_clinvar_pathogenicity, - vcv, + clinical_significance, + rcv, .. } = clinvar_record; - let summary_clinvar_pathogenicity: Vec<_> = summary_clinvar_pathogenicity - .into_iter() - .map(|i: i32| -> clinvar_minimal::cli::reading::Pathogenicity { i.into() }) - .collect(); + let clinical_significance: clinvar_minimal::cli::reading::ClinicalSignificance = + clinical_significance.into(); vcf_record.info_mut().insert( - field::Key::from_str("clinvar_patho").unwrap(), - Some(field::Value::String( - summary_clinvar_pathogenicity.first().unwrap().to_string(), - )), + field::Key::from_str("clinvar_clinsig").unwrap(), + Some(field::Value::String(clinical_significance.to_string())), ); vcf_record.info_mut().insert( - field::Key::from_str("clinvar_vcv").unwrap(), - Some(field::Value::String(vcv)), + field::Key::from_str("clinvar_rcv").unwrap(), + Some(field::Value::String(rcv)), ); } @@ -1078,15 +1078,15 @@ impl VarFishSeqvarTsvWriter { ) -> Result<(), anyhow::Error> { tsv_record.in_clinvar = record .info() - .get(&field::Key::from_str("clinvar_patho").unwrap()) + .get(&field::Key::from_str("clinvar_clinsig").unwrap()) .unwrap_or_default() .map(|v| match v { field::Value::String(value) => { - clinvar_minimal::cli::reading::Pathogenicity::from_str(value).unwrap_or( - clinvar_minimal::cli::reading::Pathogenicity::UncertainSignificance, - ) >= clinvar_minimal::cli::reading::Pathogenicity::LikelyPathogenic + clinvar_minimal::cli::reading::ClinicalSignificance::from_str(value).unwrap_or( + clinvar_minimal::cli::reading::ClinicalSignificance::UncertainSignificance, + ) >= clinvar_minimal::cli::reading::ClinicalSignificance::LikelyPathogenic } - _ => panic!("Unexpected value type for INFO/clinvar_patho"), + _ => panic!("Unexpected value type for INFO/clinvar_clinsig"), }) .unwrap_or_default(); @@ -1368,7 +1368,7 @@ impl AnnotatedVcfWriter for VarFishSeqvarTsvWriter { /// Run the annotation with the given `Write` within the `VcfWriter`. fn run_with_writer(writer: &mut dyn AnnotatedVcfWriter, args: &Args) -> Result<(), anyhow::Error> { tracing::info!("Open VCF and read header"); - let mut reader = VariantReaderBuilder::default().build_from_path(&args.path_input_vcf)?; + let mut reader = VariantReaderBuilder.build_from_path(&args.path_input_vcf)?; let header_in = reader.read_header()?; let header_out = build_header(&header_in); diff --git a/src/annotate/seqvars/provider.rs b/src/annotate/seqvars/provider.rs index 704f52f8..7ecd991f 100644 --- a/src/annotate/seqvars/provider.rs +++ b/src/annotate/seqvars/provider.rs @@ -257,7 +257,7 @@ impl ProviderInterface for MehariProvider { tx_ac: tx_ac.to_string(), alt_ac: alt_ac.to_string(), alt_aln_method: ALT_ALN_METHOD.to_string(), - alt_strand: match Strand::from_i32(genome_alignment.strand) + alt_strand: match Strand::try_from(genome_alignment.strand) .expect("invalid strand") { Strand::Plus => 1, @@ -324,7 +324,7 @@ impl ProviderInterface for MehariProvider { TxForRegionRecord { tx_ac: tx.id.clone(), alt_ac: alt_ac.to_string(), - alt_strand: match Strand::from_i32(alt_strand).expect("invalid strand") { + alt_strand: match Strand::try_from(alt_strand).expect("invalid strand") { Strand::Plus => 1, Strand::Minus => -1, }, diff --git a/src/annotate/strucvars/mod.rs b/src/annotate/strucvars/mod.rs index f49566fc..cadd37ba 100644 --- a/src/annotate/strucvars/mod.rs +++ b/src/annotate/strucvars/mod.rs @@ -112,7 +112,7 @@ pub mod vcf_header { use annonars::common::cli::is_canonical; use hgvs::static_data::{Assembly, ASSEMBLY_INFOS}; - use noodles_vcf::header::record::value::map::{Contig, Filter, Format, Info, Meta, Other}; + use noodles_vcf::header::record::value::map::{Contig, Filter, Format, Info, Other}; use noodles_vcf::header::record::value::Map; use noodles_vcf::header::{self, Number}; use noodles_vcf::record::genotypes::keys::key::{ @@ -187,14 +187,11 @@ pub mod vcf_header { for sequence in &assembly_info.sequences { if is_canonical(sequence.name.as_ref()) { - let mut contig = Map::::try_from(vec![ - (String::from("length"), format!("{}", sequence.length)), - (String::from("assembly"), assembly_name.clone()), - (String::from("accession"), sequence.refseq_ac.clone()), - ])?; - - Map::::new(); - *contig.length_mut() = Some(sequence.length); + let contig = Map::::builder() + .insert("assembly".parse()?, assembly_name.clone()) + .insert("accession".parse()?, sequence.refseq_ac.clone()) + .set_length(sequence.length) + .build()?; builder = builder.add_contig(sequence.name.parse()?, contig); } } @@ -417,7 +414,7 @@ pub mod vcf_header { pedigree: &PedigreeByName, header: &Header, ) -> Result { - let mut builder = add_meta_fields(builder); + let mut builder = add_meta_fields(builder)?; // Wait for https://github.com/zaeleus/noodles/issues/162#issuecomment-1514444101 // let mut b: record::value::map::Builder = Map::::builder(); @@ -457,46 +454,44 @@ pub mod vcf_header { } // Define fields for the gonosomal karyotype, (sex for canonical), affected status - fn add_meta_fields(builder: Builder) -> Builder { - builder - .add_meta( - "Sex", - Map::::new(vec![ - String::from("Male"), - String::from("Female"), - String::from("Other"), - String::from("Unknown"), - ]), - ) - .add_meta( - "GonosomalKaryotype", - Map::::new(vec![ - // "canonical" female - String::from("XX"), - // "canonical" male - String::from("XY"), - // Turner syndrome - String::from("XO"), - // Klinefelter syndrome - String::from("XXY"), - // Triple X syndrome - String::from("XXX"), - // Jacobs syndrome - String::from("XYY"), - // Other - String::from("Other"), - // Unknown - String::from("Unknown"), - ]), - ) - .add_meta( - "Affected", - Map::::new(vec![ - String::from("Yes"), - String::from("No"), - String::from("Unknown"), - ]), - ) + fn add_meta_fields(builder: Builder) -> Result { + Ok(builder + .insert( + "META".parse()?, + noodles_vcf::header::record::Value::Map( + String::from("Sex"), + Map::::builder() + .insert("Type".parse()?, "String") + .insert("Number".parse()?, ".") + .insert("Values".parse()?, "[Male, Female, Other, Unknown]") + .build()?, + ), + )? + .insert( + "META".parse()?, + noodles_vcf::header::record::Value::Map( + String::from("GonosomalKaryotype"), + Map::::builder() + .insert("Type".parse()?, "String") + .insert("Number".parse()?, ".") + .insert( + "Values".parse()?, + "[XX, XY, XO, XXY, XXX, XYY, Other, Unknown]", + ) + .build()?, + ), + )? + .insert( + "META".parse()?, + noodles_vcf::header::record::Value::Map( + String::from("Affected"), + Map::::builder() + .insert("Type".parse()?, "String") + .insert("Number".parse()?, ".") + .insert("Values".parse()?, "[Yes, No, Unknown]") + .build()?, + ), + )?) } } @@ -840,7 +835,7 @@ impl AnnotatedVcfWriter for VarFishStrucvarTsvWriter { ..Default::default() }); - let mut entry = tsv_record.genotype.entries.last_mut().expect("just pushed"); + let entry = tsv_record.genotype.entries.last_mut().expect("just pushed"); let sample = gt_it.next().expect("genotype iterator exhausted"); for (key, value) in sample.keys().iter().zip(sample.values().iter()) { @@ -1282,7 +1277,7 @@ impl VarFishStrucvarTsvRecord { } for i in 0..self.genotype.entries.len() { - let mut lhs = self + let lhs = self .genotype .entries .get_mut(i) @@ -1607,7 +1602,7 @@ pub fn guess_sv_caller

(p: P) -> Result where P: AsRef, { - let mut reader = noodles_vcf::reader::Builder::default().build_from_path(p)?; + let mut reader = noodles_vcf::reader::Builder.build_from_path(p)?; let header = reader.read_header()?; let mut records = reader.records(&header); let record = records @@ -2560,7 +2555,7 @@ fn run_vcf_to_jsonl( let sv_caller = guess_sv_caller(path_input)?; tracing::debug!("guessed caller/version to be {:?}", &sv_caller); - let mut reader = noodles_vcf::reader::Builder::default().build_from_path(path_input)?; + let mut reader = noodles_vcf::reader::Builder.build_from_path(path_input)?; let header: VcfHeader = reader.read_header()?; let samples = header @@ -2825,7 +2820,7 @@ pub fn run(_common: &crate::common::Args, args: &Args) -> Result<(), anyhow::Err GenomeRelease::Grch38 => Assembly::Grch38, }); let (header, assembly) = { - let mut reader = VariantReaderBuilder::default().build_from_path( + let mut reader = VariantReaderBuilder.build_from_path( args.path_input_vcf .first() .expect("must have at least input VCF"), @@ -3060,7 +3055,7 @@ mod test { let temp = TempDir::default(); let out_jsonl = File::create(temp.join(out_file_name))?; - let mut reader = noodles_vcf::reader::Builder::default().build_from_path(path_input_vcf)?; + let mut reader = noodles_vcf::reader::Builder.build_from_path(path_input_vcf)?; let header_in = reader.read_header()?; // Setup deterministic bytes for UUID generation. @@ -3095,7 +3090,7 @@ mod test { /// Helper that returns sample names from VCF. fn vcf_samples(path: &str) -> Result, anyhow::Error> { - let mut reader = noodles_vcf::reader::Builder::default().build_from_path(path)?; + let mut reader = noodles_vcf::reader::Builder.build_from_path(path)?; let header: VcfHeader = reader.read_header()?; Ok(header .sample_names() @@ -3363,44 +3358,41 @@ mod test { /// Generate example trio data. fn example_trio() -> PedigreeByName { - let individuals = indexmap::IndexMap::from_iter( - vec![ - ( - String::from("index"), - Individual { - family: String::from("FAM"), - name: String::from("index"), - father: Some(String::from("father")), - mother: Some(String::from("mother")), - sex: Sex::Female, - disease: Disease::Affected, - }, - ), - ( - String::from("father"), - Individual { - family: String::from("FAM"), - name: String::from("father"), - father: None, - mother: None, - sex: Sex::Male, - disease: Disease::Unaffected, - }, - ), - ( - String::from("mother"), - Individual { - family: String::from("FAM"), - name: String::from("mother"), - father: None, - mother: None, - sex: Sex::Female, - disease: Disease::Unaffected, - }, - ), - ] - .into_iter(), - ); + let individuals = indexmap::IndexMap::from_iter(vec![ + ( + String::from("index"), + Individual { + family: String::from("FAM"), + name: String::from("index"), + father: Some(String::from("father")), + mother: Some(String::from("mother")), + sex: Sex::Female, + disease: Disease::Affected, + }, + ), + ( + String::from("father"), + Individual { + family: String::from("FAM"), + name: String::from("father"), + father: None, + mother: None, + sex: Sex::Male, + disease: Disease::Unaffected, + }, + ), + ( + String::from("mother"), + Individual { + family: String::from("FAM"), + name: String::from("mother"), + father: None, + mother: None, + sex: Sex::Female, + disease: Disease::Unaffected, + }, + ), + ]); PedigreeByName { individuals } } diff --git a/tests/data/annotate/strucvars/example-grch38.vcf b/tests/data/annotate/strucvars/example-grch38.vcf index 4fdc9632..db9e7e71 100644 --- a/tests/data/annotate/strucvars/example-grch38.vcf +++ b/tests/data/annotate/strucvars/example-grch38.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ec640b42e426e46a0508346baaba4aef8200999218732eb3ea2bce520fe66075 -size 5648 +oid sha256:269cd65dac9d34cfd0469e6bae1fbc3c56ce716e6ec2be767bb87620ea98034e +size 5666 diff --git a/tests/data/annotate/strucvars/header-grch37-noped.vcf b/tests/data/annotate/strucvars/header-grch37-noped.vcf index 10d08ba4..713d30a5 100644 --- a/tests/data/annotate/strucvars/header-grch37-noped.vcf +++ b/tests/data/annotate/strucvars/header-grch37-noped.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:20e29f4d58ff6a06cf91f47f975c7bbb319aab34ac865b361a1fc7ff512e1ca4 -size 4651 +oid sha256:ef422278360dfa7af198eff4be07764b6a3a1453d33e473c5464cc24ff1cf948 +size 4669 diff --git a/tests/data/annotate/strucvars/header-grch37-trio.vcf b/tests/data/annotate/strucvars/header-grch37-trio.vcf index b6ea766b..8746c3ed 100644 --- a/tests/data/annotate/strucvars/header-grch37-trio.vcf +++ b/tests/data/annotate/strucvars/header-grch37-trio.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:051a1e125152c5c02ab56990644ca7d1c1e9258236e4898efdad99aafce8ee28 -size 4938 +oid sha256:19f9f4da757a7083532a8149668eb0c17a30d12cb19cc029ea88b25a43fbf706 +size 4956 diff --git a/tests/data/annotate/strucvars/header-grch38-noped.vcf b/tests/data/annotate/strucvars/header-grch38-noped.vcf index 3e9cdd12..5b5556e1 100644 --- a/tests/data/annotate/strucvars/header-grch38-noped.vcf +++ b/tests/data/annotate/strucvars/header-grch38-noped.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:23bed5e1e6c06b7935428a4a418686ce47ccc8472f3a2bb8db08bb514f2ecd5c -size 4658 +oid sha256:cf938ad4052b0bb0b59adc6fa03f5c8431608f01e20a2bdccefbb3ec1693b7cf +size 4676 diff --git a/tests/data/annotate/strucvars/maelstrom/delly2-min-with-maelstrom.vcf b/tests/data/annotate/strucvars/maelstrom/delly2-min-with-maelstrom.vcf index 9717c385..f09577f4 100644 --- a/tests/data/annotate/strucvars/maelstrom/delly2-min-with-maelstrom.vcf +++ b/tests/data/annotate/strucvars/maelstrom/delly2-min-with-maelstrom.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:dd43ff683144475414fcab8fee214cd7d5c843bf56f85f745fd8c512811bcc69 -size 5011 +oid sha256:33ccbbb691f8201b90584b0ea9dee52858ba8062276fbb08a8668680194efaaa +size 5029 diff --git a/tests/data/db/create/seqvar_freqs/db-rs1263393206/output.vcf b/tests/data/db/create/seqvar_freqs/db-rs1263393206/output.vcf index 98e9f866..0c120810 100644 --- a/tests/data/db/create/seqvar_freqs/db-rs1263393206/output.vcf +++ b/tests/data/db/create/seqvar_freqs/db-rs1263393206/output.vcf @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:af35d25008b9ffc3c84cfb4ef7df60ba3176cb0b74664270cd02cde8b3d1f82f -size 17891 +oid sha256:75d6ddb0066c7962b23562c01c5c1e31cd9c0884076082d3da858b9c87672bbb +size 17901