hivtrace icon indicating copy to clipboard operation
hivtrace copied to clipboard

how to load the metadata?

Open liamxg opened this issue 1 year ago • 4 comments

image

liamxg avatar Sep 29 '23 03:09 liamxg

Dear @liamxg,

Please use https://hivtrace.datamonkey.org to visualize your results. You can use the json output from the hivtrace command.

Best, Steven

stevenweaver avatar Oct 03 '23 20:10 stevenweaver

@stevenweaver @spond please tell me how to load the meta data in https://hivtrace.datamonkey.org?

liamxg avatar Nov 11 '23 01:11 liamxg

Dear @liamxg,

Please see Annotating your HIV-TRACE Results Files on this site to learn how to annotate your results file with metadata.

Best, Steven

stevenweaver avatar Nov 17 '23 20:11 stevenweaver

@stevenweaver thanks Steven. I use the same example, but still have error:

Traceback (most recent call last): File "/Users/simon/opt/miniconda3/bin/hivnetworkannotate", line 4, in import('pkg_resources').run_script('hivclustering==1.6.3', 'hivnetworkannotate') File "/Users/simon/opt/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 720, in run_script self.require(requires)[0].run_script(script_name, ns) File "/Users/simon/opt/miniconda3/lib/python3.9/site-packages/pkg_resources/init.py", line 1559, in run_script exec(code, namespace, namespace) File "/Users/simon/opt/miniconda3/lib/python3.9/site-packages/hivclustering-1.6.3-py3.9.egg/EGG-INFO/scripts/hivnetworkannotate", line 125, in field_transformations [key_pair[0]] = eval ("lambda " + key_pair[3]) File "", line 1 lambda x: 'N/A' f x=='-' else x ^ SyntaxError: invalid syntax

liamxg avatar Nov 17 '23 23:11 liamxg