@DocumentedFeature public class ReorderSam extends CommandLineProgram
java -jar picard.jar ReorderSam \
INPUT=sample.bam \
OUTPUT=reordered.bam \
REFERENCE=reference_with_different_order.fasta
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ReorderSam.ReorderSamReferenceArgumentCollection |
| Modifier and Type | Field | Description |
|---|---|---|
boolean |
ALLOW_CONTIG_LENGTH_DISCORDANCE |
|
boolean |
ALLOW_INCOMPLETE_DICT_CONCORDANCE |
|
File |
INPUT |
|
File |
OUTPUT |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, referenceSequence, specialArgumentsCollection, TMP_DIR, USE_JDK_DEFLATER, USE_JDK_INFLATER, VALIDATION_STRINGENCY, VERBOSITY| Constructor | Description |
|---|---|
ReorderSam() |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
doWork() |
Do the work after command line has been parsed.
|
protected ReferenceArgumentCollection |
makeReferenceArgumentCollection() |
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser@Argument(shortName="I",
doc="Input file (SAM or BAM) to extract reads from.")
public File INPUT
@Argument(shortName="O",
doc="Output file (SAM or BAM) to write extracted reads to.")
public File OUTPUT
@Argument(shortName="S",
doc="If true, then 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 ReferenceArgumentCollection makeReferenceArgumentCollection()
makeReferenceArgumentCollection in class CommandLineProgramprotected int doWork()
CommandLineProgramdoWork in class CommandLineProgram