From 75c24ab82debc1ed5bea2f02425c12fa31febc3c Mon Sep 17 00:00:00 2001 From: Sarah Wait Zaranek Date: Thu, 25 Jun 2020 01:26:02 +0000 Subject: [PATCH 1/1] Adding more labels Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek no issue # --- .../cwl/helper/.samtools-sort.cwl.swp | Bin 12288 -> 0 bytes WGS-processing/cwl/helper/mark-duplicates.cwl | 2 +- WGS-processing/cwl/helper/samtools-index.cwl | 33 ++++++++++++++---- WGS-processing/cwl/helper/samtools-sort.cwl | 2 +- 4 files changed, 28 insertions(+), 9 deletions(-) delete mode 100644 WGS-processing/cwl/helper/.samtools-sort.cwl.swp diff --git a/WGS-processing/cwl/helper/.samtools-sort.cwl.swp b/WGS-processing/cwl/helper/.samtools-sort.cwl.swp deleted file mode 100644 index 82797313cf62ffcb01fb2983f75a26dc2d75c951..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12288 zcmeI2&x;&I6vt}?BciKfPX0Jlb{AsQ?w*-!Owu5_KQt`5BC~5eNHWxP*YuRz-PNh8 z-eHlDyMiF`An3)L;w9o$NKXC(dJwz_dQvcg7jyGl)jd1A3lcmUs^CLW^Auv z0$+kp!3SUi1mJnF1fB--;J0}~z60NaufWIPI(Q#k1toY5EQ1r^0dNfb`7j~3!LQ&a z@B_FBz5t(tPrygu3aCI2+`;|+2ET*v!8hPKcozsT01>b{+z)*73U~#)0$u^HfLFjP z;1#%+6`%nf8&kzm#8Xzt(#Tw9d!bZW^ve3m=AavP&xI0or>&!gr%uMaV9sZkD=lOh z<;-wxrWTcs$Wr5_V?rqER&5n)Oc&a-5?SD^N$&P&t&0nUqB3^o)RxIkeXQNa82@X) zgzCn4BuKJUvV!Z1p}-d5=r|V%FEyVzPbQNvD{FUDYt#|TsysLyc0yi;V^ic|Hq7jGO8GW$+6tX2z%5-Beu~QE;5BxNatcmz~XSOqj~*f|tf#d&o3jgYK+MV>+!X zwo%!Z<#Gt+pPhvRwb5j45bmldQxqo0ZYpO(j;Gvmfz#EMP3opcQWea^%@Z|)LGR4j z9$mCP&c*Ci(EL@Aa}1l4aG#hohqz3kluq||0?{|{at9V`qY#K)?#zcGT0u2->26C! z=>luQaLfN|cs4Lfn#Zy!+_pB~WBLwVz^Bn!pqKV-y5b2E5Eh%|HU~ut?ZrsoBXOyv zlt`m~e`7t~TI&xw9aN;AneDLE)_OOWLbmR(%qA>_)*~}v3aNLc7K+q2ci zX?HlU2F=_c70N~C<`RZaHm2u$-52a@+0U%sWX_r_p(ztCN5)O(*13$@6lF}8-B_{0 zjd~q4%=EdIwMvf0v}H@++cY~EE`9H++a{IC4p(p1IZ`O8l@QTzg39=5nR_J?rc!vW yJHLZF5H-8K&6R1MAP6;qVzcga5`4)iqu diff --git a/WGS-processing/cwl/helper/mark-duplicates.cwl b/WGS-processing/cwl/helper/mark-duplicates.cwl index 6041221..42efa7e 100644 --- a/WGS-processing/cwl/helper/mark-duplicates.cwl +++ b/WGS-processing/cwl/helper/mark-duplicates.cwl @@ -1,6 +1,6 @@ cwlVersion: v1.1 class: CommandLineTool -label: Marking Duplicates using GATK (Picard) +label: Mark duplicates using GATK (Picard) requirements: DockerRequirement: diff --git a/WGS-processing/cwl/helper/samtools-index.cwl b/WGS-processing/cwl/helper/samtools-index.cwl index d479fbd..76b7402 100644 --- a/WGS-processing/cwl/helper/samtools-index.cwl +++ b/WGS-processing/cwl/helper/samtools-index.cwl @@ -1,10 +1,6 @@ cwlVersion: v1.1 class: CommandLineTool -label: Indexing Bam File - -$namespaces: - arv: "http://arvados.org/cwl#" - cwltool: "http://commonwl.org/cwltool#" +label: Index BAM requirements: DockerRequirement: @@ -16,20 +12,43 @@ requirements: hints: arv:RuntimeConstraints: outputDirType: keep_output_dir + SoftwareRequirement: + packages: + Samtools: + specs: [ "https://identifiers.org/rrid/RRID:SCR_002105" ] + version: [ "1.10" ] inputs: - bam: File + bam: + type: File + format: edam:format_2572 # BAM + label: Sorted BAM with labeled duplicates outputs: indexedbam: type: File + format: edam:format_2572 # BAM + label: Indexed sorted BAM with labeled duplicates outputBinding: glob: "*bam" secondaryFiles: - - .bai + - .bai baseCommand: samtools arguments: - index - $(inputs.bam.basename) + +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 diff --git a/WGS-processing/cwl/helper/samtools-sort.cwl b/WGS-processing/cwl/helper/samtools-sort.cwl index 88950e3..672dead 100644 --- a/WGS-processing/cwl/helper/samtools-sort.cwl +++ b/WGS-processing/cwl/helper/samtools-sort.cwl @@ -1,6 +1,6 @@ cwlVersion: v1.1 class: CommandLineTool -label: Sorting BAM file +label: Sort BAM requirements: DockerRequirement: -- 2.30.2