您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 

63 行
2.1 KiB

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