jpayne@68
|
1 from array import array
|
jpayne@68
|
2 from typing import Iterable, Optional, Tuple, Union
|
jpayne@68
|
3
|
jpayne@68
|
4 def get_encoding_error_handler() -> str: ...
|
jpayne@68
|
5 def set_encoding_error_handler(name: str) -> str: ...
|
jpayne@68
|
6 def _pysam_dispatch(
|
jpayne@68
|
7 collection: str,
|
jpayne@68
|
8 method: str,
|
jpayne@68
|
9 args: Optional[Iterable[str]],
|
jpayne@68
|
10 catch_stdout: bool = ...,
|
jpayne@68
|
11 is_usage: bool = ...,
|
jpayne@68
|
12 save_stdout: Optional[str] = ...,
|
jpayne@68
|
13 ) -> Tuple[int, Union[bytes, str], Union[bytes, str]]: ...
|
jpayne@68
|
14 def parse_region(
|
jpayne@68
|
15 contig: Optional[str] = ...,
|
jpayne@68
|
16 start: Optional[int] = ...,
|
jpayne@68
|
17 stop: Optional[int] = ...,
|
jpayne@68
|
18 region: Optional[str] = ...,
|
jpayne@68
|
19 reference: Optional[str] = ...,
|
jpayne@68
|
20 end: Optional[int] = ...,
|
jpayne@68
|
21 ) -> Tuple[str, int, int]: ...
|
jpayne@68
|
22 def qualitystring_to_array(
|
jpayne@68
|
23 input_str: Optional[str], offset: int = ...
|
jpayne@68
|
24 ) -> Optional[array]: ...
|
jpayne@68
|
25 def array_to_qualitystring(qualities: array, offset: int = ...) -> Optional[str]: ...
|
jpayne@68
|
26 def qualities_to_qualitystring(
|
jpayne@68
|
27 qualities: Union[array, Iterable[str]], offset: int = ...
|
jpayne@68
|
28 ) -> Optional[str]: ...
|