Closed pna059 closed 4 weeks ago
Hi @pna059 , it seems your Ubuntu's apt does not have a package called 'python', which apparently happens with 22.04, while it works on my 20.04 system.
A possible workaround is to edit lines 102-109 of file 01_ubuntu_packages.bash
replacing python- with python2- or python2.7-
Can you please try that? Bruno
Hi, thank you for the advice. I will try an give feedback. However, in the meanwhile, I installed RSAT on a Linux server following
There, I am getting only partial output and the problem is probably matrix clustring step.
(/home/jovyan/my-conda-envs/rsat) rstudio@jupyter-pavlan--rsa-2dtools:~/pavlan/$ rsat peak-motifs -v 1 -title 24DAP_cluster1_position_analysis -i domCTSS_24DAP_cluster1_100bp.fa -motif_db footprintDB transfac footprintDB.plants.motif.tf -outdir domCTSS_24DAP_cluster1_100bp_RSATpos -prefix peak-motifs -r_plot -disco positions -origin center -nmotifs 5 -minol 6 -maxol 7 -merge_lengths -1str -markov -2 -noov
# sequence length: 61408, number of masked symbols: 634 (1.03 percent of the sequences)
WARNING: ignoring environment value of R_HOME
WARNING: ignoring environment value of R_HOME
WARNING: ignoring environment value of R_HOME
WARNING: ignoring environment value of R_HOME
WARNING: ignoring environment value of R_HOME
WARNING: ignoring environment value of R_HOME
Illegal division by zero at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/matrix-clustering line 2933, <__ANONIO__> line 128.
Error
OpenInputFile: File domCTSS_24DAP_cluster1_100bp_RSATpos/results/positions_6-7nt/peak-motifs_positions-1str-noov_6-7nt_ci50_pssm_sig_matrices_nr_cluster_root_motifs.tf does not exist.
Error
Perhaps those warnings about R_HOME indicate that some previous config steps went wrong @morganeTC @jaimicore @jvanheld ?
Hi, I am running RSAT from a docker container on a Jupyter notebook, so the environment might be unusual the WARNING was removed by unset R_HOME, The line 2906 of matrix-clustering script was fixed by setting the: my $max_sys_process = 8;
Another attempt gives:
(/home/jovyan/my-conda-envs/rsat) rstudio@jupyter-pavlan--rsa-2dtools:~/pavlan/Barley_CAGE_motifsrsat peak-motifs -v 1 -title 24DAP_cluster1_position_analysis -i domCTSS_24DAP_cluster1_100bp.fa -motif_db footprintDB transfac footprintDB.plants.motif.tf -outdir domCTSS_24DAP_cluster1_100bp_RSATpos -prefix peak-motifs -r_plot -disco positions -origin center -nmotifs 5 -minol 6 -maxol 7 -merge_lengths -1str -markov auto -img_format png
# sequence length: 61408, number of masked symbols: 634 (1.03 percent of the sequences)
Smartmatch is experimental at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/lib/RSA2.cgi.lib line 2797.
/home/jovyan/my-conda-envs/rsat/share/rsat/perl-scripts/convert-matrix -i domCTSS_24DAP_cluster1_100bp_RSATpos/results/positions_6-7nt/peak-motifs_positions-1str-noov_6-7nt_ci50_pssm_sig_matrices_rescaled.tf -from tf -to tf -o domCTSS_24DAP_cluster1_100bp_RSATpos/results/positions_6-7nt/peak-motifs_positions-1str-noov_6-7nt_ci50_pssm_sig_matrices_nr_data/sig_input_motifs_processed_1.tf
Cannot start another process while you are in the child process at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/matrix-clustering line 2939.
Cannot start another process while you are in the child process at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/matrix-clustering line 2939.
Cannot start another process while you are in the child process at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/matrix-clustering line 2939.
Error in round(digits = round.digits, x) :
non-numeric argument to mathematical function
Calls: heatmap.simple
Execution halted
Can't call method "get_attribute" on an undefined value at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/lib/RSAT/MatrixAlignment.pm line 272.
Can't call method "get_attribute" on an undefined value at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/lib/RSAT/MatrixAlignment.pm line 272.
Can't call method "get_attribute" on an undefined value at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/lib/RSAT/MatrixAlignment.pm line 272.
and results in incomplete outputs.
Hi @najlaksouri , can you share with @pna059 the Dockerfile you created for https://hub.docker.com/r/ksouri1/rsat_nksouri ? That might help solve the problems encountered, Bruno
Hi @pna059 ,
Unfortunately, as i am out of the office i cannot share the Dockerfile, i will do it as soon as possible.
However, i did some trials installing RSAT docker on Ubuntu VirtutalBox and running a test data. The installation was done perfectly using the following commands:
Nevertheless, i got the same warnings "Can't call method "get_attribute" on an undefined value at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/lib/RSAT/MatrixAlignment.pm line 272."
Those warnings do not really affect the results as I have obtained the same results as from RSAT webserver.
@jaimicore Do have any clue how to fix this?
If you wish i can try to use your sequences to check the final output.
Further problem here is, that perl code in matrix-clustering assumes, that ulimit -u returns always a number, which is not correct. It can return 'unlimited' which translates to 0 and few lines below (about 2933) is divison by zero error.
Using your container, the output is similar except:
Cannot start another process while you are in the child process at /home/rstudio/my-conda-envs/rsat/bin/../share/rsat/perl-scripts/matrix-clustering line 2939.
This error is not present. So this seems to be the real problem.
So, the difference is, that your docker version does not run matrix-clustering
while ours does. I do not know why. And apparently, matrix-clustering
is not working.
Exactly, In fact, when i try to use the matrix-clustering tool separetely, i get erros
I found that peak-motifs
is different to the one that is part of conda
package. Perhaps, the version in conda
package is older and it it missing -cluster none
option at all.
line 2563 in your version:
$cmd .= " -cluster ".$main::param{asmb_clustering};
this line is missing completely in our conda version. If I fix it for me, computation is kinda working.
To the installations on Ubuntu 20.04 and 22.04. I tried on both systems and the complaint about missing python appears on both. Both have python3. Are really both python and python3 required?
PACKAGES_REQUIRED=" apt-utils make net-tools ssh git cvs wget zip unzip screen g++ apache2 libgdbm-dev libgd-tools libgd-gd2-perl ghostscript gnuplot graphviz mysql-client default-jre python python-pip python-setuptools python-numpy python-scipy python-matplotlib python-suds python-rpy2 python3 python3-pip python3-setuptools python3-numpy python3-scipy python3-matplotlib python3-rpy2 python-yaml emacs x11-apps eog ntp curl
Checking the installation result gives:
$ make -f makefiles/install_tests.mk all
Checking RSAT_path
./install_tests/RSAT_path.txt
Checking operating system
./install_tests/operating_system.txt
Checking Perl modules
./install_tests/perl_modules_check_log.txt
./install_tests/perl_modules_check_err.txt
Missing modules 43 ./install_tests/perl_modules_check_missing.txt
./install_tests/supported_organisms.tsv
./install_tests/supported_organisms_err.txt
Supported organisms 0
R version
./install_tests/R_version.txt
./install_tests/R_version_err.txt
Testing random-seq | purge-sequence
./install_tests/rand_purged.fa
./install_tests/rand_purged_err.txt
crer-scan with python 3
./install_tests/crer_scan_python3_log.txt
./install_tests/crer_scan_python3_err.txt
make: *** [makefiles/install_tests.mk:126: crer_scan_python3] Error 2
This one's for you probably @jvanheld
For @pna059 and other facing similar problems, the Docker container is being regularly updated and can be run as explained at https://rsa-tools.github.io/installing-RSAT/RSAT-Docker/RSAT-Docker-tuto.html
Hello, I attempted installation following https://rsa-tools.github.io/installing-RSAT/unix-install-rsat/installing_RSAT_procedure.html ....but hit the wall regarding Python installation.
when I tried to continue compilation, there is an error at the end:
Is there any solution/workaround?
Thanks!