monarch-initiative / omim

Data ingest pipeline for OMIM.
7 stars 3 forks source link

IO misc refactoring & upgrades #123

Closed joeflack4 closed 2 months ago

joeflack4 commented 3 months ago

Changes

IO misc refactoring & upgrades

Additional info

@twhetzel I want to do some analysis of mimTitles for #119. But I did not have a TSV to work with. This PR primarily fixes that for mimTitles, and also now (i) ensures every .txt has a readable .tsv, and (ii) future proofs code by replacing some hard-coded headers. I may also need this as a prerequisite for #119 because it'll be easier to work with a dataframe/TSV for this.

twhetzel commented 2 months ago

@joeflack4 I don't see why these changes are needed. What was not working? I would not remove file extensions from filenames.