Skip to content
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

Error in simpleLoess #164

Open
sum732 opened this issue Aug 4, 2022 · 3 comments
Open

Error in simpleLoess #164

sum732 opened this issue Aug 4, 2022 · 3 comments
Labels
bug Something isn't working QC SQ3 Quality Control related issues

Comments

@sum732
Copy link

sum732 commented Aug 4, 2022

Hello !
While running Sqanti3_qc.py for one the samples I keep getting following error message:
Error in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : invalid 'x' Execution halted

When this is happening, I do not get .html and .pdf along with .gff3 and .isoAnnotLite_stats.txt are not produced. All the others files are produced.

This error is happening when I am providing the -fl file. If I do not provide the -fl parameter i see all the files.

This is not an environment setup issue as in the same env another samples with -fl works, no error is shown and all the files are produced.

Next, I specifically looked at the fl clount file and compared with another samples ( that works) and all seems normal: total records are same between two files; I looked at simple stats: min max, mean, median quartiles values and expected difference are observed. I am not able to understand the error.

If any one can provide some insights that would be very helpful.

Below is the extended messages with error:

summarise() has grouped output by 'lenCat'. You can override using the
.groups argument.
summarise() has grouped output by 'associated_transcript'. You can override
using the .groups argument.
summarise() has grouped output by 'associated_transcript'. You can override
using the .groups argument.

Error in simpleLoess(y, x, w, span, degree = degree, parametric = parametric, : invalid 'x'

Execution halted

Traceback (most recent call last):

File "Research/Programs/SQANTI3/version_5.1_Release_19_07_2022/SQANTI3-5.1/sqanti3_qc.py", line 2490, in <module>

`main()`

File "Research/Programs/SQANTI3/version_5.1_Release_19_07_2022/SQANTI3-5.1/sqanti3_qc.py", line 2473, in main
run(args)
File "Research/Programs/SQANTI3/version_5.1_Release_19_07_2022/SQANTI3-5.1/sqanti3_qc.py", line 2057, in run
if subprocess.check_call(cmd, shell=True)!=0:
File "/.conda/envs/SQANTI3.env/lib/python3.9/subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/.conda/envs/SQANTI3.env/bin/Rscript /Research/Programs/SQANTI3
/version_5.1_Release_19_07_2022/SQANTI3-5.1/utilities//report_qc/SQANTI3_report.R /with_STAR_SJ_Expression/SQANTI3_QC/sqanti3_qc_2_B01_STAR_SJ_classification.txt /with_STAR_SJ_Expression/SQANTI3_QC/sqanti3_qc_2_B01_STAR_SJ_junctions.txt /with_STAR_SJ_Expression/SQANTI3_QC/sqanti3_qc_2_B01_STAR_SJ.params.txt /Research/Programs/SQANTI3/version_5.1_Release_19_07_2022/SQANTI3-5.1/utilities True both' returned non-zero exit status 1.

@sum732
Copy link
Author

sum732 commented Aug 4, 2022

after some more testing if I remove --saturation parameter I do not see any of the errors and get all the output. So now what is causing saturation plot to fail?

@aarzalluz aarzalluz added the bug Something isn't working label Aug 21, 2022
@aarzalluz
Copy link
Member

Hi @sum732 -thank you for reporting this. We will take a closer look as soon as we can. In the meantime, if running SQ3 without the --saturation parameter works for that particular sample, you will need to use that workaround in order to prevent SQ3 from failing.

@sum732
Copy link
Author

sum732 commented Sep 15, 2022

Thanks @aarzalluz for looking into this. For now I am not producing the report with --saturation, but it would be vital to have these plots for the publication. Any help will be much appreciated.
Many thanks in advance.

@aarzalluz aarzalluz added the QC SQ3 Quality Control related issues label Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working QC SQ3 Quality Control related issues
Projects
None yet
Development

No branches or pull requests

2 participants