-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fb345be
commit 8a29a99
Showing
13 changed files
with
346 additions
and
484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,50 +1,58 @@ | ||
version 1.0 | ||
|
||
#ENCODE DCC RNA-Seq pipeline merge-annotation | ||
#Maintainer: Otto Jolanki | ||
#CAPER docker quay.io/encode-dcc/rna-seq-pipeline:v1.1 | ||
#CAPER singularity docker://quay.io/encode-dcc/rna-seq-pipeline:v1.1 | ||
#CAPER docker quay.io/encode-dcc/rna-seq-pipeline:v1.2.0 | ||
#CAPER singularity docker://quay.io/encode-dcc/rna-seq-pipeline:v1.2.0 | ||
workflow merge_anno { | ||
# input filenames | ||
File annotation | ||
File tRNA | ||
File spikeins | ||
# output filename | ||
String output_filename | ||
Int? cpu | ||
Int? memGB | ||
String? disks | ||
meta { | ||
author: "Otto Jolanki" | ||
version: "v1.2.0" | ||
} | ||
|
||
input { | ||
File annotation | ||
File tRNA | ||
File spikeins | ||
String output_filename | ||
Int? cpu | ||
Int? memGB | ||
String? disks | ||
} | ||
|
||
call merge_annotation { input : | ||
annotation = annotation, | ||
tRNA = tRNA, | ||
spikeins = spikeins, | ||
output_filename = output_filename, | ||
annotation=annotation, | ||
tRNA=tRNA, | ||
spikeins=spikeins, | ||
output_filename=output_filename, | ||
} | ||
} | ||
task merge_annotation { | ||
File annotation | ||
File tRNA | ||
File spikeins | ||
String output_filename | ||
Int? cpu | ||
Int? memGB | ||
String? disks | ||
input { | ||
File annotation | ||
File tRNA | ||
File spikeins | ||
String output_filename | ||
Int? cpu | ||
Int? memGB | ||
String? disks | ||
} | ||
|
||
command { | ||
python3 $(which merge_annotation.py) \ | ||
${"--annotation " + annotation} \ | ||
${"--tRNA " + tRNA} \ | ||
${"--spikeins " + spikeins} \ | ||
${"--output_filename " + output_filename} | ||
~{"--annotation " + annotation} \ | ||
~{"--tRNA " + tRNA} \ | ||
~{"--spikeins " + spikeins} \ | ||
~{"--output_filename " + output_filename} | ||
} | ||
output { | ||
File merged_annotation = glob("${output_filename}")[0] | ||
File merged_annotation = output_filename | ||
} | ||
runtime { | ||
cpu : select_first([cpu,2]) | ||
memory : "${select_first([memGB,'8'])} GB" | ||
memory : "~{select_first([memGB,'8'])} GB" | ||
disks : select_first([disks,"local-disk 100 SSD"]) | ||
} | ||
} |
Oops, something went wrong.