Skip to content

Commit

Permalink
Merge pull request #14 from 4dn-dcic/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
SooLee authored Dec 5, 2017
2 parents ef73dab + 74a7374 commit f144ca1
Show file tree
Hide file tree
Showing 13 changed files with 999 additions and 0 deletions.
File renamed without changes.
98 changes: 98 additions & 0 deletions cwl_awsem/repliseq/align_pe.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{
"hints": [
{
"dockerPull": "duplexa/4dn-repliseq:v9",
"class": "DockerRequirement"
}
],
"arguments": [],
"class": "CommandLineTool",
"inputs": [
{
"type": [
"File"
],
"id": "#fastq1",
"inputBinding": {
"position": 1,
"separate": true
}
},
{
"type": [
"File"
],
"id": "#fastq2",
"inputBinding": {
"position": 2,
"separate": true
}
},
{
"type": [
"File"
],
"id": "#bwa_index",
"inputBinding": {
"position": 3,
"separate": true
}
},
{
"type": [
"int"
],
"id": "#nThreads",
"inputBinding": {
"position": 6,
"separate": true
},
"default": 4
},
{
"type": [
"null",
"string"
],
"id": "#prefix",
"inputBinding": {
"position": 5,
"separate": true
},
"default": "out"
},
{
"type": [
"null",
"string"
],
"id": "#outdir",
"inputBinding": {
"position": 4,
"separate": true
},
"default": "."
}
],
"outputs": [
{
"type": [
"null",
"File"
],
"id": "#out_bam",
"outputBinding": {
"glob": "*.bam"
}
}
],
"baseCommand": [
"run-align-pe.sh"
],
"requirements": [
{
"class": "InlineJavascriptRequirement"
}
],
"cwlVersion": "draft-3"
}
88 changes: 88 additions & 0 deletions cwl_awsem/repliseq/align_se.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
{
"hints": [
{
"dockerPull": "duplexa/4dn-repliseq:v9",
"class": "DockerRequirement"
}
],
"arguments": [],
"class": "CommandLineTool",
"inputs": [
{
"type": [
"File"
],
"id": "#fastq1",
"inputBinding": {
"position": 1,
"separate": true
}
},
{
"type": [
"File"
],
"id": "#bwa_index",
"inputBinding": {
"position": 2,
"separate": true
}
},
{
"type": [
"int"
],
"id": "#nThreads",
"inputBinding": {
"position": 5,
"separate": true
},
"default": 4
},
{
"type": [
"null",
"string"
],
"id": "#prefix",
"inputBinding": {
"position": 4,
"separate": true
},
"default": "out"
},
{
"type": [
"null",
"string"
],
"id": "#outdir",
"inputBinding": {
"position": 3,
"separate": true
},
"default": "."
}
],
"outputs": [
{
"type": [
"null",
"File"
],
"id": "#out_bam",
"outputBinding": {
"glob": "*.bam"
}
}
],
"baseCommand": [
"run-align-se.sh"
],
"requirements": [
{
"class": "InlineJavascriptRequirement"
}
],
"cwlVersion": "draft-3"
}
77 changes: 77 additions & 0 deletions cwl_awsem/repliseq/clip.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
{
"hints": [
{
"dockerPull": "duplexa/4dn-repliseq:v9",
"class": "DockerRequirement"
}
],
"arguments": [],
"class": "CommandLineTool",
"inputs": [
{
"type": [
"File"
],
"id": "#input_fastq",
"inputBinding": {
"position": 1,
"separate": true
}
},
{
"type": [
"null",
"string"
],
"id": "#outprefix",
"inputBinding": {
"position": 2,
"separate": true
},
"default": "out"
},
{
"type": [
"null",
"string"
],
"id": "#outdir",
"inputBinding": {
"position": 1,
"separate": true
},
"default": "."
}
],
"outputs": [
{
"type": [
"null",
"File"
],
"id": "#out_clipped_fastq",
"outputBinding": {
"glob": "$(inputs.outdir + '/' + inputs.outprefix + '.clip.fastq')"
}
},
{
"type": [
"null",
"File"
],
"id": "#out_log",
"outputBinding": {
"glob": "$(inputs.outdir + '/' + inputs.outprefix + '.clip.fastq.log')"
}
}
],
"baseCommand": [
"clip"
],
"requirements": [
{
"class": "InlineJavascriptRequirement"
}
],
"cwlVersion": "draft-3"
}
100 changes: 100 additions & 0 deletions cwl_awsem/repliseq/count.cwl
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"hints": [
{
"dockerPull": "duplexa/4dn-repliseq:v9",
"class": "DockerRequirement"
}
],
"arguments": [],
"class": "CommandLineTool",
"inputs": [
{
"type": [
"File"
],
"id": "#input_bam",
"inputBinding": {
"position": 1,
"separate": true
}
},
{
"type": [
"null",
"File"
],
"inputBinding": {
"separate": true,
"position": 2
},
"id": "#chrsizes"
},
{
"type": [
"int"
],
"id": "#winsize",
"inputBinding": {
"position": 5,
"separate": true
},
"default": 5000
},
{
"type": [
"int"
],
"id": "#minsize",
"inputBinding": {
"position": 6,
"separate": true
},
"default": 10000000
},
{
"type": [
"null",
"string"
],
"id": "#outprefix",
"inputBinding": {
"position": 4,
"separate": true
},
"default": "out"
},
{
"type": [
"null",
"string"
],
"id": "#outdir",
"inputBinding": {
"position": 3,
"separate": true
},
"default": "."
}
],
"outputs": [
{
"type": [
"null",
"File"
],
"id": "#out_count_bg",
"outputBinding": {
"glob": "$(inputs.outdir + '/' + inputs.outprefix + '.w' + inputs.winsize + '.bg')"
}
}
],
"baseCommand": [
"count"
],
"requirements": [
{
"class": "InlineJavascriptRequirement"
}
],
"cwlVersion": "draft-3"
}
Loading

0 comments on commit f144ca1

Please sign in to comment.