public class SAMFileMerger extends Object
KeyIgnoringAnySAMOutputFormat
into a single file.| Modifier and Type | Method and Description |
|---|---|
static void |
mergeParts(String partDirectory,
String outputFile,
SAMFormat samOutputFormat,
htsjdk.samtools.SAMFileHeader header)
Merge part file shards produced by
KeyIgnoringAnySAMOutputFormat into a
single file with the given header. |
public static void mergeParts(String partDirectory, String outputFile, SAMFormat samOutputFormat, htsjdk.samtools.SAMFileHeader header) throws IOException
KeyIgnoringAnySAMOutputFormat into a
single file with the given header.partDirectory - the directory containing part filesoutputFile - the file to write the merged file tosamOutputFormat - the format (must be BAM or CRAM; SAM is not supported)header - the header for the merged fileIOExceptionCopyright © 2016. All rights reserved.