Skip to content

Commit

Permalink
chore(preprocessor): remove alternative type indicators
Browse files Browse the repository at this point in the history
  • Loading branch information
BinglanLi committed Jul 9, 2024
1 parent 60b23c8 commit 020387f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions preprocessor/preprocessor/preprocess.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def preprocess(pharmcat_positions_vcf: Path, reference_genome: Path,
vcf_files: List[Path], samples: Optional[List[str]], input_basename: str,
output_dir: Path, output_basename: Optional[str] = '', split_samples: bool = False,
keep_intermediate_files: bool = False, missing_to_ref: bool = False,
retain_specific_regions: bool = False, reference_regions_to_retain: Path | None = None,
retain_specific_regions: bool = False, reference_regions_to_retain: Path = None,
concurrent_mode: bool = False, max_processes: int = 1, verbose: int = 0) -> List[Path]:
"""
Normalize and prepare the input VCF for PharmCAT.
Expand Down Expand Up @@ -54,7 +54,7 @@ def preprocess_multiple_files(pharmcat_positions_vcf: Path, reference_genome: Pa
vcf_files: List[Path], samples: Optional[List[str]],
output_dir: Path, output_basename: Optional[str] = '',
keep_intermediate_files: bool = False, missing_to_ref: bool = False,
retain_specific_regions: bool = False, reference_regions_to_retain: Path | None = None,
retain_specific_regions: bool = False, reference_regions_to_retain: Path = None,
concurrent_mode: bool = False, max_processes: int = 1, verbose: int = 0) -> List[Path]:
"""
Normalize and prepare the input VCF for PharmCAT.
Expand Down Expand Up @@ -93,7 +93,7 @@ def _preprocess(pharmcat_positions_vcf: Path, reference_genome: Path,
vcf_files: List[Path], samples: Optional[List[str]],
output_dir: Path, output_basename: Optional[str] = '',
keep_intermediate_files: bool = False, missing_to_ref: bool = False,
retain_specific_regions: bool = False, reference_regions_to_retain: Path | None = None,
retain_specific_regions: bool = False, reference_regions_to_retain: Path = None,
concurrent_mode=False, max_processes=1, verbose: int = 0) -> Path:

# shrink input VCF down to PGx allele defining regions and selected samples
Expand Down

0 comments on commit 020387f

Please sign in to comment.