-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problems with hivnetworkannotate #35
Comments
Dear @Omnipotent32,
You need to input four arguments per field
Examples
Best, |
|
Hi, I downloaded example files and tried to run hivnetworkannotate, however, there seems some problems. When I type '-n' , what kind of network files should I attach? a tn93. CSV or a network.json? and when I type '-f', what should I input? If it is effortless, an instruction of entirely operation with example files will be deeply grateful!
here are my manipulation record and error report:
(python3) passwordis1@ubuntu:
/下载/hivclustering-master/examples$ hivnetworkannotate -n network.json -t lanl.tsv -g network.json -o test/下载/hivclustering-master/examples$ hivnetworkannotate -n tn93-0.03.csv -t lanl.tsv -f plain -o testTraceback (most recent call last):
File "/home/passwordis1/anaconda3/envs/python3/bin/hivnetworkannotate", line 4, in
import('pkg_resources').run_script('hivclustering==1.6.1', 'hivnetworkannotate')
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/site-packages/pkg_resources/init.py", line 665, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/site-packages/pkg_resources/init.py", line 1463, in run_script
exec(code, namespace, namespace)
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/site-packages/hivclustering-1.6.1-py3.7.egg/EGG-INFO/scripts/hivnetworkannotate", line 72, in
results_json = json.load (import_settings.network)
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/json/init.py", line 296, in load
parse_constant=parse_constant, object_pairs_hook=object_pairs_hook, **kw)
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/json/init.py", line 348, in loads
return _default_decoder.decode(s)
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/home/passwordis1/anaconda3/envs/python3/lib/python3.7/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
(python3) passwordis1@ubuntu:
usage: hivnetworkannotate [-h] [-o [OUTPUT]] [-n [NETWORK]]
[-x MISSING MISSING] [-X] [-i INDEX] [-r]
(-a ATTRIBUTES | -t TAB | -c CSV)
(-f FIELD FIELD FIELD FIELD | -g FIELDS_FILE)
hivnetworkannotate: error: argument -f/--field: expected 4 arguments
The text was updated successfully, but these errors were encountered: