Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating WDL's to run on Tahoma #32

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions input.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"jgi_metaAssembly.input_files":["/global/cfs/cdirs/m3408/www/test_data/SRR13128014.pacbio.subsample.ccs.fastq.gz"],
"jgi_metaAssembly.proj":"nmdc:503125_160870",
"jgi_metaAssembly.input_files":["https://portal.nersc.gov/project/m3408//test_data/SRR13128014.pacbio.subsample.ccs.fastq.gz"],
"jgi_metaAssembly.proj":"nmdc:XXXXXXXXX",
"jgi_metaAssembly.memory": "105G",
"jgi_metaAssembly.threads": "16",
"jgi_metaAssembly.shortRead": false
Expand Down
3 changes: 1 addition & 2 deletions jgi_assembly.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ workflow jgi_metaAssembly {
String? memory
String? threads
# longReads parameters
Array[String] input_files
Array[File] input_files
String flye_container = "staphb/flye:2.9.2"
String flye_parameters = "--meta -o flye -t 32 --pacbio-hifi"
String smrtlink_container = "bryce911/smrtlink:12.0.0.177059"
Expand All @@ -24,7 +24,6 @@ workflow jgi_metaAssembly {
String spades_container="staphb/spades:4.0.0"
}


if (shortRead) {
if (length(input_files) > 1) {
call int.make_interleaved_reads {
Expand Down
7 changes: 4 additions & 3 deletions shortReads_assembly.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ workflow jgi_metaASM {
# String? outdir
String? memory
String? threads
String? input_file
File? input_file
String proj
String prefix=sub(proj, ":", "_")
String rename_contig_prefix="scaffold"
Expand Down Expand Up @@ -119,7 +119,7 @@ workflow jgi_metaASM {
task stage {
input {
String container
String? input_file
File? input_file
String memory = "4G"
String target = "staged.fastq.gz"
String output1 = "input.left.fastq.gz"
Expand Down Expand Up @@ -150,6 +150,7 @@ task stage {
}
runtime {
cpu: 2
memory: "4 GiB"
maxRetries: 1
docker: container
}
Expand Down Expand Up @@ -341,7 +342,7 @@ task create_agp {
runtime {
docker: container
memory: "120 GiB"
cpu: 16
cpu: 16
}
command<<<
set -euo pipefail
Expand Down