Skip to content

Commit

Permalink
Merge pull request #61 from stjude/wrap
Browse files Browse the repository at this point in the history
Updates to stjude_seaseq
  • Loading branch information
madetunj authored Mar 31, 2021
2 parents 642639a + 8764253 commit e02539d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dnanexus/stjude_seaseq/Readme.developer.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# stjude_seaseaq Developer Readme
# seaseq Developer Readme

<!--
TODO: Please edit this Readme.developer.md file to include information
Expand Down
4 changes: 2 additions & 2 deletions dnanexus/stjude_seaseq/Readme.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!-- dx-header -->
# Run St. Jude SEAseq workflow (DNAnexus Platform App)
# Run SEAseq workflow (DNAnexus Platform App)

Run the SEAseq workflow
SEAseq workflow

This is the source code for an app that runs on the DNAnexus Platform.
For more information about how to run or modify it, see
Expand Down
8 changes: 4 additions & 4 deletions dnanexus/stjude_seaseq/dxapp.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stjude_seaseaq",
"title": "Run the St. Jude SEAseq workflow",
"summary": "stjude_seaseaq",
"name": "seaseq",
"title": "Run SEAseq workflow",
"summary": "Run SEAseq workflow",
"dxapi": "1.0.0",
"version": "0.0.1",
"inputSpec": [
Expand Down Expand Up @@ -472,7 +472,7 @@
}
},
"interpreter": "bash",
"file": "src/stjude_seaseaq.sh",
"file": "src/stjude_seaseq.sh",
"distribution": "Ubuntu",
"release": "20.04",
"version": "0",
Expand Down
3 changes: 3 additions & 0 deletions dnanexus/stjude_seaseq/src/stjude_seaseq.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ main() {
echo '476621564b3b310b17598ee1f02a1865 dxWDL-v1.50.jar' > dxWDL-v1.50.jar.md5
md5sum -c dxWDL-v1.50.jar.md5

sed -ibak "s/cloud=\"false\"/cloud=\"true\"/" seaseq.wdl
dx mkdir -p "${DX_PROJECT_CONTEXT_ID}":/apps/
wf_id=$(java -jar dxWDL-v1.50.jar compile seaseq.wdl -project "${DX_PROJECT_CONTEXT_ID}" -folder /apps -force -extras dnanexus/extras.json)
echo "Workflow ID: ${wf_id}"
Expand All @@ -29,4 +30,6 @@ main() {
| jq ".output" \
| grep -v "reorg_status" \
| jq 'walk(if type == "object" then with_entries(select(.key | test("^stage-outputs|dnanexus_link|^___$") )) else . end) | walk( if type == "object" then with_entries( .key |= if startswith("stage-outputs") then sub( "^stage-outputs."; "") else . end ) else . end ) |walk( if type == "object" then with_entries( .key |= if endswith("___dxfiles") then sub( "___dxfiles$"; "") else . end ) else . end ) | walk (if (type == "object" and has("___")) then .|=.___ else . end)' > /home/dnanexus/job_output.json

dx rm -rf "${DX_PROJECT_CONTEXT_ID}":/apps/
}
6 changes: 3 additions & 3 deletions seaseq.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ workflow seaseq {
String pipeline_ver = 'v1.0.0'

meta {
title: 'SEASEQ Pipeline'
summary: 'Single-End Antibody Sequencing (SEASEQ) Pipeline'
title: 'SEAseq Analysis'
summary: 'Single-End Antibody Sequencing (SEAseq) Pipeline'
description: 'A comprehensive automated computational pipeline for all ChIP-Seq/CUT&RUN data analysis.'
version: '1.0.0'
details: {
Expand All @@ -31,7 +31,7 @@ workflow seaseq {
upstreamUrl: 'https://github.com/stjude/seaseq',
whatsNew: [
{
version: "1.1",
version: "1.0",
changes: ["Initial release"]
}
]
Expand Down

0 comments on commit e02539d

Please sign in to comment.