Skip to content
Snippets Groups Projects
Commit 29f90cdf authored by Gervaise Henry's avatar Gervaise Henry :cowboy:
Browse files

Merge branch '132-bdbag' into 'develop'

Reimplimented symbolic link of bdbag cookie.

Closes #132

See merge request !90
parents 8ba4e7b2 198b3a7e
Branches
Tags
2 merge requests!95Update rna-seq.nf,!90Reimplimented symbolic link of bdbag cookie.
Pipeline #10472 failed with stages
in 13 minutes and 40 seconds
......@@ -4,6 +4,7 @@
**Background**
* Corrected file search parameters due to name inconsistency (#129)
* Re-implemented sym-link for deriva cookie into ~/.bdbag/ for bdbag fetch to use (#132)
# v2.0.0
**User Facing**
......
......@@ -17,7 +17,13 @@ This pipeline was created to be a standard mRNA-sequencing analysis pipeline whi
Authentication:
----------------
The consortium server used must be authentificated with the [deriva authentication client](https://github.com/informatics-isi-edu/gudmap-rbk/wiki/), and remain authentificated till the end of the pipeline run. Prematurely closing the client will result in invalidation of the tokens, and may result in the pipeline failure. The use of long-lived "globus" tokens is on the roadmap for use in the future.
The consortium server used must be authentificated with the [deriva authentication client](https://github.com/informatics-isi-edu/gudmap-rbk/wiki/), and remain authentificated till the end of the pipeline run. Prematurely closing the client will result in invalidation of the tokens, and may result in the pipeline failure. The use of long-lived "globus" tokens is on the roadmap for use in the future. If you are using [v2.0.0](https://git.biohpc.swmed.edu/gudmap_rbk/rna-seq/-/tags/v2.0.0) you will be required to make a link for bdbag cookie. Below is the code to run:
```sh
mkdir -p ~/.bdbag
ln -sf cookies.txt ~/.bdbag/deriva-cookies.txt
```
To Run:
-------
......
......@@ -206,7 +206,7 @@ process getBag {
mkdir -p ~/.deriva
ln -sf `readlink -e credential.json` ~/.deriva/credential.json
echo -e "LOG: linked" >> ${repRID}.getBag.log
# deriva-download replicate RID
echo -e "LOG: fetching bag for ${repRID} in GUDMAP" >> ${repRID}.getBag.log
deriva-download-cli ${source} --catalog 2 ${replicateExportConfig} . rid=${repRID}
......@@ -257,6 +257,13 @@ process getData {
hostname > ${repRID}.getData.log
ulimit -a >> ${repRID}.getData.log
# link deriva cookie for authentication
echo -e "LOG: linking deriva cookie" >> ${repRID}.getData.log
mkdir -p ~/.bdbag
ln -sf `readlink -e deriva-cookies.txt` ~/.bdbag/deriva-cookies.txt
echo -e "LOG: linked" >> ${repRID}.getData.log
# get bag basename
replicate=\$(basename "${inputBag}")
echo -e "LOG: bag replicate name \${replicate}" >> ${repRID}.getData.log
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment