Reimplement conflation to allow on-the-fly conflation

Đang mở
#224 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
backend-api-design, search

Hướng nghiên cứu

Start by reading the NameRes search and CURIE lookup paths, then trace where conflation files are loaded and applied; the issue does not name specific files or tests. Implementing on-the-fly conflation spans search results, identifier lookup, and metadata, so first map those flows and their existing tests. Done means exact matches such as Tylenol’s UMLS:C0699142 remain findable and conflation can optionally expand results or report related CURIEs.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Priority: Medium Size: L

One thing that's really helped with identifying the correct clique is to (hugely) prefer preferred name exact matches over non-exact matches. One problem with conflating identifiers before putting them into NameRes is that unless we've chosen exactly right name for the overall clique, it can make it harder to find that clique and for other, non-exact matches to override it.

One way of fixing that would be to revert to our previous plan for handling conflations, which is to load the conflation files into memory and to apply conflation on-the-fly as follows:

  1. You can search NameRes without conflation turned on to get individual clique entries -- this is often what you want anyway, although you then may need to manually conflate it afterwards.
  2. You can search NameRes with conflation turned on -- we run search for the best matches and, if a match has a conflated identifier, we expand it on-the-fly to include all the other cliques in that conflation. We also add some metadata to indicate what is being conflated.
  3. If you want to look up a CURIE, we return the unconflated image, but can (optionally?) also include the list of other CURIEs that we would conflate it do under a particular conflation.

This would at least fix tylenol, which has an exact match in UMLS:C0699142, but which would then be combined into acetaminophen when conflation is applied. It might help with others, too.

Ngôn ngữ chính
Python
Star
5
Fork
4
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của NCATSTranslator/NameResolution

Tất cả issue của NCATSTranslator/NameResolution

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.