Skip to content

MIMParser: change xref info_type to UNMAPPED

Marek Szuba requested to merge bugfix/MIMParser_info_type into feature/xref_sprint

Created by: mkszuba

Description

MIMParser used to set info_type of all xrefs it crearted to DEPENDENT because all MIM xrefs were dependent on EntrezGene ones, now however many (most, for that matter) are direct. Therefore, set it to UNMAPPED to begin with and leave it to Mim2GeneParser to set the correct value when it inserts actual mappings.

Use case

Running the MIMParser/Mim2GeneParser pair, in which the former creates actual xrefs without knowledge of how they will be mapped and the latter only handles mappings.

Benefits

Easier to spot unmapped MIM xrefs because their info_type will not be updated by Mim2GeneParser.

Possible Drawbacks

None I can think of.

Testing

Have you added/modified unit tests to test the changes? No

If so, do the tests pass/fail? N/A

Have you run the entire test suite and no regression was detected? No, I have however run MIMParser and it seems to work fine.

Merge request reports