Skip to content

Commit

Permalink
Update tests for PR #16
Browse files Browse the repository at this point in the history
This swaps the order of class and cwlVersion

Closes #15
  • Loading branch information
Kaushik Ghose committed Jan 5, 2021
1 parent 480044c commit 752b3cb
Show file tree
Hide file tree
Showing 57 changed files with 215 additions and 111 deletions.
6 changes: 3 additions & 3 deletions tests/cwl/expected-exploded-atac-seq.cwl
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
#!/usr/bin/env cwl-runner

class: Workflow
cwlVersion: v1.0
class: Workflow
label: ATAC-seq-pipeline-se
doc: 'ATAC-seq pipeline - reads: SE'
$namespaces:
sbg: https://sevenbridges.com

requirements:
- class: ScatterFeatureRequirement
Expand Down Expand Up @@ -249,8 +251,6 @@ steps:
- output_trimmed_fastq_read_count
id: |-
https://api.sbgenomics.com/v2/apps/kghosesbg/sbpla-31744/ATAC-seq-pipeline-se/2/raw/
$namespaces:
sbg: https://sevenbridges.com
sbg:appVersion:
- v1.0
sbg:content_hash: ad9474546d1d7aba5aa20e3c7a03b5429e5f8ec1d18be92cbab7315600a6bce48
Expand Down
4 changes: 3 additions & 1 deletion tests/cwl/expected-exploded-atac-seq.cwl.steps/map.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: Workflow
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: Workflow
doc: 'ATAC-seq 03 mapping - reads: SE'

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InitialWorkDirRequirement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: Workflow
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: Workflow
doc: ChIP-seq - map - PCR Bottleneck Coefficients

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: |-
Tool: bedtools genomecov (aka genomeCoverageBed)
Version: v2.25.0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Compute PCR Bottleneck Coeficient from BedGraph file.

inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extracts the base name of a file

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extracts the base name of a file

inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InitialWorkDirRequirement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InitialWorkDirRequirement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InitialWorkDirRequirement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InitialWorkDirRequirement:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extract mapped reads from BAM file using Samtools flagstat command

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Get number of processed reads from Bowtie log.

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: ExpressionTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: ExpressionTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Get number of processed reads from Bowtie log.

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: |-
Usage: c_curve [OPTIONS] <sorted-bed-file>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
4 changes: 3 additions & 1 deletion tests/cwl/expected-exploded-atac-seq.cwl.steps/peak_call.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: Workflow
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: Workflow
doc: ATAC-seq 04 quantification - SE

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Counts lines in a file and returns a suffixed file with that number

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Count number of dedup-ed reads used in peak calling

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extract mapped reads from BAM file using Samtools flagstat command

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extracts best fragment length from SPP output text file

inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Filter BAM file to only include reads overlapping with a BED file

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: |
"bedToBigBed v. 2.7 - Convert bed file to bigBed. (BigBed version: 4)
usage:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Trunk scores in ENCODE bed6+4 files

inputs:
Expand Down
4 changes: 3 additions & 1 deletion tests/cwl/expected-exploded-atac-seq.cwl.steps/qc.cwl
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: Workflow
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: Workflow
doc: 'ATAC-seq 01 QC - reads: SE'

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Compares 2 files

inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extracts read count from fastqc_data.txt

inputs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Counts reads in a fastq file

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: Extracts the base name of a file

requirements:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool
doc: |-
Unzips a zipped fastqc report and returns the fastqc_data.txt file. Unzips the file to pipe and uses redirection

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
class: CommandLineTool
#!/usr/bin/env cwl-runner

cwlVersion: v1.0
class: CommandLineTool

requirements:
InlineJavascriptRequirement: {}
Expand Down
Loading

0 comments on commit 752b3cb

Please sign in to comment.