From: Sarah Wait Zaranek Date: Wed, 29 Apr 2020 01:26:10 +0000 (+0000) Subject: removing unnecessary step, renaming cwl file X-Git-Url: https://git.arvados.org/arvados-tutorial.git/commitdiff_plain/a1a874de575c903a312a2b88394dbe87bc5590ad removing unnecessary step, renaming cwl file Arvados-DCO-1.1-Signed-off-by: Sarah Wait Zaranek no issue # --- diff --git a/cwl/bwamem-samtools-sort.cwl b/cwl/bwamem-samtools-sort.cwl new file mode 100644 index 0000000..18ad65c --- /dev/null +++ b/cwl/bwamem-samtools-sort.cwl @@ -0,0 +1,67 @@ +cwlVersion: v1.1 +class: CommandLineTool +label: Realigning fastqs and converting output to bam +$namespaces: + arv: "http://arvados.org/cwl#" + cwltool: "http://commonwl.org/cwltool#" + +requirements: + DockerRequirement: + dockerPull: curii/bwa-samtools-picard + ShellCommandRequirement: {} + ResourceRequirement: + ramMin: 26000 + coresMin: 16 + +hints: + arv:RuntimeConstraints: + outputDirType: keep_output_dir + +inputs: + reference: + type: File + secondaryFiles: + - .amb + - .ann + - .bwt + - .pac + - .sa + - .fai + - ^.dict + fastq1: File + fastq2: File + sample: string + +stdout: $(inputs.sample).bam + +outputs: + bam: + type: File + outputBinding: + glob: "*bam" + +arguments: + - /bwa-0.7.17/bwa + - mem + - -M + - -t + - $(runtime.cores) + - $(inputs.reference) + - -R + - '@RG\tID:sample\tSM:sample\tLB:sample\tPL:ILLUMINA\tPU:sample1' + - -c + - '250' + - $(inputs.fastq1) + - $(inputs.fastq2) + - shellQuote: false + valueFrom: '|' + - samtools + - sort + - -@ + - $(runtime.cores) + - -m + - '2G' + - -l + - '6' + - -o + - $(inputs.sample).sorted.bam diff --git a/cwl/bwamem-samtools-view.cwl b/cwl/bwamem-samtools-view-org.cwl similarity index 99% rename from cwl/bwamem-samtools-view.cwl rename to cwl/bwamem-samtools-view-org.cwl index efc423e..689bf39 100644 --- a/cwl/bwamem-samtools-view.cwl +++ b/cwl/bwamem-samtools-view-org.cwl @@ -50,7 +50,7 @@ arguments: - -R - '@RG\tID:sample\tSM:sample\tLB:sample\tPL:ILLUMINA\tPU:sample1' - -c - - 250 + - '250' - $(inputs.fastq1) - $(inputs.fastq2) - shellQuote: false diff --git a/cwl/gatk-haplotypecaller.cwl b/cwl/gatk-haplotypecaller.cwl index 9679d2a..1169f45 100644 --- a/cwl/gatk-haplotypecaller.cwl +++ b/cwl/gatk-haplotypecaller.cwl @@ -8,7 +8,7 @@ $namespaces: requirements: DockerRequirement: - dockerPull: broadinstitute/gatk + dockerPull: broadinstitute/gatk:4.1.7.0 InitialWorkDirRequirement: listing: - $(inputs.bam) diff --git a/cwl/mark-duplicates.cwl b/cwl/mark-duplicates.cwl index 8cdbb9b..3d7cba6 100644 --- a/cwl/mark-duplicates.cwl +++ b/cwl/mark-duplicates.cwl @@ -7,7 +7,7 @@ $namespaces: requirements: DockerRequirement: - dockerPull: broadinstitute/gatk + dockerPull: broadinstitute/gatk:4.1.7.0 hints: ResourceRequirement: