public class FixMateInformation extends CommandLineProgram
Modifier and Type | Field and Description |
---|---|
java.lang.Boolean |
ADD_MATE_CIGAR |
boolean |
ASSUME_SORTED |
java.lang.Boolean |
IGNORE_MISSING_MATES |
java.util.List<java.io.File> |
INPUT |
protected htsjdk.samtools.SAMFileWriter |
out |
java.io.File |
OUTPUT |
htsjdk.samtools.SAMFileHeader.SortOrder |
SORT_ORDER |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY
Constructor and Description |
---|
FixMateInformation() |
Modifier and Type | Method and Description |
---|---|
protected void |
closeWriter() |
protected void |
createSamFileWriter(htsjdk.samtools.SAMFileHeader header) |
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] args) |
protected void |
writeAlignment(htsjdk.samtools.SAMRecord sam) |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="I", doc="The input file to check and fix.") public java.util.List<java.io.File> INPUT
@Option(shortName="O", optional=true, doc="The output file to write to. If no output file is supplied, the input file is overwritten.") public java.io.File OUTPUT
@Option(shortName="SO", optional=true, doc="Optional sort order if the OUTPUT file should be sorted differently than the INPUT file.") public htsjdk.samtools.SAMFileHeader.SortOrder SORT_ORDER
@Option(doc="If true, assume that the input file is queryname sorted, even if the header says otherwise.", shortName="AS") public boolean ASSUME_SORTED
@Option(shortName="MC", optional=true, doc="Adds the mate CIGAR tag (MC) if true, does not if false.") public java.lang.Boolean ADD_MATE_CIGAR
@Option(doc="If true, ignore missing mates, otherwise will throw an exception when missing mates are found.", optional=true) public java.lang.Boolean IGNORE_MISSING_MATES
protected htsjdk.samtools.SAMFileWriter out
public static void main(java.lang.String[] args)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
protected void createSamFileWriter(htsjdk.samtools.SAMFileHeader header)
protected void writeAlignment(htsjdk.samtools.SAMRecord sam)
protected void closeWriter()