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

Extend support for custom SIF input networks #40

Closed bgyori closed 3 years ago

bgyori commented 3 years ago

This PR fixes some existing issues with processing SIF input networks. It also extends the ways in which custom SIF input networks can be specified with the --network_source argument as follows:

As before, the SIF file is still expected to represent human genes using their HGNC symbols, so in itself, this change doesn't yet allow running GeneWalk on non-human networks, though it's an important step towards that.

The PR also adds a number of new tests to test workflows with user-supplied SIF networks.