Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass custom IC map to Semsimian through CLI #759

Merged
merged 7 commits into from
May 16, 2024
Merged

Pass custom IC map to Semsimian through CLI #759

merged 7 commits into from
May 16, 2024

Conversation

caufieldjh
Copy link
Collaborator

No description provided.

@caufieldjh
Copy link
Collaborator Author

See also monarch-initiative/semsimian#127 - if Semsimian encounters an error in parsing the provided IC map, it will raise an error but continue.

@caufieldjh
Copy link
Collaborator Author

Something like the following should now work:

runoak -vvv -i semsimian:sqlite:obo:phenio similarity --no-autolabel -p i -O csv -o HP_vs_HP_semsimian_test.tsv --min-ancestor-information-content 5 --information-content-file test_ic.tsv HP:0000118 @ HP:0000119 

with test_ic_.tsv containing just two columns, like so:

HP:0000118  5.5
HP:0000119  6.5

@caufieldjh caufieldjh marked this pull request as ready for review May 13, 2024 20:35
@caufieldjh caufieldjh requested a review from hrshdhgd May 14, 2024 15:36
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 72.41379% with 8 lines in your changes are missing coverage. Please review.

Project coverage is 75.17%. Comparing base (509d9ec) to head (97e574f).
Report is 7 commits behind head on main.

Files Patch % Lines
src/oaklib/cli.py 14.28% 6 Missing ⚠️
...t_implementations/test_semsimian_implementation.py 89.47% 2 Missing ⚠️

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #759      +/-   ##
==========================================
+ Coverage   75.16%   75.17%   +0.01%     
==========================================
  Files         278      278              
  Lines       32767    32796      +29     
==========================================
+ Hits        24629    24655      +26     
- Misses       8138     8141       +3     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@caufieldjh caufieldjh merged commit 55c2709 into main May 16, 2024
9 checks passed
@caufieldjh caufieldjh deleted the semsimian branch May 16, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants