@DocumentedFeature public class ReorderSam extends CommandLineProgram
java -jar picard.jar ReorderSam \ INPUT=sample.bam \ OUTPUT=reordered.bam \ SEQUENCE_DICTIONARY=reference_with_different_order.dict
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 |
SEQUENCE_DICTIONARY |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_ALLOWABLE_ONE_LINE_SUMMARY_LENGTH, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, 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.
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser
@Argument(shortName="I", doc="Input file (SAM or BAM) to extract reads from.") public java.io.File INPUT
@Argument(shortName="O", doc="Output file (SAM or BAM) to write extracted reads to.") public java.io.File OUTPUT
@Argument(shortName="SD", doc="A Sequence Dictionary for the OUTPUT file (can be read from one of the following file types (SAM, BAM, VCF, BCF, Interval List, Fasta, or Dict)") public java.io.File SEQUENCE_DICTIONARY
@Argument(shortName="S", doc="If true, allows only a partial overlap of the original 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
@Argument(shortName="U", doc="If true, then permits mapping from a read contig to a new reference contig with the same name but a different length. Highly dangerous, only use if you know what you are doing.") public boolean ALLOW_CONTIG_LENGTH_DISCORDANCE
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram