Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

35 wiersze
1.5 KiB

  1. #########################################################################
  2. # Utility functions used across pysam
  3. #########################################################################
  4. cimport cython
  5. from cpython cimport array as c_array
  6. cpdef parse_region(contig=*, start=*, stop=*, region=*, reference=*, end=*)
  7. #########################################################################
  8. # Utility functions for quality string conversions
  9. cpdef c_array.array qualitystring_to_array(input_str, int offset=*)
  10. cpdef array_to_qualitystring(c_array.array arr, int offset=*)
  11. cpdef qualities_to_qualitystring(qualities, int offset=*)
  12. ########################################################################
  13. ## String encoding configuration facilities
  14. ########################################################################
  15. cpdef get_encoding_error_handler()
  16. cpdef set_encoding_error_handler(name)
  17. ########################################################################
  18. ## Python 3 compatibility functions
  19. ########################################################################
  20. cdef charptr_to_str(const char *s, encoding=*, errors=*)
  21. cdef bytes charptr_to_bytes(const char *s, encoding=*, errors=*)
  22. cdef charptr_to_str_w_len(const char* s, size_t n, encoding=*, errors=*)
  23. cdef force_str(object s, encoding=*, errors=*)
  24. cdef bytes force_bytes(object s, encoding=*, errors=*)
  25. cdef decode_bytes(bytes s, encoding=*, errors=*)
  26. cdef bytes encode_filename(object filename)
  27. cdef from_string_and_size(const char *s, size_t length)