-
Notifications
You must be signed in to change notification settings - Fork 51
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
[BUG] sqantie_qc.py report generation #363
Comments
Thanks for reaching us. Can you please show the full command you are using to launch Sqanti3 QC, including the docker parameters? I checked the presence of numpy and it's indeed installed in the container in the published version v5.3.0. I can execute both sqanti3_qc and use numpy inside the container using this line
Fabián |
Thanks for your answer, here is my complete command: To be exact, I use the docker container in a nextflow module. I rebuild the image from your Dockerfile to be sure to have the most up to date version, you can find it on dockerhub: wdesaint/sqanti3
And I said a mistake, the program return the same error no matter the type of output asked. I don't know if this can help to solve the problem, but with the image skchronicles/sqanti3 pull few weeks ago, the only problem I encounter was a missing package in R, and i was unable to produce markdown and pdf report, but i had the output of sqanti_QC if I precised |
I assume that you have build the docker without changes, so your docker, the one build from dockerfile and the one we have uploaded in dockerhub is the same image. Please tell me if that's not correct. Can you please run these commands outside nextflow, directly on the terminal:
and tell me if any of those throws the error? I suspect that maybe your nextflow pipeline is using the host python instead of the docker, which doesn't have numpy installed. Numpy is the first non-standard library that sqanti qc needs. Regards Fabián |
Thank you again, |
Is there an existing issue for this?
Have you loaded the SQANTI3.env conda environment?
Problem description
Hello everyone,
I try to run sqantie_qc.py with the docker image provided in the git hub (v5.3.30, the latest) and I have one error when I ask to generate a report in markdown or pdf format.
When I use the argument
--report skip
, it's working well, but I want to have the "pretty" qc report if possible.As I understand, a python dependencies in missing in the docker image, but I want to know if there are a solution be fore modifying your Dockerfile.
It's perhaps possible to use your R script (
/SQANTI3/utilities/report_qc/SQANTI3_report.R
) in local, but it's a little complicate to adapt the code.Thank you for every answers you can provide
Code sample
sqanti3_qc.py corrected_gtf.gtf $gtf $fasta
-t $task.cpus
-o ${name_out}.sqanti3_qc
--dir ${name_out}.sqanti3_qc
--report both
Error
Command error:
/opt2/sqanti3/5.3.0/SQANTI3-5.3.0/sqanti3_qc.py:85: SyntaxWarning: invalid escape sequence '.'
seqid_rex1 = re.compile('PB.(\d+).(\d+)$')
/opt2/sqanti3/5.3.0/SQANTI3-5.3.0/sqanti3_qc.py:86: SyntaxWarning: invalid escape sequence '.'
seqid_rex2 = re.compile('PB.(\d+).(\d+)|\S+')
/opt2/sqanti3/5.3.0/SQANTI3-5.3.0/sqanti3_qc.py:87: SyntaxWarning: invalid escape sequence '.'
seqid_fusion = re.compile("PBfusion.(\d+).(\d+)\S*")
/opt2/sqanti3/5.3.0/SQANTI3-5.3.0/sqanti3_qc.py:582: SyntaxWarning: invalid escape sequence '\S'
gmst_rex = re.compile('(\S+\t\S+|GeneMark.hmm)|(\d+)_aa|(\S)|(\d+)|(\d+)')
Traceback (most recent call last):
File "/opt2/sqanti3/5.3.0/SQANTI3-5.3.0/sqanti3_qc.py", line 19, in
import numpy as np
ModuleNotFoundError: No module named 'numpy'
Anything else?
No response
The text was updated successfully, but these errors were encountered: