Skip to content

Commit

Permalink
reorganized
Browse files Browse the repository at this point in the history
  • Loading branch information
Adetunji committed Apr 28, 2020
1 parent 51241c9 commit 68c8f09
Show file tree
Hide file tree
Showing 48 changed files with 221 additions and 226 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions subworkflows/motifs.cwl → cwl/motifs.cwl
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ outputs:

steps:
MEMECHIP:
run: ../tools/meme-chip.cwl
run: meme-chip.cwl
in:
convertfasta: BEDfasta/outfile
out: [outDir]
Expand All @@ -49,7 +49,7 @@ steps:
ResourceRequirement:
ramMax: 10000
coresMin: 1
run: ../tools/ame.cwl
run: ame.cwl
in:
convertfasta: BEDfasta/outfile
motifdatabases: motifdatabases
Expand All @@ -60,7 +60,7 @@ steps:
reference: reference
bedfile: bedfile
out: [outfile]
run: ../tools/bedfasta.cwl
run: bedfasta.cwl


doc: |
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
182 changes: 182 additions & 0 deletions cwl/seaseq-mapping.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,182 @@
#!/usr/bin/env cwl-runner
cwlVersion: v1.0
class: Workflow

requirements:
- class: ScatterFeatureRequirement
- class: SubworkflowFeatureRequirement

inputs:
reference: Directory
fastqfile: File[]
chromsizes: File
blacklistfile: File
best_alignments: boolean?
good_alignments: int?
limit_alignments: int?
processors: int?

outputs:
sam_sort:
outputSource: SamSort/outfile
type: File[]

fastq_metrics:
outputSource: BasicMetrics/metrics_out
type: File[]

rmdup_bam:
outputSource: SamIndex/outfile
type: File[]

bklist_bam:
outputSource: BkIndex/outfile
type: File[]

bamqc_html:
outputSource: BamQC/htmlfile
type: File[]

bamqc_zip:
outputSource: BamQC/zipfile
type: File[]

readqc_zip:
outputSource: ReadQC/zipfile
type: File[]

readqc_html:
outputSource: ReadQC/htmlfile
type: File[]

stat_bk:
outputSource: STATbk/outfile
type: File[]

stat_bam:
outputSource: STATbam/outfile
type: File[]

stat_rmdup:
outputSource: STATrmdup/outfile
type: File[]


steps:
BasicMetrics:
requirements:
ResourceRequirement:
ramMax: 20000
coresMin: 1
in:
fastqfile: fastqfile
out: [metrics_out]
run: basicfastqstats.cwl
scatter: fastqfile

TagLen:
in:
datafile: BasicMetrics/metrics_out
out: [tagLength]
run: taglength.cwl
scatter: datafile

ReadQC:
in:
infile: fastqfile
out: [htmlfile, zipfile]
run: fastqc.cwl
scatter: infile

Bowtie:
requirements:
ResourceRequirement:
ramMax: 10000
coresMin: 20
run: bowtie.cwl
in:
readLengthFile: TagLen/tagLength
best_alignments: best_alignments
good_alignments: good_alignments
fastqfile: fastqfile
limit_alignments: limit_alignments
processors: processors
reference: reference
out: [samfile]
scatter: [readLengthFile, fastqfile]
scatterMethod: dotproduct

SamView:
in:
infile: Bowtie/samfile
out: [outfile]
run: samtools-view.cwl
scatter: infile

BamQC:
in:
infile: SamView/outfile
out: [htmlfile, zipfile]
run: fastqc.cwl
scatter: infile

SamSort:
in:
infile: SamView/outfile
out: [outfile]
run: samtools-sort.cwl
scatter: infile

BkList:
in:
infile: SamSort/outfile
blacklistfile: blacklistfile
out: [outfile]
run: blacklist.cwl
scatter: infile

BkIndex:
in:
infile: BkList/outfile
out: [outfile]
run: samtools-index.cwl
scatter: infile

SamRMDup:
in:
infile: BkList/outfile
out: [outfile]
run: samtools-mkdupr.cwl
scatter: infile

SamIndex:
in:
infile: SamRMDup/outfile
out: [outfile]
run: samtools-index.cwl
scatter: infile

STATbam:
in:
infile: SamView/outfile
out: [outfile]
run: samtools-flagstat.cwl
scatter: infile

STATrmdup:
in:
infile: SamRMDup/outfile
out: [outfile]
run: samtools-flagstat.cwl
scatter: infile

STATbk:
in:
infile: BkList/outfile
out: [outfile]
run: samtools-flagstat.cwl
scatter: infile


doc: |
Runs ChIP-Seq SE Mapping FastQ SE files to generate BAM file for step 2 in ChIP-Seq Pipeline.
Loading

0 comments on commit 68c8f09

Please sign in to comment.