jvivian / gene-outlier-detection

A Bayesian model for identifying gene expression outliers for individual single samples (N-of-1) when compared to a cohort of background datasets.
9 stars 3 forks source link

PermissionError: [Errno 13] Permission denied: 'convert' #80

Open dauss75 opened 3 years ago

dauss75 commented 3 years ago

Hello, Could you comment on the error? I was playing with the toy example in centos 7 and below is the full message.

P-values converged with PearsonR of 0.9991 across 85 genes. Total runtime over all models: 6.31 (min) Traceback (most recent call last): File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/main.py", line 121, in cli() File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 764, in call return self.main(args, kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, ctx.params) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(args, kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/main.py", line 117, in cli run(opts) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/main.py", line 74, in run m.save_traceplot() File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/lib.py", line 353, in save_traceplot pm.traceplot(self.trace, var_names=varnames) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/pymc3/plots/init.py", line 37, in wrapped return func(*args, *kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/pymc3/plots/init.py", line 55, in traceplot return az.plot_trace(args, kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/arviz/plots/traceplot.py", line 237, in plot_trace plot = get_plotting_function("plot_trace", "traceplot", backend) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/arviz/plots/plot_utils.py", line 538, in get_plotting_function backend=backend, plot_module=plot_module File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/importlib/init.py", line 126, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 941, in _find_and_load_unlocked File "", line 219, in _call_with_frames_removed File "", line 994, in _gcd_import File "", line 971, in _find_and_load File "", line 955, in _find_and_load_unlocked File "", line 665, in _load_unlocked File "", line 678, in exec_module File "", line 219, in _call_with_frames_removed File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/arviz/plots/backends/matplotlib/init.py", line 124, in from .ppcplot import plot_ppc File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/arviz/plots/backends/matplotlib/ppcplot.py", line 7, in from matplotlib import animation, get_backend File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/animation.py", line 737, in class ImageMagickWriter(ImageMagickBase, MovieWriter): File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/animation.py", line 120, in wrapper if writerClass.isAvailable(): File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/animation.py", line 730, in isAvailable return super().isAvailable() File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/animation.py", line 427, in isAvailable return shutil.which(cls.bin_path()) is not None File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/animation.py", line 724, in bin_path binpath = mpl._get_executable_info('magick').executable File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/init.py", line 384, in _get_executable_info return impl([path, "--version"], r"^Version: ImageMagick (\S*)") File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/matplotlib/init.py", line 324, in impl args, stderr=subprocess.STDOUT, universal_newlines=True) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/subprocess.py", line 336, in check_output kwargs).stdout File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/subprocess.py", line 403, in run with Popen(*popenargs, kwargs) as process: File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/subprocess.py", line 709, in init restore_signals, start_new_session) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/subprocess.py", line 1344, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) PermissionError: [Errno 13] Permission denied: 'convert'* Traceback (most recent call last): File "/isilon/RnD/bcbio-tool-data-dev/anaconda/bin/outlier-detection", line 10, in sys.exit(cli()) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 764, in call return self.main(args, kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 717, in main rv = self.invoke(ctx) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 956, in invoke return ctx.invoke(self.callback, *ctx.params) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/click/core.py", line 555, in invoke return callback(args, **kwargs) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/meta_runner.py", line 88, in cli subprocess.check_call(parameters) File "/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/subprocess.py", line 291, in check_call raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command '['python', '/isilon/RnD/bcbio-tool-data-dev/anaconda/lib/python3.6/site-packages/gene_outlier_detection/main.py', '-s', 'data/tumor.hd 5', '-b', 'data/gtex.hd5', '-n', 'TCGA-OR-A5KV-01', '-o', './', '-g', 'tissue', '-c', '5', '-nbg', '5', '-m', '200', '-ntg', '50', '-p', '0.99', '--tune', '500', '-l', 'data/ drug-genes.txt']' returned non-zero exit status 1.