Charles Tapley Hoyt

@cthoyt@scholar.social
420 Followers
215 Following
539 Posts
Bio/cheminformatician, software developer, open scientist. 🇺🇸 living in 🇩🇪🇪🇺 (he/him/searchable/#NoBridge)
Websitehttps://cthoyt.com
GitHubhttps://github.com/cthoyt
ORCID0000-0003-4423-4370
Gravatarhttps://gravatar.com/charlestapleyhoyt
@jerven @Cmungall this one is Chris's, but I am interested and happy to help if there is something I can do!
@zatnosk Instagram had a great community of people posting cosmere things, but I left that platform since it was not feeling great for me anymore. I wish we had something like this on Fedi too

@egonw are you aware of the work I've been doing on semantic mappings? This could be used to feed into @bridgedb (we mention this in the preprint)

preprint: https://www.biorxiv.org/content/10.1101/2025.04.16.649126

code: https://github.com/biopragmatics/semra

Assembly and reasoning over semantic mappings at scale for biomedical data integration

Motivation: Hundreds of resources assign identifiers to biomedical concepts including genes, small molecules, biological processes, diseases, and cell types. Often, these resources overlap by assigning identifiers to the same or related concepts. This creates a data interoperability bottleneck, as integrating data sets and knowledge bases that use identifiers for the same concepts from different resources require such identifiers to be mapped to each other. However, available mappings are incomplete and fragmented across individual resources, motivating their large-scale integration. Results: We developed SeMRA, a software tool that integrates mappings from multiple sources into a graph data structure. Using graph algorithms, it infers missing mappings implied by available ones while keeping track of provenance and confidence. This allows connecting identifier spaces between which direct mapping was previously not possible. SeMRA is customizable and takes a declarative specification as input describing sources to integrate with additional configuration parameters. We make available an aggregated mappings resource produced by SeMRA consisting of 43.4 million mappings from 127 sources that jointly cover identifiers from 445 ontologies and databases. We also describe benchmarks on specific use cases such as integrating mappings between resources cataloging diseases or cell types. Availability: The code is available under the MIT license at https://github.com/biopragmatics/semra. The mappings database assembled by SeMRA is available at https://zenodo.org/records/15208251. ### Competing Interest Statement The authors have declared no competing interest.

bioRxiv
Assembly and reasoning over semantic mappings at scale for biomedical data integration https://www.biorxiv.org/content/10.1101/2025.04.16.649126v1?med=mas
Assembly and reasoning over semantic mappings at scale for biomedical data integration

Motivation: Hundreds of resources assign identifiers to biomedical concepts including genes, small molecules, biological processes, diseases, and cell types. Often, these resources overlap by assigning identifiers to the same or related concepts. This creates a data interoperability bottleneck, as integrating data sets and knowledge bases that use identifiers for the same concepts from different resources require such identifiers to be mapped to each other. However, available mappings are incomplete and fragmented across individual resources, motivating their large-scale integration. Results: We developed SeMRA, a software tool that integrates mappings from multiple sources into a graph data structure. Using graph algorithms, it infers missing mappings implied by available ones while keeping track of provenance and confidence. This allows connecting identifier spaces between which direct mapping was previously not possible. SeMRA is customizable and takes a declarative specification as input describing sources to integrate with additional configuration parameters. We make available an aggregated mappings resource produced by SeMRA consisting of 43.4 million mappings from 127 sources that jointly cover identifiers from 445 ontologies and databases. We also describe benchmarks on specific use cases such as integrating mappings between resources cataloging diseases or cell types. Availability: The code is available under the MIT license at https://github.com/biopragmatics/semra. The mappings database assembled by SeMRA is available at https://zenodo.org/records/15208251. ### Competing Interest Statement The authors have declared no competing interest.

bioRxiv

@nichtich I've finally preprinted SeMRA - my tool for assembling and reasoning over semantic mappings (especially from SSSOM). Might be interesting for you

https://www.biorxiv.org/content/10.1101/2025.04.16.649126

code: https://github.com/biopragmatics/semra

Assembly and reasoning over semantic mappings at scale for biomedical data integration

Motivation: Hundreds of resources assign identifiers to biomedical concepts including genes, small molecules, biological processes, diseases, and cell types. Often, these resources overlap by assigning identifiers to the same or related concepts. This creates a data interoperability bottleneck, as integrating data sets and knowledge bases that use identifiers for the same concepts from different resources require such identifiers to be mapped to each other. However, available mappings are incomplete and fragmented across individual resources, motivating their large-scale integration. Results: We developed SeMRA, a software tool that integrates mappings from multiple sources into a graph data structure. Using graph algorithms, it infers missing mappings implied by available ones while keeping track of provenance and confidence. This allows connecting identifier spaces between which direct mapping was previously not possible. SeMRA is customizable and takes a declarative specification as input describing sources to integrate with additional configuration parameters. We make available an aggregated mappings resource produced by SeMRA consisting of 43.4 million mappings from 127 sources that jointly cover identifiers from 445 ontologies and databases. We also describe benchmarks on specific use cases such as integrating mappings between resources cataloging diseases or cell types. Availability: The code is available under the MIT license at https://github.com/biopragmatics/semra. The mappings database assembled by SeMRA is available at https://zenodo.org/records/15208251. ### Competing Interest Statement The authors have declared no competing interest.

bioRxiv
@nhoizey if there’s a local Erasmus Student Network section, try reaching out to them for help. They are typically supporting a lot of incoming Erasmi to find accommodation (it’s the same everywhere. my section in Bonn, Germany did this)
Unable to specify a default value for a generic parameter · Issue #3737 · python/mypy

Simplified Example: from typing import TypeVar _T = TypeVar('_T') def foo(a: _T = 42) -> _T: # E: Incompatible types in assignment (expression has type "int", variable has type "_T") return a Real ...

GitHub

anyone have some time to help me with a tricky #python #typing and #mypy problem?

it's fully self-contained in https://github.com/cthoyt/python-typing-dilemma. It contains some examples of things I tried, and why they didn't work

it hinges on using PEP-696 defaults in typing.TypeVar, introduced in Python 3.13

GitHub - cthoyt/python-typing-dilemma

Contribute to cthoyt/python-typing-dilemma development by creating an account on GitHub.

GitHub
@davidism will do! and best of luck with the rest of conference prep :)

@davidism would you consider doing it free/virtually as a shorter session? I'm a scientist who uses Flask but wouldn't typically go to an in-person Python conference. I'd be happy to submit something for that

a problem I solved recently is getting redirects to work with flask-dance (https://github.com/cthoyt/flask-dance-with-redirects)

GitHub - cthoyt/flask-dance-with-redirects: Extend Flask-Dance to handle URL redirects

Extend Flask-Dance to handle URL redirects. Contribute to cthoyt/flask-dance-with-redirects development by creating an account on GitHub.

GitHub