Entering edit mode
19 months ago
Clark_BioMorgan
▴
50
Hey there, I just started to work with WisecondorX for NIPT analysis. Everything went smooth until I get to the prediction step. When I use this command I get the error below;
code;
WisecondorX predict V350129651_L04_79.npz /data/storeData/project/1_Projects/NIPT/NIPT-REF/NIPT_REF_npz/niptref_mg.100kb.npz /data/storeData/project/1_Projects/NIPT/nipt_1/V350129651_L04_79 --plot --bed
"[INFO - 2023-04-27 13:46:42]: Starting CNA prediction
[INFO - 2023-04-27 13:46:42]: Importing data ...
[INFO - 2023-04-27 13:46:42]: Normalizing autosomes ...
[INFO - 2023-04-27 13:46:43]: Normalizing gonosomes ...
Traceback (most recent call last):
File "/home/MegaBOLT/miniconda3/bin/WisecondorX", line 10, in <module>
sys.exit(main())
File "/home/MegaBOLT/miniconda3/lib/python3.8/site-packages/wisecondorX/main.py", line 410, in main
args.func(args)
File "/home/MegaBOLT/miniconda3/lib/python3.8/site-packages/wisecondorX/main.py", line 220, in tool_test
null_ratios = np.array(ValueError: setting an array element with a sequence.
The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (2934,) + inhomogeneous part."
Could you please help me?
Did you fix this? I also got this error when trying to run WisecondorX predict. So if you can solve it, please help me. Thank you!