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