genomics: make sure the vertex is not NULL

Signed-off-by: Sébastien Boisvert <boisvert@anl.gov>