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
08f85049
Unverified
Commit
08f85049
authored
6 years ago
by
Peter van 't Hof
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #21 from biowdl/BIOWDL-35
Added seqstat, set minlength for cutadapt to 1.
parents
dd862229
9253f307
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
biopet.wdl
+35
-6
35 additions, 6 deletions
biopet.wdl
cutadapt.wdl
+1
-1
1 addition, 1 deletion
cutadapt.wdl
with
36 additions
and
7 deletions
biopet.wdl
+
35
−
6
View file @
08f85049
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
task BaseCounter {
task BaseCounter {
String? preCommand
String? preCommand
String
? toolJar
File
? toolJar
File bam
File bam
File bamIndex
File bamIndex
File refFlat
File refFlat
...
@@ -72,7 +72,7 @@ task BaseCounter {
...
@@ -72,7 +72,7 @@ task BaseCounter {
}
}
task ExtractAdaptersFastqc {
task ExtractAdaptersFastqc {
String
? toolJar
File
? toolJar
File inputFile
File inputFile
String outputDir
String outputDir
String? adapterOutputFilePath = outputDir + "/adapter.list"
String? adapterOutputFilePath = outputDir + "/adapter.list"
...
@@ -122,7 +122,7 @@ task FastqSplitter {
...
@@ -122,7 +122,7 @@ task FastqSplitter {
String? preCommand
String? preCommand
File inputFastq
File inputFastq
Array[String] outputPaths
Array[String] outputPaths
String
? toolJar
File
? toolJar
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -162,7 +162,7 @@ task FastqSync {
...
@@ -162,7 +162,7 @@ task FastqSync {
File in2
File in2
String out1path
String out1path
String out2path
String out2path
String
? toolJar
File
? toolJar
Float? memory
Float? memory
Float? memoryMultiplier
Float? memoryMultiplier
...
@@ -196,7 +196,7 @@ task FastqSync {
...
@@ -196,7 +196,7 @@ task FastqSync {
}
}
task SampleConfig {
task SampleConfig {
String
? toolJar
File
? toolJar
String? preCommand
String? preCommand
Array[File]+ inputFiles
Array[File]+ inputFiles
String keyFilePath
String keyFilePath
...
@@ -244,7 +244,7 @@ task ScatterRegions {
...
@@ -244,7 +244,7 @@ task ScatterRegions {
File refFasta
File refFasta
File refDict
File refDict
String outputDirPath
String outputDirPath
String
? toolJar
File
? toolJar
Int? scatterSize
Int? scatterSize
File? regions
File? regions
...
@@ -276,3 +276,32 @@ task ScatterRegions {
...
@@ -276,3 +276,32 @@ task ScatterRegions {
}
}
}
}
task Seqstat {
String? preCommand
File? toolJar
File fastq
String outputFile
Float? memory
Float? memoryMultiplier
Int mem = ceil(select_first([memory, 4.0]))
String toolCommand = if defined(toolJar)
then "java -Xmx" + mem + "G -jar " + toolJar
else "biopet-seqstat -Xmx" + mem + "G"
command {
set -e -o pipefail
${preCommand}
mkdir -p $(dirname ${outputFile})
${toolCommand} \
--fastq ${fastq} \
--output ${outputFile}
}
output {
File json = outputFile
}
runtime {
memory: ceil(mem * select_first([memoryMultiplier, 2.0]))
}
}
This diff is collapsed.
Click to expand it.
cutadapt.wdl
+
1
−
1
View file @
08f85049
...
@@ -33,7 +33,7 @@ task cutadapt {
...
@@ -33,7 +33,7 @@ task cutadapt {
String? stripSuffix
String? stripSuffix
String? prefix
String? prefix
String? suffix
String? suffix
Int? minimumLength
Int? minimumLength
= 1 # Necessary to prevent creation of empty reads
Int? maximumLength
Int? maximumLength
Int? maxN
Int? maxN
Boolean? discardTrimmed
Boolean? discardTrimmed
...
...
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