-
Notifications
You must be signed in to change notification settings - Fork 594
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
Germline CNV WDLs for WGS #6607
Changes from 9 commits
eb99158
a7689b4
af0d56f
5f29492
d29a005
e00692b
7084775
57680ec
d24b40b
aa66473
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -59,6 +59,7 @@ workflow CNVGermlineCaseWorkflow { | |
############################################## | ||
#### optional arguments for CollectCounts #### | ||
############################################## | ||
Array[String]? disabled_read_filters_for_collect_counts | ||
String? collect_counts_format | ||
Boolean? collect_counts_enable_indexing | ||
Int? mem_gb_for_collect_counts | ||
|
@@ -116,6 +117,8 @@ workflow CNVGermlineCaseWorkflow { | |
################################################### | ||
Int ref_copy_number_autosomal_contigs | ||
Array[String]? allosomal_contigs | ||
Int? disk_space_gb_for_postprocess_germline_cnv_calls | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The task name in the comment section header should match the name of the WDL task. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done |
||
Int? mem_gb_for_postprocess_germline_cnv_calls | ||
|
||
########################## | ||
#### arguments for QC #### | ||
|
@@ -150,6 +153,7 @@ workflow CNVGermlineCaseWorkflow { | |
ref_fasta_dict = ref_fasta_dict, | ||
format = collect_counts_format, | ||
enable_indexing = collect_counts_enable_indexing, | ||
disabled_read_filters = disabled_read_filters_for_collect_counts, | ||
gatk4_jar_override = gatk4_jar_override, | ||
gatk_docker = gatk_docker, | ||
mem_gb = mem_gb_for_collect_counts, | ||
|
@@ -253,18 +257,26 @@ workflow CNVGermlineCaseWorkflow { | |
} | ||
} | ||
|
||
call CNVTasks.ScatterPloidyCallsBySample { | ||
input : | ||
contig_ploidy_calls_tar = DetermineGermlineContigPloidyCaseMode.contig_ploidy_calls_tar, | ||
samples = CollectCounts.entity_id, | ||
docker = gatk_docker, | ||
preemptible_attempts = preemptible_attempts | ||
} | ||
|
||
output { | ||
File preprocessed_intervals = PreprocessIntervals.preprocessed_intervals | ||
Array[File] read_counts_entity_id = CollectCounts.entity_id | ||
Array[File] read_counts = CollectCounts.counts | ||
File contig_ploidy_calls_tar = DetermineGermlineContigPloidyCaseMode.contig_ploidy_calls_tar | ||
Array[File] sample_contig_ploidy_calls_tars = ScatterPloidyCallsBySample.sample_contig_ploidy_calls_tar | ||
Array[Array[File]] gcnv_calls_tars = GermlineCNVCallerCaseMode.gcnv_call_tars | ||
Array[File] gcnv_tracking_tars = GermlineCNVCallerCaseMode.gcnv_tracking_tar | ||
Array[File] genotyped_intervals_vcf = PostprocessGermlineCNVCalls.genotyped_intervals_vcf | ||
Array[File] genotyped_segments_vcf = PostprocessGermlineCNVCalls.genotyped_segments_vcf | ||
Array[File] denoised_copy_ratios = PostprocessGermlineCNVCalls.denoised_copy_ratios | ||
Array[File] qc_status_files = CollectSampleQualityMetrics.qc_status_file | ||
Array[String] qc_status_strings = CollectSampleQualityMetrics.qc_status_string | ||
Array[File] denoised_copy_ratios = PostprocessGermlineCNVCalls.denoised_copy_ratios | ||
} | ||
} | ||
|
||
|
@@ -314,7 +326,7 @@ task DetermineGermlineContigPloidyCaseMode { | |
--mapping-error-rate ~{default="0.01" mapping_error_rate} \ | ||
--sample-psi-scale ~{default="0.0001" sample_psi_scale} | ||
|
||
tar czf case-contig-ploidy-calls.tar.gz -C ~{output_dir_}/case-calls . | ||
tar c -C ~{output_dir_}/case-calls . | gzip -1 > case-contig-ploidy-calls.tar.gz | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Can you explain this change? Also, why is it not in cohort mode as well? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Faster compression with |
||
|
||
rm -rf contig-ploidy-model | ||
>>> | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Space here for consistency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done