public abstract class BgzfUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getCompressedFilename(String filename)
Maps the given filename to the name that the file should have after
compression with block compressed gzip (BGZF).
|
static String |
getUncompressedFilename(String filename)
Maps the given name of a block compressed gzip (BGZF) file to the name that the
file should have after uncompression.
|
static boolean |
isCompressedFilename(String filename)
Detects common block compressed gzip (BGZF) suffixes in the given filename.
|
public static boolean isCompressedFilename(String filename)
filename
- name of a filetrue
if the filename has a common block compressed gzip (BGZF) suffix,
false
otherwisepublic static String getUncompressedFilename(String filename)
filename
- name of a filepublic static String getCompressedFilename(String filename)
filename
- name of a fileCopyright (c) 2014-2017 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).