Hello,
I just installed hail 0.2 (conda create -n hail python=3.7; conda activate hail; pip install hail; conda install jupyterlab
), and I’m having issues creating a table from gtf.
There is no problem creating the hail context, but then I get the following error:
gtf=hl.experimental.import_gtf('gencode.v30.all.gtf',reference_genome='GRCh38', skip_invalid_contigs=True)
2019-04-09 14:01:26 Hail: INFO: Reading table with no type imputation
Loading column 'f0' as type 'str' (type not specified)
Loading column 'f1' as type 'str' (type not specified)
Loading column 'f2' as type 'str' (type not specified)
Loading column 'f3' as type 'int32' (user-specified)
Loading column 'f4' as type 'int32' (user-specified)
Loading column 'f5' as type 'float64' (user-specified)
Loading column 'f6' as type 'str' (type not specified)
Loading column 'f7' as type 'int32' (user-specified)
Loading column 'f8' as type 'str' (type not specified)
ERROR:root:Exception while sending command.
Traceback (most recent call last):
File "/Users/pbarbosa/anaconda3/envs/hail/lib/python3.7/site-packages/py4j/java_gateway.py", line 1159, in send_command
raise Py4JNetworkError("Answer from Java side is empty")
py4j.protocol.Py4JNetworkError: Answer from Java side is empty
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/pbarbosa/anaconda3/envs/hail/lib/python3.7/site-packages/py4j/java_gateway.py", line 985, in send_command
response = connection.send_command(command)
File "/Users/pbarbosa/anaconda3/envs/hail/lib/python3.7/site-packages/py4j/java_gateway.py", line 1164, in send_command
"Error while receiving", e, proto.ERROR_ON_RECEIVE)
py4j.protocol.Py4JNetworkError: Error while receiving
Any ideia of what’s going on ? I also tested with my base conda environment and the error remains.
Thanks,
Pedro