Comments (18)
Your locally install R conflicts with the pipeline.
Please remove your locally installed R from $PATH in your startup script (~/.bashrc
) or do not module load
any R.
from atac-seq-pipeline.
Please run the following for debugging.
$ source activate encode-atac-seq-pipeline
$ which R
$ conda list | grep spp
from atac-seq-pipeline.
That's odd, while I have had R 3.5.0 installed in the past, I thought I hid all traces. Here are the responses to the commands above:
$ source activate encode-atac-seq-pipeline
(encode-atac-seq-pipeline) $ which R
~/software/miniconda3/envs/encode-atac-seq-pipeline/bin/R
(encode-atac-seq-pipeline) $ conda list | grep spp
r-spp 1.13 r3.2.2_0 bioconda
from atac-seq-pipeline.
Did you get any error while installing conda/install_dependencies.sh
?
from atac-seq-pipeline.
Not that I saw.
from atac-seq-pipeline.
If it's helpful, I uninstalled/reinstalled the environment, activated, and went to the the appropriate directory and reran what I believe is the failing command. Attached are logs of the uninstall/reinstall and the screen output of the redone Rscript command.
conda uninstall reinstall.txt
failing Rscript command output .txt
from atac-seq-pipeline.
Please run these for debugging.
$ source activate encode-atac-seq-pipeline
$ which conda
$ which R
$ echo $R_HOME
$ echo $R_LIBS
$ Rscript <(echo "installed.packages()") | grep spp
$ Rscript <(echo "installed.packages()")
BTW you can disable xcor
by activating a flag "atac.disable_xcor" : true,
in your input JSON.
from atac-seq-pipeline.
Results below and attached. It looks like $R_HOME and $R_LIBS are not set.
troubleShootOutput.txt
[jtobias@node062 ~]$ source activate encode-atac-seq-pipeline
(encode-atac-seq-pipeline) [jtobias@node062 ~]$ which conda
~/software/miniconda3/bin/conda
(encode-atac-seq-pipeline) [jtobias@node062 ~]$ which R
~/software/miniconda3/envs/encode-atac-seq-pipeline/bin/R
(encode-atac-seq-pipeline) [jtobias@node062 ~]$ echo $R_HOME
(encode-atac-seq-pipeline) [jtobias@node062 ~]$ echo $R_LIBS
(encode-atac-seq-pipeline) [jtobias@node062 ~]$
from atac-seq-pipeline.
It's weird. Everything looks okay. Let's try to re-install spp
.
$ source activate encode-atac-seq-pipeline
$ conda uninstall spp -y
$ conda install phantompeakqualtools -c bioconda -y
from atac-seq-pipeline.
Please run these too.
$ source deactivate
$ which Rscript
$ source activate encode-atac-seq-pipeline
$ Rscript -e ".libPaths()"
$ Rscript -e "Sys.getenv('R_LIBS_USER')"
from atac-seq-pipeline.
Before testing, please add between command {
and python $(which encode_xcor.py) \
for further debugging.
command {
#PLEASE ADD THESE LINES TO atac.wdl
which Rscript
which conda
echo $R_HOME
echo $R_LIBS
python $(which encode_xcor.py) \
${ta} \
${if paired_end then "--paired-end" else ""} \
${"--subsample " + select_first([subsample,25000000])} \
--speak=0 \
${"--nth " + select_first([cpu,2])}
}
from atac-seq-pipeline.
Ok, in response to your comment about reinstalling spp, before you sent the others, I uninstalled spp using:
$ source activate encode-atac-seq-pipeline
$ conda uninstall spp -y
It didn't seem to find spp to uninstall. Nonetheless I ran:
$ conda install phantompeakqualtools -c bioconda -yconda install phantompeakqualtools -c bioconda -y
Before seeing your two additional comments, I reran the test installation and it ran SUCCESSFULLY.
Here are the results for your Rscript commands:
[jtobias@consign starOut]$ source activate encode-atac-seq-pipeline
(encode-atac-seq-pipeline) [jtobias@consign starOut]$ Rscript -e ".libPaths()"
[1] "/home/jtobias/software/miniconda3/envs/encode-atac-seq-pipeline/lib/R/library"
(encode-atac-seq-pipeline) [jtobias@consign starOut]$ Rscript -e "Sys.getenv('R_LIBS_USER')"
[1] "~/R/x86_64-pc-linux-gnu-library/3.2"
The second one seems to be pointing to a non-existent directory.
Should I still rerun the test with the additional lines in atac.wdl?
Just to complicate things further, I began to install the deprecated bds pipeline as a backup approach, but I've not yet tried to run it. It's possible, though, that this installation somehow changed my environment, allowing the wdl test to run to completion.
from atac-seq-pipeline.
Could you run these too? This should be the final one.
$ source deactivate
$ which Rscript
from atac-seq-pipeline.
[jtobias@node065 ~]$ which Rscript
/usr/bin/Rscript
from atac-seq-pipeline.
Okay, It looks like Conda's R conflicted with a globally installed R on your system. This will be fixed in the next release.
Until then, for every pipeline run, please define two environment variables after activating the Conda environment and then run pipelines (java -jar ...
).
$ source activate encode-atac-seq-pipeline
$ export R_HOME=/home/jtobias/software/miniconda3/envs/encode-atac-seq-pipeline/lib/R
$ export R_LIBS=/home/jtobias/software/miniconda3/envs/encode-atac-seq-pipeline/lib/R/library
$ java -jar -Dconfig.file=backend/backend.conf ............... # your pipeline command line
from atac-seq-pipeline.
Please let me know if this works.
from atac-seq-pipeline.
Yes, the test run is working. I made the changes you suggested about the R environment variables and had another successful run. It has been running for me, however, since I uninstalled / re-installed spp per your suggestion:
$ source activate encode-atac-seq-pipeline
$ conda uninstall spp -y
$ conda install phantompeakqualtools -c bioconda -y
from atac-seq-pipeline.
@jwtobias: Thanks, closing this.
from atac-seq-pipeline.
Related Issues (20)
- Finished parsing without consuming all tokens HOT 1
- How are mitochondrial reads aligned? HOT 1
- How are DNAse-seq data processed with this pipeline?
- Reuse the same files in case of error.
- Help with running the pipeline HOT 1
- Unable to run the pipeline. invalid jar file error HOT 3
- 6 days stuck on task=atac.read_genome_tsv:-1, retry=0, status=Running
- More than 10 replicates HOT 3
- Encode-atac-seq-pipeline environment can't be found?
- [Question]: Do reads need to be deduped before FRiP calculation HOT 6
- Invalid MEMLIMIT unit value with LSF jobs on Linux
- two replicates and the combined have different signal
- --read-len selection
- Memory Saving: too many large files?
- The pipeline stalled at "chip.read_genome_tsv" for local backend HOT 2
- Differences in qc when validating installation HOT 3
- Failed on fastqs having identical filename but different path HOT 3
- Confirming that separate conditions/treatments should be analyzed by separate pipelines HOT 2
- Don't need to trim adapters
- Add --ntasks-per-node or --exclusive option for your multi-process jobs.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atac-seq-pipeline.