-
Notifications
You must be signed in to change notification settings - Fork 120
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
Problem with running install_conda_env.sh #105
Comments
Did you install Conda? |
Yes, I have conda version 4.7.12 |
It looks like Edit that shell script Replace
with
|
Hi Jin Thanks for the prompt reply and solution. Really appreciate it. It does address the grep problem, but the last error message is still there. Below is the updated last part of the message: === Configuring for pipeline's Conda environments ===
What does "Error: Pipeline's Conda environments not found." mean? Am I supposed to be configuring the conda environment for the pipeline by running this script? Please help. |
Can you do this for debugging?
Also, this one.
|
I assume you meant CONDA_ENV_PY3=encode-chip-seq-pipeline. conda env list | grep "${CONDA_ENV_PY3}" | awk '{if (NF==3) print $3; else print $2}' /Users/compcore/miniconda3/envs/encode-chip-seq-pipeline conda env list (hashtag) conda environments: |
Ok that patched Can you uninstall your macOS' old grep and reinstall GNU grep (which has a
Add
If this doesn't work, can you somehow figure out how to install GNU grep on your system? |
Hi Jin, Thanks a lot. By installing GNU grep on Mac, the problem is solved. |
Hi Jin, It seems like the installation was successful. However, when I tried to test the workflow with the test json file. It failed. My command is the following: caper run chip.wdl -i ENCSR000DYI_subsampled_chr19_only_caper.json Got the following failure message at the end: "submission": "2019-11-14T18:54:58.856Z", I have activated conda environment before I run it. Could you please point out to me where could be wrong? |
Sorry about late response. |
Hi,
I am new to this package. I would like to install and use chip-seq-pipeline2 on my mac but had problem configuring the environment. I followed the installation instruction but failed to run install_conda_env.sh. I got the following message at the end:
=== Configuring for pipeline's Conda environments ===
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
usage: grep [-abcDEFGHhIiJLlmnOoqRSsUVvwxZ] [-A num] [-B num] [-C[num]]
[-e pattern] [-f file] [--binary-files=value] [--color=when]
[--context[=num]] [--directories=action] [--label] [--line-buffered]
[--null] [pattern] [file ...]
Exception ignored in: <_io.TextIOWrapper name='' mode='w' encoding='UTF-8'>
BrokenPipeError: [Errno 32] Broken pipe
Error: Pipeline's Conda environments not found.
I am using a Mac system, version 10.14.4. I had python version 2.7 and version 3.5 installed on my Mac. I am not an expert on python too so I could not figure out what the "Bronken pipe" error is all about. Any help will be appreciated. Thanks a lot!
The text was updated successfully, but these errors were encountered: