Adding more labels/metadata
authorSarah Wait Zaranek <swz@curii.com>
Wed, 24 Jun 2020 23:36:02 +0000 (23:36 +0000)
committerSarah Wait Zaranek <swz@curii.com>
Wed, 24 Jun 2020 23:36:02 +0000 (23:36 +0000)
Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek <swz@curii.com>
no issue #

WGS-processing/cwl/helper/.samtools-sort.cwl.swp [new file with mode: 0644]
WGS-processing/cwl/helper/mark-duplicates.cwl
WGS-processing/cwl/helper/samtools-sort.cwl

diff --git a/WGS-processing/cwl/helper/.samtools-sort.cwl.swp b/WGS-processing/cwl/helper/.samtools-sort.cwl.swp
new file mode 100644 (file)
index 0000000..8279731
Binary files /dev/null and b/WGS-processing/cwl/helper/.samtools-sort.cwl.swp differ
index 3d7cba6fa17d2a208e75fdaeabe83361dfe02dfd..6041221bf8718d502ea69c45fe721d39f25dcb53 100644 (file)
@@ -1,9 +1,6 @@
 cwlVersion: v1.1
 class: CommandLineTool
-label: Marking Duplicates using Picard 
-$namespaces:
-  arv: "http://arvados.org/cwl#"
-  cwltool: "http://commonwl.org/cwltool#"
+label: Marking Duplicates using GATK (Picard) 
 
 requirements:
   DockerRequirement:
@@ -15,18 +12,28 @@ hints:
     coresMin: 4    
   arv:RuntimeConstraints:
     outputDirType: keep_output_dir
+  SoftwareRequirement:
+    packages:
+      GATK:
+        specs: [ "https://identifiers.org/rrid/RRID:SCR_001876" ]
+        version: [ "4.1.7" ]
 
 inputs:
   bam:
     type: File
+    format: edam:format_2572 # BAM
+    label: Sorted BAM 
 
 outputs:
   dupbam:
     type: File
+    format: edam:format_2572 # BAM
+    label: Sorted BAM with labeled duplicates
     outputBinding:
       glob: "*.bam"
   dupmetrics:
     type: File
+    label: Duplication metrics file
     outputBinding:
       glob: "*.txt"
 
@@ -41,4 +48,17 @@ arguments:
   - prefix: "-O"
     valueFrom: marked_dups$(inputs.bam.basename)
   - prefix: "-M"
-    valueFrom: "metrics.txt" 
+    valueFrom: "metrics.txt"
+
+s:codeRepository: https://github.com/arvados/arvados-tutorial
+s:license: https://www.gnu.org/licenses/agpl-3.0.en.html
+
+$namespaces:
+ s: https://schema.org/
+ edam: http://edamontology.org/
+ arv: "http://arvados.org/cwl#"
+ cwltool: "http://commonwl.org/cwltool#"
+
+$schemas:
+ - https://schema.org/version/latest/schema.rdf
+ - http://edamontology.org/EDAM_1.18.owl 
index 02072cdfbf863e0e6f982cd7cb21bb33603a21e2..88950e3dff096e85954e44933bcb87f716887cdc 100644 (file)
@@ -1,10 +1,6 @@
 cwlVersion: v1.1
 class: CommandLineTool
-label: Sorting Bam file
-
-$namespaces:
-  arv: "http://arvados.org/cwl#"
-  cwltool: "http://commonwl.org/cwltool#"
+label: Sorting BAM file
 
 requirements:
   DockerRequirement:
@@ -18,14 +14,26 @@ hints:
   arv:RuntimeConstraints:
     keep_cache: 9216 
     outputDirType: keep_output_dir
+  SoftwareRequirement:
+    packages:
+      Samtools:
+        specs: [ "https://identifiers.org/rrid/RRID:SCR_002105" ]
+        version: [ "1.10" ]
 
 inputs:
-  bam: File
-  sample: string
+  bam: 
+    type: File
+    format: edam:format_2572 # BAM
+    label: Alignments in BAM format
+  sample:
+    type: string
+    label: Sample Name
 
 outputs:
   sortedbam:
     type: File
+    format: edam:format_2572 # BAM
+    label: Sorted BAM 
     outputBinding:
       glob: "*sorted.bam"
 
@@ -40,3 +48,16 @@ arguments:
   - '2G'
   - -o
   - $(inputs.sample).sorted.bam
+
+s:codeRepository: https://github.com/arvados/arvados-tutorial
+s:license: https://www.gnu.org/licenses/agpl-3.0.en.html
+
+$namespaces:
+ s: https://schema.org/
+ edam: http://edamontology.org/
+ arv: "http://arvados.org/cwl#"
+ cwltool: "http://commonwl.org/cwltool#"
+
+$schemas:
+ - https://schema.org/version/latest/schema.rdf
+ - http://edamontology.org/EDAM_1.18.owl