diff options
author | Petar Petrov <slackalaxy@gmail.com> | 2017-04-17 00:09:04 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-04-22 08:10:41 +0700 |
commit | a3131df8a7ec07516ae970fc348839b55fbad353 (patch) | |
tree | f4240d5f0dd6328ecdc423bd561a95a4f2d5da1b /python/xopen/README | |
parent | e2d2502ea363eca94a2342ace1fb713c1d89f46c (diff) |
python/xopen: Added (xopen function for compressed files).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'python/xopen/README')
-rw-r--r-- | python/xopen/README | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/python/xopen/README b/python/xopen/README new file mode 100644 index 0000000000000..97bf8546ee566 --- /dev/null +++ b/python/xopen/README @@ -0,0 +1,12 @@ +This Python module provides a xopen function that works like the built- +in open function, but can also deal with compressed files. Supported +compression formats are gzip, bzip2 and xz. They are automatically +recognized by their file extensions .gz, .bz2 or .xz. + +The focus is on being as efficient as possible on all supported Python +versions. For example, simply using gzip.open is slow in older Pythons, +and it is a lot faster to use a gzip subprocess. + +This module has originally been developed as part of the cutadapt tool +that is used in bioinformatics to manipulate sequencing data. It has +been in successful use within that software for a few years. |