File: libcutils.pyi

package info (click to toggle)
python-pysam 0.20.0%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 17,348 kB
  • sloc: ansic: 137,388; python: 8,501; sh: 283; makefile: 263; perl: 41
file content (28 lines) | stat: -rw-r--r-- 973 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
from array import array
from typing import Iterable, Optional, Tuple, Union

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