churchmanlab / genewalk

GeneWalk identifies relevant gene functions for a biological context using network representation learning
https://churchman.med.harvard.edu/genewalk
BSD 2-Clause "Simplified" License
127 stars 14 forks source link

Handle Ensembl ID suffixes and error if ID mapping failed #13

Closed bgyori closed 4 years ago

bgyori commented 4 years ago

This PR adds support for handling human Ensembl genes with .X suffixes. It also handles the case when none of the references in the input file could be mapped (indicating a systematic problem with the format or the processing of the gene list) by raising an error to stop the GeneWalk run, and display a message to the user about ID mapping having failed.

Fixes #12