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
4c8b47d8
Commit
4c8b47d8
authored
5 years ago
by
Ruben Vorderman
Browse files
Options
Downloads
Patches
Plain Diff
add complement task
parent
e78386df
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
bedtools.wdl
+39
-1
39 additions, 1 deletion
bedtools.wdl
with
39 additions
and
1 deletion
bedtools.wdl
+
39
−
1
View file @
4c8b47d8
...
...
@@ -20,6 +20,43 @@ version 1.0
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
task Complement {
input {
File genome
File bedFile
String dockerImage = "quay.io/biocontainers/bedtools:2.23.0--hdbcaa40_3"
String outputFile = basename(bedFile, "\.bed") + ".complement.bed"
}
command {
bedtools complement \
-g ~{genome} \
-i ~{bedFile} \
> ~{outputFile}
}
output {
File complementBed = outputFile
}
runtime {
docker: dockerImage
}
parameter_meta {
genome: {description: "Genome file with names and sizes",
category: "required"}
bedFile: {description: "The bedfile to complement",
category: "required"}
outputFile: {description: "The path to write the output to",
catgory: "advanced"}
dockerImage: {
description: "The docker image used for this task. Changing this may result in errors which the developers may choose not to address.",
category: "advanced"
}
}
}
# Technically not a bedtools task, but needed for bedtools complement.
task GetChromSizes {
input {
...
...
@@ -31,7 +68,8 @@ task GetChromSizes {
# Get first two columns from the fasta index which note name and size.
command {
cut -f1,2 ~{faidx} > ~{outputFile}
cut -f1,2 ~{faidx} \
> ~{outputFile}
}
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