annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/lib/python3.8/site-packages/pysam/libctabixproxies.pyi @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1 from typing import (
jpayne@69 2 Optional,
jpayne@69 3 overload,
jpayne@69 4 List,
jpayne@69 5 Dict,
jpayne@69 6 OrderedDict,
jpayne@69 7 Tuple,
jpayne@69 8 Iterable,
jpayne@69 9 KeysView,
jpayne@69 10 Any,
jpayne@69 11 )
jpayne@69 12
jpayne@69 13 class TupleProxyIterator:
jpayne@69 14 def __init__(self, proxy: Any): ...
jpayne@69 15 def __iter__(self) -> TupleProxyIterator: ...
jpayne@69 16 def __next__(self) -> Optional[str]: ...
jpayne@69 17
jpayne@69 18 class TupleProxy:
jpayne@69 19 def __init__(self, encoding: str = ...) -> None: ...
jpayne@69 20 def __copy__(self) -> TupleProxy: ...
jpayne@69 21 def compare(self, other: TupleProxy) -> int: ...
jpayne@69 22 def getMinFields(self) -> int: ...
jpayne@69 23 def getMaxFields(self) -> int: ...
jpayne@69 24 def _getindex(self, index: int) -> str: ...
jpayne@69 25 @overload
jpayne@69 26 def __getitem__(self, key: slice) -> List[str]: ...
jpayne@69 27 @overload
jpayne@69 28 def __getitem__(self, key: int) -> Any: ...
jpayne@69 29 def _setindex(self, index: int, value: Optional[str]) -> None: ...
jpayne@69 30 def __setitem__(self, index: int, value: Optional[str]) -> None: ...
jpayne@69 31 def __len__(self) -> int: ...
jpayne@69 32 def __iter__(self) -> TupleProxyIterator: ...
jpayne@69 33
jpayne@69 34 class NamedTupleProxy(TupleProxy):
jpayne@69 35 def __setattr__(self, key: str, value: str) -> None: ...
jpayne@69 36 def __getattr__(self, key: str) -> str: ...
jpayne@69 37
jpayne@69 38 class GTFProxy(NamedTupleProxy):
jpayne@69 39 def to_dict(self) -> Dict[str, Any]: ...
jpayne@69 40 def from_dict(self, d: Dict[str, Any]) -> None: ...
jpayne@69 41 def invert(self, lcontig: int) -> None: ...
jpayne@69 42 def keys(self) -> KeysView[str]: ...
jpayne@69 43 def setAttribute(self, key: str, value: Any) -> None: ...
jpayne@69 44 def attribute_string2dict(self, s: str) -> OrderedDict[str, Any]: ...
jpayne@69 45 def dict2attribute_string(self, d: Dict[str, Any]) -> str: ...
jpayne@69 46 def attribute_string2iterator(self, s: str) -> Iterable[Tuple[str, Any]]: ...
jpayne@69 47 def __getattr__(self, key: str) -> Any: ...
jpayne@69 48 def __setattr__(self, key: str, value: Any) -> None: ...
jpayne@69 49 # deprecated:
jpayne@69 50 # def asDict(self) -> Any: ...
jpayne@69 51 # def as_dict(self) -> Any: ...
jpayne@69 52 # def fromDict(self, *args, **kwargs) -> Any: ...
jpayne@69 53
jpayne@69 54 class GFF3Proxy(GTFProxy): ...
jpayne@69 55
jpayne@69 56 class BedProxy(NamedTupleProxy):
jpayne@69 57 def __setattr__(self, key: str, value: Any) -> None: ...
jpayne@69 58
jpayne@69 59 class VCFProxy(NamedTupleProxy):
jpayne@69 60 @property
jpayne@69 61 def pos(self) -> int: ...
jpayne@69 62 def __setattr__(self, key: str, value: Any) -> None: ...