Skip to content

Instantly share code, notes, and snippets.

@danking
Created July 1, 2020 02:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save danking/730a12a565dbc09221c3c1c00e8b885e to your computer and use it in GitHub Desktop.
Save danking/730a12a565dbc09221c3c1c00e8b885e to your computer and use it in GitHub Desktop.
import hail as hl
# Download a small part of the One Thousand Genomes dataset
hl.utils.get_1kg('data/')
# Read the dataset as a Hail MatrixTable, a tool for exploring two-dimensional data.
mt = hl.read_matrix_table('data/1kg.mt')
# Show some of the data in a pleasant visual form
mt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment