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
04536845
Commit
04536845
authored
4 years ago
by
Gervaise Henry
Browse files
Options
Downloads
Patches
Plain Diff
Debug process file deriva upload & no retry for integration
parent
0211d123
Branches
Branches containing commit
Tags
Tags containing commit
3 merge requests
!58
Develop
,
!54
Resolve "Add an option to not upload"
,
!53
Resolve "process_derivaUpload"
Pipeline
#8516
failed with stages
in 3 hours, 1 minute, and 14 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.gitlab-ci.yml
+5
-5
5 additions, 5 deletions
.gitlab-ci.yml
workflow/rna-seq.nf
+5
-21
5 additions, 21 deletions
workflow/rna-seq.nf
with
10 additions
and
26 deletions
.gitlab-ci.yml
+
5
−
5
View file @
04536845
...
...
@@ -494,7 +494,7 @@ integration_se:
-
SE_multiqc_data.json
expire_in
:
7 days
retry
:
max
:
1
max
:
0
when
:
-
always
...
...
@@ -519,7 +519,7 @@ integration_pe:
-
PE_multiqc_data.json
expire_in
:
7 days
retry
:
max
:
1
max
:
0
when
:
-
always
...
...
@@ -542,7 +542,7 @@ override_inputBag:
-
inputBagOverride_PE_multiqc_data.json
expire_in
:
7 days
retry
:
max
:
1
max
:
0
when
:
-
always
...
...
@@ -564,7 +564,7 @@ override_fastq:
-
fastqOverride_PE_multiqc_data.json
expire_in
:
7 days
retry
:
max
:
1
max
:
0
when
:
-
always
...
...
@@ -586,7 +586,7 @@ override_species:
-
speciesOverride_PE_multiqc_data.json
expire_in
:
7 days
retry
:
max
:
1
max
:
0
when
:
-
always
...
...
This diff is collapsed.
Click to expand it.
workflow/rna-seq.nf
+
5
−
21
View file @
04536845
...
...
@@ -1480,7 +1480,6 @@ qcRID_fl.splitCsv(sep: ",", header: false).separate(
qcRID
)
/*
*ouputBag: create ouputBag
*/
...
...
@@ -1519,28 +1518,11 @@ process outputBag {
cookie=\$(cat credential.json | grep -A 1 '\\"${source}\\": {' | grep -o '\\"cookie\\": \\".*\\"')
cookie=\${cookie:20:-1}
deriva-upload-cli --catalog 2 --token \${cookie} ${source} ./deriva --purge-state
fileBam=\$(basename -a ${bam})
md5Bam=\$(md5sum ./\${fileBam} | awk '{ print \$1 }')
fileBigwig=\$(basename -a ${bigwig})
md5Bigwig=\$(md5sum ./\${fileBigwig} | awk '{ print \$1 }')
fileCounts=\$(basename -a ${counts})
md5Counts=\$(md5sum ./\${fileCounts} | awk '{ print \$1 }')
urlBam=\$(curl -s https://${source}/ermrest/catalog/2/entity/RNASeq:Processed_File/File_MD5=\${md5Bam})
urlBam=\$(echo \${urlBam} | grep -o '\\"File_URL\\":\\".*\\",\\"File_Name')
urlBam=\${urlBam:12:-12}
urlBigwig=\$(curl -s https://${source}/ermrest/catalog/2/entity/RNASeq:Processed_File/File_MD5=\${md5Bigwig})
urlBigwig=\$(echo \${urlBigwig} | grep -o '\\"File_URL\\":\\".*\\",\\"File_Name')
urlBigwig=\${urlBigwig:12:-12}
urlCounts=\$(curl -s https://${source}/ermrest/catalog/2/entity/RNASeq:Processed_File/File_MD5=\${md5Counts})
urlCounts=\$(echo \${urlCounts} | grep -o '\\"File_URL\\":\\".*\\",\\"File_Name')
urlCounts=\${urlCounts:12:-12}
echo \${urlBam} > url.txt
echo \${urlBigwig} >> url.txt
echo \${urlCounts} >> url.txt
deriva-upload-cli --catalog 2 --token \${cookie} ${source} ./deriva
echo LOG: processed files uploaded >> ${repRID}.outputBag.log
deriva-download-cli --catalog 2 --token \${cookie} ${source} ${executionRunExportConfig} . rid=${executionRunRID}
echo LOG: execution run bag downloaded >> ${repRID}.outputBag.log
echo -e "### Run Details" >> runDetails.md
echo -e "**Workflow URL:** https://git.biohpc.swmed.edu/gudmap_rbk/rna-seq" >> runDetails.md
...
...
@@ -1558,6 +1540,7 @@ process outputBag {
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
echo LOG: runDetails.md created >> ${repRID}.outputBag.log
unzip Execution_Run_${executionRunRID}.zip
mv Execution_Run_${executionRunRID} ${repRID}_Output_Bag
...
...
@@ -1568,6 +1551,7 @@ process outputBag {
cp ${multiqcJSON} \${loc}
bdbag ./${repRID}_Output_Bag/ --update --archiver zip --debug
echo LOG: output bag created >> ${repRID}.outputBag.log
"""
}
...
...
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