public final class SplitSam extends AbstractSplit
AbstractSplit.CountingWriterbytes, inputPath, records| Constructor and Description |
|---|
SplitSam(File inputFile,
Long bytes,
Long records,
String prefix,
int leftPad,
String suffix)
Split SAM files.
|
SplitSam(File inputFile,
Long bytes,
Long records,
String prefix,
String suffix)
Split SAM files.
|
SplitSam(Path inputPath,
Long bytes,
Long records,
String prefix,
int leftPad,
String suffix)
Split SAM files.
|
SplitSam(Path inputPath,
Long bytes,
Long records,
String prefix,
String suffix)
Split SAM files.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
call() |
(package private) static String |
getBaseName(Path path) |
(package private) static String |
getFileExtensions(Path path) |
static void |
main(String[] args)
Main.
|
closeWriters, createCountingWriter, getFileExtension, getNameWithoutExtension, leftPad, toBytespublic SplitSam(File inputFile, Long bytes, Long records, String prefix, String suffix)
inputFile - input file, if anybytes - split the input file at next record after each n bytes, if anyrecords - split the input file after each n records, if anyprefix - output file prefix, must not be nullsuffix - output file suffix, must not be nullpublic SplitSam(Path inputPath, Long bytes, Long records, String prefix, String suffix)
inputPath - input path, if anybytes - split the input path at next record after each n bytes, if anyrecords - split the input path after each n records, if anyprefix - output file prefix, must not be nullsuffix - output file suffix, must not be nullpublic SplitSam(File inputFile, Long bytes, Long records, String prefix, int leftPad, String suffix)
inputFile - input file, if anybytes - split the input file at next record after each n bytes, if anyrecords - split the input file after each n records, if anyprefix - output file prefix, must not be nullleftPad - left pad split index in output file namesuffix - output file suffix, must not be nullpublic SplitSam(Path inputPath, Long bytes, Long records, String prefix, int leftPad, String suffix)
inputPath - input path, if anybytes - split the input path at next record after each n bytes, if anyrecords - split the input path after each n records, if anyprefix - output file prefix, must not be nullleftPad - left pad split index in output file namesuffix - output file suffix, must not be nullCopyright (c) 2013-2023 held jointly by the individual authors. Licensed under the GNU Lesser General Public License (LGPL).