Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RNA-seq
Manage
Activity
Members
Labels
Plan
Issues
12
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
GUDMAP_RBK
RNA-seq
Commits
dcda53fd
Commit
dcda53fd
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Plain Diff
Merge branch '68-outputBagDetails' into 'develop'
Add run details to output bag Closes
#68
See merge request
!51
parents
83d47884
a89eb9f5
Branches
Branches containing commit
Tags
Tags containing commit
2 merge requests
!58
Develop
,
!51
Add run details to output bag
Pipeline
#8399
passed with stages
in 4 minutes and 33 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+2
-2
2 additions, 2 deletions
.gitlab-ci.yml
workflow/rna-seq.nf
+21
-2
21 additions, 2 deletions
workflow/rna-seq.nf
with
23 additions
and
4 deletions
.gitlab-ci.yml
+
2
−
2
View file @
dcda53fd
...
...
@@ -43,7 +43,7 @@ getData:
script
:
-
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' bdbag --version > version_bdbag.txt
-
ln -sfn `readlink -e ./test_data/auth/cookies.txt` ~/.bdbag/deriva-cookies.txt
-
unzip ./test_data/bag/Replicate_Q-Y5F6.zip
-
unzip ./test_data/bag/
staging/
Replicate_Q-Y5F6.zip
-
singularity run 'docker://bicf/gudmaprbkfilexfer:2.0.1_indev' bash ./workflow/scripts/bdbagFetch.sh Replicate_Q-Y5F6 Replicate_Q-Y5F6 TEST
-
pytest -m getData
artifacts
:
...
...
@@ -432,7 +432,7 @@ override_inputBag:
script
:
-
hostname
-
ulimit -a
-
nextflow -q run ./workflow/rna-seq.nf --deriva ./test_data/auth/credential.json --bdbag ./test_data/auth/cookies.txt --repRID Q-Y5F6 --inputBagForce ./test_data/bag/Replicate_Q-Y5F6.zip --ci
true
-
nextflow -q run ./workflow/rna-seq.nf --deriva ./test_data/auth/credential.json --bdbag ./test_data/auth/cookies.txt --repRID Q-Y5F6 --inputBagForce ./test_data/bag/
staging/
Replicate_Q-Y5F6.zip --ci
true
-
find . -type f -name "multiqc_data.json" -exec cp {} ./inputBagOverride_PE_multiqc_data.json \;
artifacts
:
name
:
"
$CI_JOB_NAME"
...
...
This diff is collapsed.
Click to expand it.
workflow/rna-seq.nf
+
21
−
2
View file @
dcda53fd
...
...
@@ -12,7 +12,7 @@
params.deriva = "${baseDir}/../test_data/auth/credential.json"
params.bdbag = "${baseDir}/../test_data/auth/cookies.txt"
//params.repRID = "16-1ZX4"
params.repRID = "Q-Y5
JA
"
params.repRID = "Q-Y5
F6
"
params.source = "dev"
params.refMoVersion = "38.p6.vM22"
params.refHuVersion = "38.p12.v31"
...
...
@@ -164,7 +164,7 @@ process getBag {
# deriva-download replicate RID
echo -e "LOG: fetching bag for ${repRID} in GUDMAP" >> ${repRID}.getBag.log
deriva-download-cli
${source}
--catalog 2 ${derivaConfig} . rid=${repRID}
deriva-download-cli
staging.gudmap.org
--catalog 2 ${derivaConfig} . rid=${repRID}
echo -e "LOG: fetched" >> ${repRID}.getBag.log
"""
}
...
...
@@ -716,6 +716,7 @@ spikeInfer.into{
speciesInfer.into {
speciesInfer_getRef
speciesInfer_aggrQC
speciesInfer_outputBag
}
...
...
@@ -1235,6 +1236,7 @@ process outputBag {
input:
path multiqc
path multiqcJSON
val species from speciesInfer_outputBag
output:
path ("Replicate_*.zip") into outputBag
...
...
@@ -1242,6 +1244,23 @@ process outputBag {
script:
"""
mkdir Replicate_${repRID}.outputBag
echo -e "### Run Details" >> runDetails.md
echo -e "**Workflow URL:** https://git.biohpc.swmed.edu/gudmap_rbk/rna-seq" >> runDetails.md
echo -e "**Workflow Version:** ${workflow.manifest.version}" >> runDetails.md
echo -e "**Description:** ${workflow.manifest.description}" >> runDetails.md
if [ "${species}" == "Mus musculus" ]; then
genome=\$(echo GRCm${refMoVersion} | cut -d '.' -f1)
patch=\$(echo ${refMoVersion} | cut -d '.' -f2)
annotation=\$(echo ${refMoVersion} | cut -d '.' -f3 | tr -d 'v')
elif [ "${species}" == "Homo sapiens" ]; then
genome=\$(echo GRCh${refHuVersion} | cut -d '.' -f1)
patch=\$(echo ${refHuVersion} | cut -d '.' -f2)
annotation=\$(echo ${refHuVersion} | cut -d '.' -f3 | tr -d 'v')
fi
echo -e "**Genome Assembly Version:** \${genome} patch \${patch}" >> runDetails.md
echo -e "**Annotation Version:** GENCODE release \${annotation}" >> runDetails.md
echo -e "**Run ID:** ${repRID}" >> runDetails.md
cp runDetails.md Replicate_${repRID}.outputBag
cp ${multiqc} Replicate_${repRID}.outputBag
cp ${multiqcJSON} Replicate_${repRID}.outputBag
bdbag Replicate_${repRID}.outputBag --archiver zip
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment