Hi,
I tried SJARACNe(v. 0.2.1) with my own expression matrix prepared by Network reconstruction pipeline from NetBID2. Everything looked fine until it threw this error in Create an enhanced consensus network part:
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 209, in create_enhanced_consensus_network
exp_values2 = exp_symbol_values2[1:].astype(float)
ValueError: could not convert string to float: 'RPL10'
In which 'RPL10' is a genesymbol.
The error resulted in a truncated consensus_networkncol.txt file, which apparently contained only part of network data.
[READ] 0 Description lines bypassed.
[READ] P-value columns not found.
INFO:root:Number of genes in expression matrix: 17870
INFO:root:Number of hub genes in probe file: 1904
INFO [job validate_files] Max memory used: 10MiB
INFO [job validate_files] completed success
INFO [step validate_files] completed success
Marker No: 17870 (17870 active), Array No: 504
MI threshold determined for p=1e-07: 0.0466551
Marker No: 17870 (17870 active), Array No: 504
MI threshold determined for p=1e-07: 0.0466551
10%, time: 269
10%, time: 271
20%, time: 536
20%, time: 541
30%, time: 802
30%, time: 810
40%, time: 1070
40%, time: 1079
50%, time: 1338
50%, time: 1350
60%, time: 1607
60%, time: 1620
70%, time: 1878
70%, time: 1894
80%, time: 2149
80%, time: 2167
90%, time: 2419
90%, time: 2440
Gene: 1904 Time: 2681
[NETWORK] Applying DPI ...
Gene: 1904 Time: 2703
[NETWORK] Applying DPI ...
DPI running time is: 65
Writing matrix: TF_run_001.adj
Maximum observed npar: 6
INFO [job bootstrap] Max memory used: 56MiB
INFO [job bootstrap] completed success
DPI running time is: 70
Writing matrix: TF_run_002.adj
Maximum observed npar: 7
INFO [job bootstrap_2] Max memory used: 55MiB
INFO [job bootstrap_2] completed success
INFO [step bootstrap] completed success
INFO [workflow ] starting step copy_to_dir
INFO [step copy_to_dir] start
INFO [step copy_to_dir] completed success
INFO [workflow ] starting step consensus
INFO [step consensus] start
INFO [job consensus] /tmp/zumrko8m$ create_consensus_network.py \
-a \
/tmp/e77t3_ny/stg4146412a-620d-464f-a257-850774127920/SJARACNE_tf_out.final \
-p \
1.0 \
-e \
/tmp/e77t3_ny/stgda616f26-f6ff-4324-a681-aef2f1a329f3/input.exp \
-o \
SJARACNE_tf_out.final
INFO:root:Create an initial consensus network ...
INFO:root:Done
INFO:root:Create an enhanced consensus network ...
Traceback (most recent call last):
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 251, in
main()
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 35, in main
create_enhanced_consensus_network(args.exp_mat, network, args.out_dir, args.subnet)
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/bin/create_consensus_network.py", line 209, in create_enhanced_consensus_network
exp_values2 = exp_symbol_values2[1:].astype(float)
ValueError: could not convert string to float: 'RPL10'
INFO [job consensus] Max memory used: 150MiB
WARNING [job consensus] exited with status: 1
WARNING [job consensus] completed permanentFail
WARNING [step consensus] completed permanentFail
INFO [workflow ] completed permanentFail
{
"out_dir": {
"location": "file:///home/user01/work/TF/test/output/SJARACNE_tf_out.final/consensus_networkncol.txt",
"basename": "consensus_networkncol.txt",
"class": "File",
"checksum": "sha1$0d567f2e690e217b4aaf4095dfb7bdd2dac934c4",
"size": 12339,
"path": "/home/user01/work/TF/test/output/SJARACNE_tf_out.final/consensus_networkncol.txt"
}
}
WARNING Final process status is permanentFail
Traceback (most recent call last):
File "/home/user01/.conda/envs/py376/bin/sjaracne", line 33, in
sys.exit(load_entry_point('SJARACNe==0.2.1', 'console_scripts', 'sjaracne')())
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 99, in main
run_shell_command_call(cmd)
File "/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/sjaracne.py", line 110, in run_shell_command_call
subprocess.check_call(cmd_to_exec)
File "/home/user01/.conda/envs/py376/lib/python3.7/subprocess.py", line 363, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cwltool', '--parallel', '--outdir', './test/output/SJARACNE_tf_out.final', '/home/user01/.conda/envs/py376/lib/python3.7/site-packages/SJARACNe-0.2.1-py3.7.egg/SJARACNe/cwl/sjaracne_workflow.cwl', 'test/output/SJARACNE_tf_out.final/sjaracne_workflow.yml']' returned non-zero exit status 1.
After checking Input.exp file, i found SJARACNe recognized another gene , "MRPL10"(a mitochondrial ribosomal protein), as an isoform of "RPL10", which it isn't, and tranformed isoformId "MRPL10" to "RPL10", leaving duplicated isoformIds.
Is there any solution for this error?
BTW, is it necessary to set a random seed for a reproducible result, how to set it in linux command line?
Hi, I tried SJARACNe(v. 0.2.1) with my own expression matrix prepared by
Network reconstruction pipeline
fromNetBID2
. Everything looked fine until it threw this error inCreate an enhanced consensus network
part:In which 'RPL10' is a genesymbol.
The error resulted in a truncated consensus_networkncol.txt file, which apparently contained only part of network data.
Code and ouput is listed below.
sjaracne local -e ./test/input/input.exp -g ./test/input/tf.txt -n 2 -o ./test/output/SJARACNE_tf_out.final -pc 1.0
After checking Input.exp file, i found SJARACNe recognized another gene , "MRPL10"(a mitochondrial ribosomal protein), as an isoform of "RPL10", which it isn't, and tranformed isoformId "MRPL10" to "RPL10", leaving duplicated isoformIds.
Is there any solution for this error?
BTW, is it necessary to set a random seed for a reproducible result, how to set it in linux command line?
Thanks.