WisecondorX (NIPT) np.array( ValueError)?
0
1
Entering edit mode
11 months ago
mhmtgenc85 ▴ 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?

numpy NGS WisecondorX NIPT • 749 views
ADD COMMENT
0
Entering edit mode

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!

ADD REPLY

Login before adding your answer.

Traffic: 906 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6