Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed Jan 14, 2025
1 parent f889c50 commit a5264b7
Show file tree
Hide file tree
Showing 7 changed files with 2 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@

"GATKSVPipelineSingleSample.linux_docker" : {{ dockers.linux_docker | tojson }},
"GATKSVPipelineSingleSample.manta_docker": {{ dockers.manta_docker | tojson }},
"GATKSVPipelineSingleSample.melt_docker": {{ dockers.melt_docker | tojson }},
"GATKSVPipelineSingleSample.scramble_docker": {{ dockers.scramble_docker | tojson }},
"GATKSVPipelineSingleSample.sv_base_docker": {{ dockers.sv_base_docker | tojson }},
"GATKSVPipelineSingleSample.sv_base_mini_docker": {{ dockers.sv_base_mini_docker | tojson }},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def get_new_header(header):
continue
else:
new_header_lines.append(line)
# Incorporate SR evidence flags
new_header = pysam.VariantHeader()
for s in header.samples:
new_header.add_sample(s)
Expand Down
4 changes: 1 addition & 3 deletions src/sv-pipeline/scripts/format_gatk_vcf_for_svtk.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ def __parse_arg_list(arg: Text) -> List[Text]:
def __parse_arguments(argv: List[Text]) -> argparse.Namespace:
# noinspection PyTypeChecker
parser = argparse.ArgumentParser(
description="Convert a GATK-style SV VCF from ClusterBatch for consumption by GenerateBatchMetrics.",
description="Convert a GATK-style SV VCF for consumption by svtk. Not to be used after CleanVcf.",
formatter_class=argparse.ArgumentDefaultsHelpFormatter
)
parser.add_argument("--vcf", type=str, required=True,
Expand All @@ -212,8 +212,6 @@ def __parse_arguments(argv: List[Text]) -> argparse.Namespace:
help="Comma-delimited list of FORMAT fields to remove")
parser.add_argument("--remove-infos", type=str,
help="Comma-delimited list of INFO fields to remove")
parser.add_argument("--intervaled-ins", default=False, action='store_true',
help="Set INS record END to POS+SVLEN")
parser.add_argument("--set-pass", default=False, action='store_true',
help="Set empty FILTER fields (\".\") to PASS")
if len(argv) <= 1:
Expand Down
2 changes: 1 addition & 1 deletion wdl/CombineBatches.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ workflow CombineBatches {
Array[String] contigs = transpose(read_tsv(contig_list))[0]
scatter ( contig in contigs ) {

# First round of clustering
# Naively join across batches
call ClusterTasks.SVCluster as JoinVcfs {
input:
vcfs=FormatVcf.out,
Expand Down
4 changes: 0 additions & 4 deletions wdl/GenotypeBatch.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,6 @@ workflow GenotypeBatch {
Int? sr_median_hom_ins
Float? sr_hom_cutoff_multiplier

File? reformat_script

String sv_base_mini_docker
String sv_pipeline_docker
String linux_docker
Expand Down Expand Up @@ -192,7 +190,6 @@ workflow GenotypeBatch {
ref_dict = ref_dict,
sr_hom_cutoff_multiplier = sr_hom_cutoff_multiplier,
sr_median_hom_ins = sr_median_hom_ins,
reformat_script = reformat_script,
sv_base_mini_docker = sv_base_mini_docker,
sv_pipeline_docker = sv_pipeline_docker,
linux_docker = linux_docker,
Expand Down Expand Up @@ -251,7 +248,6 @@ workflow GenotypeBatch {
coveragefile_index = coveragefile_index,
n_per_split = n_per_split,
ref_dict = ref_dict,
reformat_script = reformat_script,
sv_base_mini_docker = sv_base_mini_docker,
sv_pipeline_docker = sv_pipeline_docker,
runtime_attr_split_variants = runtime_attr_split_variants,
Expand Down
2 changes: 0 additions & 2 deletions wdl/GenotypeDepthPart2.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ workflow GenotypeDepthPart2 {
File coveragefile
File? coveragefile_index

File? reformat_script

String sv_pipeline_docker
String sv_base_mini_docker
RuntimeAttr? runtime_attr_split_variants
Expand Down
2 changes: 0 additions & 2 deletions wdl/GenotypePESRPart2.wdl
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ workflow GenotypePESRPart2 {
Int? sr_median_hom_ins
Float? sr_hom_cutoff_multiplier

File? reformat_script

String sv_pipeline_docker
String sv_base_mini_docker
String linux_docker
Expand Down

0 comments on commit a5264b7

Please sign in to comment.