Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

report reference genome length in align_reads output; use this value for assemble_refbased. reference_genome_length #538

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions pipes/WDL/tasks/tasks_assembly.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,7 @@ task align_reads {
File aligned_only_reads_bam_idx = "~{sample_name}.mapped.bai"
File aligned_only_reads_fastqc = "~{sample_name}.mapped_fastqc.html"
File aligned_only_reads_fastqc_zip = "~{sample_name}.mapped_fastqc.zip"
Int reference_length = read_int("assembly_length")
Int reads_provided = read_int("reads_provided")
Int reads_aligned = read_int("reads_aligned")
Int read_pairs_aligned = read_int("read_pairs_aligned")
Expand Down
2 changes: 1 addition & 1 deletion pipes/WDL/workflows/assemble_refbased.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ workflow assemble_refbased {
File align_to_ref_variants_vcf_gz = call_consensus.sites_vcf_gz
Int assembly_length = call_consensus.assembly_length
Int assembly_length_unambiguous = call_consensus.assembly_length_unambiguous
Int reference_genome_length = plot_ref_coverage.assembly_length
Int reference_genome_length = align_to_ref.reference_length[0]
Float assembly_mean_coverage = plot_ref_coverage.mean_coverage

Int dist_to_ref_snps = call_consensus.dist_to_ref_snps
Expand Down