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
f91f5982
Commit
f91f5982
authored
7 years ago
by
pjvan_thof
Browse files
Options
Downloads
Patches
Plain Diff
Adding alignment step
parent
06ef73d9
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bwa.wdl
+18
-0
18 additions, 0 deletions
bwa.wdl
fastqc.wdl
+1
-9
1 addition, 9 deletions
fastqc.wdl
samtools.wdl
+24
-0
24 additions, 0 deletions
samtools.wdl
with
43 additions
and
9 deletions
bwa.wdl
0 → 100644
+
18
−
0
View file @
f91f5982
task BwaMem {
File inputR1
File? inputR2
String referenceFasta
String outputPath
String? readgroup
command {
set -e -o pipefail
mkdir -p $(dirname ${outputPath})
bwa mem ${"-R '" + readgroup + "'"} \
${referenceFasta} ${inputR1} ${inputR2} | samtools sort --output-fmt BAM - > ${outputPath}
}
output {
File bamFile = outputPath
}
}
This diff is collapsed.
Click to expand it.
fastqc.wdl
+
1
−
9
View file @
f91f5982
...
...
@@ -48,15 +48,7 @@ task fastqc {
File rawReport = reportDir + "/fastqc_data.txt"
File htmlReport = reportDir + "/fastqc_report.html"
File summary = reportDir + "/summary.txt"
File adapterContent = reportDir + "/Images/adapter_content.png"
File duplicationLevels = reportDir + "/Images/duplication_levels.png"
File perBaseNContent = reportDir + "/Images/per_base_n_content.png"
File perBaseQuality = reportDir + "/Images/per_base_quality.png"
File perBaseSequenceContent = reportDir + "/Images/per_base_sequence_content.png"
File perSequenceGCContent = reportDir + "/Images/per_sequence_gc_content.png"
File perSequenceQuality = reportDir + "/Images/per_sequence_quality.png"
File perTileQuality = reportDir + "/Images/per_tile_quality.png"
File sequenceLengthDistribution = reportDir + "/Images/sequence_length_distribution.png"
Array[File] images = glob(outdirPath + "/*/Images/*.png")
}
runtime {
...
...
This diff is collapsed.
Click to expand it.
samtools.wdl
0 → 100644
+
24
−
0
View file @
f91f5982
task SamtoolsIndex {
String bamFilePath
command {
samtools index ${bamFilePath}
}
output {
File indexFile = bamFilePath + ".bai"
}
}
task SamtoolsMerge {
Array[File] bamFiles
String outputBamPath
command {
samtools merge ${outputBamPath} ${bamFiles}
}
output {
File bamFile = outputBamPath
}
}
\ No newline at end of file
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