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

GO annotations file comment rows have changed #60

Closed bgyori closed 3 years ago

bgyori commented 3 years ago

In the most recent state of GO annotations there are 41 rows before the actual data starts but we hard coded skiprows=23 here: https://github.com/churchmanlab/genewalk/blob/master/genewalk/nx_mg_assembler.py#L158 for an older version. We could replace this with a solution that is adaptive and skips all rows starting with !.

ri23 commented 3 years ago

Sounds good!