AmpliconArchitect
AmpliconArchitect copied to clipboard
Always stuck at "Optimizing graph copy number flow"
Hi,I tried run AA with the outputs of AApipeline many times.And I always stuck at "Optimizing graph copy number flow". And this is the error.
[root:INFO] [amplicon6] chr11:72963773-74145256
[root:INFO] [amplicon7] chr11:74950122-75435051,chr11:76219931-76724864,chr11:99412587-102307510
[root:INFO] #TIME 15520.911 Reconstructing amplicon1
[root:INFO] #TIME 15520.932 Calculating coverage meanshift segmentation
[root:INFO] #TIME 15534.923 Detecting breakpoint edges (interval filter vertices)
[root:INFO] #TIME 15585.946 Building breakpoint graph
[root:INFO] #TIME 15587.706 Optimizing graph copy number flow
Traceback (most recent call last):
File "/home/u22211230020/PAA/AmpliconArchitect/src/AmpliconArchitect.py", line 321, in
And , it really disturbed me a lot.My python is Python version 3.9.13 (main, Oct 13 2022, 21:15:33), My AA is AmpliconArchitect version 1.3.r2.Is there any problem about python?.Looking forward to your reply.
Hi,
Thanks for sharing this error. It is possible this is related to your mosek installation. A few questions:
- What was the exact AA command you ran?
- It's possible mosek 8 is not compatible with python3.9. You may want to try installing python2 or a lower version of python 3. We have a development version of AA that may avoid this error here: https://github.com/jluebeck/AmpliconArchitect/tree/unstable_dev
- Can you confirm your mosek version by opening a python interactive session and do the following
import mosek
mosek.Env.getversion()
and reporting the output? - You can also try uninstalling and reinstalling mosek to see if this error persists.
- You could also see if you are getting the same behavior from this small test sample https://www.ncbi.nlm.nih.gov/sra/?term=FF-17
Thanks Jens
I also encountered the same problem, but things went smoothly after I switched to python 2.7 (I was using python 3.8.8) and built dependencies like instructed in the AA manual. Yay! Thanks, Jens :) Jingwen