| 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 |
|
| 50 |
|
| 51 |
|
| 52 |
|
| 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: ... |