jpayne@68: from array import array jpayne@68: from typing import Iterable, Optional, Tuple, Union jpayne@68: jpayne@68: def get_encoding_error_handler() -> str: ... jpayne@68: def set_encoding_error_handler(name: str) -> str: ... jpayne@68: def _pysam_dispatch( jpayne@68: collection: str, jpayne@68: method: str, jpayne@68: args: Optional[Iterable[str]], jpayne@68: catch_stdout: bool = ..., jpayne@68: is_usage: bool = ..., jpayne@68: save_stdout: Optional[str] = ..., jpayne@68: ) -> Tuple[int, Union[bytes, str], Union[bytes, str]]: ... jpayne@68: def parse_region( jpayne@68: contig: Optional[str] = ..., jpayne@68: start: Optional[int] = ..., jpayne@68: stop: Optional[int] = ..., jpayne@68: region: Optional[str] = ..., jpayne@68: reference: Optional[str] = ..., jpayne@68: end: Optional[int] = ..., jpayne@68: ) -> Tuple[str, int, int]: ... jpayne@68: def qualitystring_to_array( jpayne@68: input_str: Optional[str], offset: int = ... jpayne@68: ) -> Optional[array]: ... jpayne@68: def array_to_qualitystring(qualities: array, offset: int = ...) -> Optional[str]: ... jpayne@68: def qualities_to_qualitystring( jpayne@68: qualities: Union[array, Iterable[str]], offset: int = ... jpayne@68: ) -> Optional[str]: ...