-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Subdivide FilterBatch and add SV count plots to enable IQR cutoff sel…
…ection (#220)
- Loading branch information
1 parent
20684c7
commit b5e954c
Showing
30 changed files
with
1,096 additions
and
1,007 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 0 additions & 19 deletions
19
input_templates/terra_workspaces/cohort_mode/workflow_configurations/FilterBatch.json.tmpl
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
...mplates/terra_workspaces/cohort_mode/workflow_configurations/FilterBatchSamples.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"FilterBatchSamples.sv_pipeline_docker": "${workspace.sv_pipeline_docker}", | ||
"FilterBatchSamples.sv_base_mini_docker": "${workspace.sv_base_mini_docker}", | ||
"FilterBatchSamples.linux_docker" : "${workspace.linux_docker}", | ||
|
||
"FilterBatchSamples.N_IQR_cutoff": "10000", | ||
|
||
"FilterBatchSamples.batch": "${this.sample_set_id}", | ||
"FilterBatchSamples.vcfs" : "${this.sites_filtered_vcfs}", | ||
"FilterBatchSamples.sv_counts": "${this.sv_counts}" | ||
} |
11 changes: 11 additions & 0 deletions
11
...templates/terra_workspaces/cohort_mode/workflow_configurations/FilterBatchSites.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"FilterBatchSites.sv_pipeline_docker": "${workspace.sv_pipeline_docker}", | ||
|
||
"FilterBatchSites.batch": "${this.sample_set_id}", | ||
"FilterBatchSites.depth_vcf" : "${this.clustered_depth_vcf}", | ||
"FilterBatchSites.manta_vcf" : "${this.clustered_manta_vcf}", | ||
"FilterBatchSites.wham_vcf" : "${this.clustered_wham_vcf}", | ||
"FilterBatchSites.melt_vcf" : "${this.clustered_melt_vcf}", | ||
"FilterBatchSites.evidence_metrics": "${this.metrics}", | ||
"FilterBatchSites.evidence_metrics_common": "${this.metrics_common}" | ||
} |
10 changes: 10 additions & 0 deletions
10
...lates/terra_workspaces/cohort_mode/workflow_configurations/FilterOutlierSamples.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"FilterOutlierSamples.sv_pipeline_docker": "${workspace.sv_pipeline_docker}", | ||
"FilterOutlierSamples.sv_base_mini_docker": "${workspace.sv_base_mini_docker}", | ||
"FilterOutlierSamples.linux_docker" : "${workspace.linux_docker}", | ||
|
||
"FilterOutlierSamples.N_IQR_cutoff": "6", | ||
|
||
"FilterOutlierSamples.name": "${this.sample_set_set_id}", | ||
"FilterOutlierSamples.vcf" : "${this.output_vcf}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
..._templates/terra_workspaces/cohort_mode/workflow_configurations/MergeBatchSites.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"MergeBatchSites.sv_pipeline_docker": "${workspace.sv_pipeline_docker}", | ||
"MergeBatchSites.cohort": "${this.sample_set_set_id}", | ||
"MergeBatchSites.pesr_vcfs": "${this.sample_sets.filtered_pesr_vcf}", | ||
"MergeBatchSites.depth_vcfs": "${this.sample_sets.filtered_depth_vcf}" | ||
"MergeBatchSites.pesr_vcfs": "${this.sample_sets.outlier_filtered_pesr_vcf}", | ||
"MergeBatchSites.depth_vcfs": "${this.sample_sets.outlier_filtered_depth_vcf}" | ||
} |
9 changes: 9 additions & 0 deletions
9
...ates/terra_workspaces/cohort_mode/workflow_configurations/PlotSVCountsPerSample.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"PlotSVCountsPerSample.sv_pipeline_docker": "${workspace.sv_pipeline_docker}", | ||
|
||
"PlotSVCountsPerSample.N_IQR_cutoff": "6", | ||
|
||
"PlotSVCountsPerSample.prefix": "${this.sample_set_id}", | ||
"PlotSVCountsPerSample.vcfs" : "${this.sites_filtered_vcfs}", | ||
"PlotSVCountsPerSample.vcf_identifiers" : "${this.algorithms_filtersites}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
test_input_templates/FilterBatch/FilterBatchSamples.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"FilterBatchSamples.sv_pipeline_docker": {{ dockers.sv_pipeline_docker | tojson }}, | ||
"FilterBatchSamples.sv_base_mini_docker":{{ dockers.sv_base_mini_docker | tojson }}, | ||
"FilterBatchSamples.linux_docker" : {{ dockers.linux_docker | tojson }}, | ||
|
||
"FilterBatchSamples.N_IQR_cutoff": "10000", | ||
"FilterBatchSamples.outlier_cutoff_table" : {{ test_batch.outlier_cutoff_table | tojson }}, | ||
|
||
"FilterBatchSamples.batch": {{ test_batch.batch_name | tojson }}, | ||
"FilterBatchSamples.vcfs" : [ | ||
{{ test_batch.sites_filtered_manta_vcf | tojson }}, | ||
null, | ||
{{ test_batch.sites_filtered_wham_vcf | tojson }}, | ||
{{ test_batch.sites_filtered_melt_vcf | tojson }}, | ||
{{ test_batch.sites_filtered_depth_vcf | tojson }} | ||
], | ||
"FilterBatchSamples.sv_counts": [ | ||
{{ test_batch.sites_filtered_svcounts_manta | tojson }}, | ||
null, | ||
{{ test_batch.sites_filtered_svcounts_wham | tojson }}, | ||
{{ test_batch.sites_filtered_svcounts_melt | tojson }}, | ||
{{ test_batch.sites_filtered_svcounts_depth | tojson }} | ||
] | ||
} |
11 changes: 11 additions & 0 deletions
11
test_input_templates/FilterBatch/FilterBatchSites.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"FilterBatchSites.sv_pipeline_docker": {{ dockers.sv_pipeline_docker | tojson }}, | ||
|
||
"FilterBatchSites.batch": {{ test_batch.batch_name | tojson }}, | ||
"FilterBatchSites.depth_vcf" : {{ test_batch.merged_depth_vcf | tojson }}, | ||
"FilterBatchSites.manta_vcf" : {{ test_batch.merged_manta_vcf | tojson }}, | ||
"FilterBatchSites.wham_vcf" : {{ test_batch.merged_wham_vcf | tojson }}, | ||
"FilterBatchSites.melt_vcf" : {{ test_batch.merged_melt_vcf | tojson }}, | ||
"FilterBatchSites.evidence_metrics": {{ test_batch.evidence_metrics | tojson }}, | ||
"FilterBatchSites.evidence_metrics_common": {{ test_batch.evidence_metrics_common | tojson }} | ||
} |
14 changes: 14 additions & 0 deletions
14
test_input_templates/FilterBatch/PlotSVCountsPerSample.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"PlotSVCountsPerSample.sv_pipeline_docker": {{ dockers.sv_pipeline_docker | tojson }}, | ||
|
||
"PlotSVCountsPerSample.N_IQR_cutoff": "6", | ||
|
||
"PlotSVCountsPerSample.prefix": {{ test_batch.batch_name | tojson }}, | ||
"PlotSVCountsPerSample.vcfs" : [ | ||
{{ test_batch.sites_filtered_manta_vcf | tojson }}, | ||
{{ test_batch.sites_filtered_wham_vcf | tojson }}, | ||
{{ test_batch.sites_filtered_melt_vcf | tojson }}, | ||
{{ test_batch.sites_filtered_depth_vcf | tojson }} | ||
], | ||
"PlotSVCountsPerSample.vcf_identifiers" : ["manta", "wham", "melt", "depth"] | ||
} |
11 changes: 11 additions & 0 deletions
11
test_input_templates/FilterOutlierSamples/FilterOutlierSamples.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"FilterOutlierSamples.sv_pipeline_docker": {{ dockers.sv_pipeline_docker | tojson }}, | ||
"FilterOutlierSamples.sv_base_mini_docker": {{ dockers.sv_base_mini_docker | tojson }}, | ||
"FilterOutlierSamples.linux_docker" : {{ dockers.linux_docker | tojson }}, | ||
|
||
"FilterOutlierSamples.N_IQR_cutoff": "6", | ||
|
||
"FilterOutlierSamples.name": "test_large", | ||
"FilterOutlierSamples.vcf_identifier": "cohort_outlier_filtered", | ||
"FilterOutlierSamples.vcf" : {{ test_batch.baseline_final_vcf | tojson }} | ||
} |
11 changes: 11 additions & 0 deletions
11
test_input_templates/FilterOutlierSamples/PlotSVCountsPerSample.json.tmpl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"PlotSVCountsPerSample.sv_pipeline_docker": {{ dockers.sv_pipeline_docker | tojson }}, | ||
|
||
"PlotSVCountsPerSample.N_IQR_cutoff": "6", | ||
|
||
"PlotSVCountsPerSample.prefix": {{ test_batch.batch_name | tojson }}, | ||
"PlotSVCountsPerSample.vcfs" : [ | ||
{{ test_batch.baseline_final_vcf | tojson }} | ||
], | ||
"PlotSVCountsPerSample.vcf_identifiers" : ["cohort_outlier_filtered"] | ||
} |
Oops, something went wrong.