Skip to content

Commit

Permalink
grab appropriate pre-primertrimmed bam for qc metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlibuit committed Jan 29, 2021
1 parent 931d10d commit a417d49
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions tasks/task_ont_medaka.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ task consensus {

output {
File consensus_seq = "${samplename}.consensus.fasta"
File sorted_bam = "${samplename}.trimmed.rg.sorted.bam"
File trim_sorted_bam = "${samplename}.primertrimmed.rg.sorted.bam"
File trim_sorted_bai = "${samplename}.primertrimmed.rg.sorted.bam.bai"
Int number_N = read_string("NUM_N")
Expand Down
2 changes: 1 addition & 1 deletion workflows/wf_clear_labs_viral_pipeline_local.wdl
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
version 1.0

import "wf_clear_labs_viral_refbased_assembly.wdl" as assembly
import "wf_clearlabs_viral_refbased_assembly.wdl" as assembly
import "../tasks/task_amplicon_metrics.wdl" as assembly_metrics
import "../tasks/task_clear_labs_sample_metrics.wdl" as summary
import "wf_ont_sc2_pubRepo_submission.wdl" as submission
Expand Down
2 changes: 1 addition & 1 deletion workflows/wf_clearlabs_viral_refbased_assembly.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ workflow viral_refbased_assembly {
call assembly_metrics.stats_n_coverage {
input:
samplename = samplename,
bamfile = consensus.trim_sorted_bam
bamfile = consensus.sorted_bam
}
call assembly_metrics.stats_n_coverage as stats_n_coverage_primtrim {
input:
Expand Down

0 comments on commit a417d49

Please sign in to comment.