File: libctabixproxies.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 (62 lines) | stat: -rw-r--r-- 2,127 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
from typing import (
    Optional,
    overload,
    List,
    Dict,
    OrderedDict,
    Tuple,
    Iterable,
    KeysView,
    Any,
)

class TupleProxyIterator:
    def __init__(self, proxy: Any): ...
    def __iter__(self) -> TupleProxyIterator: ...
    def __next__(self) -> Optional[str]: ...

class TupleProxy:
    def __init__(self, encoding: str = ...) -> None: ...
    def __copy__(self) -> TupleProxy: ...
    def compare(self, other: TupleProxy) -> int: ...
    def getMinFields(self) -> int: ...
    def getMaxFields(self) -> int: ...
    def _getindex(self, index: int) -> str: ...
    @overload
    def __getitem__(self, key: slice) -> List[str]: ...
    @overload
    def __getitem__(self, key: int) -> Any: ...
    def _setindex(self, index: int, value: Optional[str]) -> None: ...
    def __setitem__(self, index: int, value: Optional[str]) -> None: ...
    def __len__(self) -> int: ...
    def __iter__(self) -> TupleProxyIterator: ...

class NamedTupleProxy(TupleProxy):
    def __setattr__(self, key: str, value: str) -> None: ...
    def __getattr__(self, key: str) -> str: ...

class GTFProxy(NamedTupleProxy):
    def to_dict(self) -> Dict[str, Any]: ...
    def from_dict(self, d: Dict[str, Any]) -> None: ...
    def invert(self, lcontig: int) -> None: ...
    def keys(self) -> KeysView[str]: ...
    def setAttribute(self, key: str, value: Any) -> None: ...
    def attribute_string2dict(self, s: str) -> OrderedDict[str, Any]: ...
    def dict2attribute_string(self, d: Dict[str, Any]) -> str: ...
    def attribute_string2iterator(self, s: str) -> Iterable[Tuple[str, Any]]: ...
    def __getattr__(self, key: str) -> Any: ...
    def __setattr__(self, key: str, value: Any) -> None: ...
    # deprecated:
    # def asDict(self) -> Any: ...
    # def as_dict(self) -> Any: ...
    # def fromDict(self, *args, **kwargs) -> Any: ...

class GFF3Proxy(GTFProxy): ...

class BedProxy(NamedTupleProxy):
    def __setattr__(self, key: str, value: Any) -> None: ...

class VCFProxy(NamedTupleProxy):
    @property
    def pos(self) -> int: ...
    def __setattr__(self, key: str, value: Any) -> None: ...