public class FixMateInformation extends CommandLineProgram
Modifier and Type | Field and Description |
---|---|
Boolean |
ADD_MATE_CIGAR |
boolean |
ASSUME_SORTED |
Boolean |
IGNORE_MISSING_MATES |
List<File> |
INPUT |
protected SAMFileWriter |
out |
File |
OUTPUT |
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(SAMFileHeader header) |
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(String[] args) |
protected void |
writeAlignment(SAMRecord sam) |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="O", optional=true, doc="The output file to write to. If no output file is supplied, the input file is overwritten.") public File OUTPUT
@Option(shortName="SO", optional=true, doc="Optional sort order if the OUTPUT file should be sorted differently than the INPUT file.") public 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 Boolean ADD_MATE_CIGAR
@Option(doc="If true, ignore missing mates, otherwise will throw an exception when missing mates are found.", optional=true) public Boolean IGNORE_MISSING_MATES
protected SAMFileWriter out
public static void main(String[] args)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
protected void createSamFileWriter(SAMFileHeader header)
protected void writeAlignment(SAMRecord sam)
protected void closeWriter()