@DocumentedFeature public class CreateSequenceDictionary extends CommandLineProgram
| Modifier and Type | Class | Description |
|---|---|---|
static class |
CreateSequenceDictionary.CreateSeqDictReferenceArgumentCollection |
| Modifier and Type | Field | Description |
|---|---|---|
String |
GENOME_ASSEMBLY |
|
int |
NUM_SEQUENCES |
|
File |
OUTPUT |
|
String |
SPECIES |
|
boolean |
TRUNCATE_NAMES_AT_WHITESPACE |
|
String |
URI |
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 |
|---|---|
CreateSequenceDictionary() |
| Modifier and Type | Method | Description |
|---|---|---|
protected String[] |
customCommandLineValidation() |
Use reference filename to create URI to go into header if URI was not passed on cmd line.
|
protected int |
doWork() |
Do the work after command line has been parsed.
|
static void |
main(String[] argv) |
|
protected ReferenceArgumentCollection |
makeReferenceArgumentCollection() |
|
htsjdk.samtools.SAMSequenceDictionary |
makeSequenceDictionary(File referenceFile) |
Deprecated.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser@Argument(doc="Output SAM file containing only the sequence dictionary. By default it will use the base name of the input reference with the .dict extension",
shortName="O",
optional=true)
public File OUTPUT
@Argument(shortName="AS",
doc="Put into AS field of sequence dictionary entry if supplied",
optional=true)
public String GENOME_ASSEMBLY
@Argument(shortName="UR",
doc="Put into UR field of sequence dictionary entry. If not supplied, input reference file is used",
optional=true)
public String URI
@Argument(shortName="SP",
doc="Put into SP field of sequence dictionary entry",
optional=true)
public String SPECIES
@Argument(doc="Make sequence name the first word from the > line in the fasta file. By default the entire contents of the > line is used, excluding leading and trailing whitespace.") public boolean TRUNCATE_NAMES_AT_WHITESPACE
@Argument(doc="Stop after writing this many sequences. For testing.") public int NUM_SEQUENCES
public static void main(String[] argv)
@Deprecated public htsjdk.samtools.SAMSequenceDictionary makeSequenceDictionary(File referenceFile)
referenceFile - fasta or fasta.gzprotected String[] customCommandLineValidation()
customCommandLineValidation in class CommandLineProgramprotected ReferenceArgumentCollection makeReferenceArgumentCollection()
makeReferenceArgumentCollection in class CommandLineProgramprotected int doWork()
doWork in class CommandLineProgram