{"id":34649007,"url":"https://github.com/clintval/interval","last_synced_at":"2026-05-27T11:04:53.221Z","repository":{"id":57731922,"uuid":"450556016","full_name":"clintval/interval","owner":"clintval","description":"A better genomic interval that is compatible with HTSJDK","archived":false,"fork":false,"pushed_at":"2022-01-22T03:19:15.000Z","size":3159,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-28T22:35:17.386Z","etag":null,"topics":["coordinate","genomics","interval","scala"],"latest_commit_sha":null,"homepage":"","language":"Scala","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/clintval.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-21T16:08:23.000Z","updated_at":"2023-02-07T18:50:36.000Z","dependencies_parsed_at":"2022-09-06T17:23:41.389Z","dependency_job_id":null,"html_url":"https://github.com/clintval/interval","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/clintval/interval","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clintval%2Finterval","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clintval%2Finterval/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clintval%2Finterval/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clintval%2Finterval/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/clintval","download_url":"https://codeload.github.com/clintval/interval/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/clintval%2Finterval/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33562799,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-27T02:00:06.184Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["coordinate","genomics","interval","scala"],"created_at":"2025-12-24T17:53:36.300Z","updated_at":"2026-05-27T11:04:53.215Z","avatar_url":"https://github.com/clintval.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# interval\n\n[![Unit Tests](https://github.com/clintval/interval/actions/workflows/unit-tests.yml/badge.svg)](https://github.com/clintval/interval/actions/workflows/unit-tests.yml)\n[![Coverage Status](https://codecov.io/gh/clintval/interval/branch/main/graph/badge.svg)](https://codecov.io/gh/clintval/interval)\n[![Language](https://img.shields.io/badge/language-scala-c22d40.svg)](https://www.scala-lang.org/)\n\nA better genomic interval that is compatible with [HTSJDK](https://samtools.github.io/htsjdk/javadoc/htsjdk/htsjdk/samtools/util/Interval.html).\n\n![[Snoqualmie Mountain, Washington]](.github/img/cover.jpg)\n\n```scala\nval interval = Interval(\"chr1\", start = 1, end = 2, name = \"MyInterval\")\ninterval.sameCoordinates(interval) shouldBe true\ninterval.asHtsJdk.getContig shouldBe \"chr1\"\n```\n#### Features\n\n- The Interval is a 1-based fully closed span upon a reference sequence\n- Each Interval magically mixes in HTSJDK's Interval while hiding the HTSJDK API\n- The HTSJDK API can be summoned by casting the Interval with `.asHtsJdk()`\n- Implicit conversions allow for seamless interoperability between either Interval class\n- Grants you a memory-friendly way of having a Scala-esque API upon HTSJDK's Interval\n\n#### If Mill is your build tool\n\n```scala\nivyDeps ++ Agg(ivy\"io.cvbio.coord::interval::0.0.1\")\n```\n\n#### If SBT is your build tool\n\n```scala\nlibraryDependencies += \"io.cvbio.coord\" %% \"interval\" % \"0.0.1\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclintval%2Finterval","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fclintval%2Finterval","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fclintval%2Finterval/lists"}