Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tasks
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
biowdl
tasks
Commits
1dbfac51
Commit
1dbfac51
authored
6 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
macs2 and htseq.wdl to 1.0
parent
0e6bde49
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!34
Move all files to version 1.0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
htseq.wdl
+20
-16
20 additions, 16 deletions
htseq.wdl
macs2.wdl
+16
-13
16 additions, 13 deletions
macs2.wdl
with
36 additions
and
29 deletions
htseq.wdl
+
20
−
16
View file @
1dbfac51
version 1.0
task HTSeqCount {
String? preCommand
Array[File] alignmentFiles
File gtfFile
String outputTable
String? format
String? order
String? stranded
input {
String? preCommand
Array[File] alignmentFiles
File gtfFile
String outputTable
String? format
String? order
String? stranded
Int? memory
Int? memory
}
command {
set -e -o pipefail
mkdir -p
$
{sub(outputTable, basename(outputTable), "")}
$
{preCommand}
mkdir -p
~
{sub(outputTable, basename(outputTable), "")}
~
{preCommand}
htseq-count \
-f
$
{default="bam" format} \
-r
$
{default="pos" order} \
-s
$
{default="no" stranded} \
$
{sep=" " alignmentFiles} \
$
{gtfFile} \
>
$
{outputTable}
-f
~
{default="bam" format} \
-r
~
{default="pos" order} \
-s
~
{default="no" stranded} \
~
{sep=" " alignmentFiles} \
~
{gtfFile} \
>
~
{outputTable}
}
output {
...
...
This diff is collapsed.
Click to expand it.
macs2.wdl
+
16
−
13
View file @
1dbfac51
task PeakCalling {
String? preCommand
Array[File] bamFiles
String outDir
String sampleName
Int? threads
Int? memory
Boolean? nomodel
version 1.0
task PeakCalling {
input {
String? preCommand
Array[File] bamFiles
String outDir
String sampleName
Int? threads
Int? memory
Boolean? nomodel
}
command {
set -e -o pipefail
$
{preCommand}
~
{preCommand}
macs2 callpeak \
--treatment
$
{sep = ' ' bamFiles} \
--outdir
$
{outDir} \
--name
$
{sampleName} \
$
{default=false true='--nomodel' false='' nomodel}
--treatment
~
{sep = ' ' bamFiles} \
--outdir
~
{outDir} \
--name
~
{sampleName} \
~
{default=false true='--nomodel' false='' nomodel}
}
output {
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment