public class ReorderSam extends CommandLineProgram
Modifier and Type | Field and Description |
---|---|
boolean |
ALLOW_CONTIG_LENGTH_DISCORDANCE |
boolean |
ALLOW_INCOMPLETE_DICT_CONCORDANCE |
java.io.File |
INPUT |
java.io.File |
OUTPUT |
java.io.File |
REFERENCE |
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 |
---|
ReorderSam() |
Modifier and Type | Method and Description |
---|---|
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(java.lang.String[] argv)
Required main method implementation.
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="I", doc="Input file (bam or sam) to extract reads from.") public java.io.File INPUT
@Option(shortName="O", doc="Output file (bam or sam) to write extracted reads to.") public java.io.File OUTPUT
@Option(shortName="R", doc="Reference sequence to reorder reads to match. A sequence dictionary corresponding to the reference fasta is required. Create one with CreateSequenceDictionary.jar.") public java.io.File REFERENCE
@Option(shortName="S", doc="If true, then allows only a partial overlap of the BAM contigs with the new reference sequence contigs. By default, this tool requires a corresponding contig in the new reference for each read contig") public boolean ALLOW_INCOMPLETE_DICT_CONCORDANCE
public static void main(java.lang.String[] argv)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram