Open Raina-M opened 1 year ago
Please refer to this: https://github.com/marbl/merqury/issues/49#issuecomment-852394078
and see if this fixes the path issue.
Also, try echo $MERQURY
and see if that prints the right path.
The plot_spectra_cn.R could be run separately with
Rscript $MERQURY/plot/plot_spectra_cn.R --help
Sorry for the hassle!
Hello, thank you for the reply!
echo 1
in util.sh
did not fix the problem. I got the same error message.
And echo $MERQURY
printed the right path.
Running plot_spectra_cn.R
separately could derive the plots but I had to deactivate conda environment at first, otherwise, I still got an Rscript execution error.
I installed Merqury (v1.3) through conda. After running merqury under conda environment:
merqury.sh $WD/Carex_hic.meryl $REF Carex_pctg
I got the most expected outputs such as qv, completeness, and hist files, but no plots were generated. After checking the log file, I found the error:So for some reason, merqury could not find Rscript, but if I run
which Rscript
, I got:/PATH/bin/conda-envs/envs/merqury/bin/Rscript
And I also ranRscript ./plot_spectra_cn.R
I got the same error as following:Rscript execution error: No such file or directory