sample_id.util module¶
-
sample_id.util.
class_attributes
(cls, filter_types=(<class 'int'>, <class 'float'>, <class 'bool'>, <class 'str'>))[source]¶
-
sample_id.util.
filesize
(filename)[source]¶ Human readable string representation of filesize
- Return type
-
sample_id.util.
gunzip_file
(input_filename, output_filename, blocksize=5242880, threads=None)[source]¶ Gzip a file using mgzip for multithreading.
- Return type
-
sample_id.util.
gzip_file
(output_filename, input_filename, compress_level=9, blocksize=5242880, threads=None)[source]¶ Gzip a file using mgzip for multithreading.
- Return type
-
sample_id.util.
human_bytes
(bytes)[source]¶ Human readable string representation of bytes
- Return type