public class CheckIlluminaDirectory extends CommandLineProgram
Modifier and Type | Field and Description |
---|---|
File |
BASECALLS_DIR |
Set<IlluminaDataType> |
DATA_TYPES |
Boolean |
FAKE_FILES |
List<Integer> |
LANES |
Boolean |
LINK_LOCS |
String |
READ_STRUCTURE |
List<Integer> |
TILE_NUMBERS |
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 |
---|
CheckIlluminaDirectory() |
Modifier and Type | Method and Description |
---|---|
protected String[] |
customCommandLineValidation()
Put any custom command-line validation in an override of this method.
|
protected int |
doWork()
Do the work after command line has been parsed.
|
static void |
main(String[] argv)
Required main method implementation.
|
getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(doc="The basecalls output directory. ", shortName="B") public File BASECALLS_DIR
@Option(doc="The data types that should be checked for each tile/cycle. If no values are provided then the data types checked are those required by IlluminaBaseCallsToSam (which is a superset of those used in ExtractIlluminaBarcodes). These data types vary slightly depending on whether or not the run is barcoded so READ_STRUCTURE should be the same as that which will be passed to IlluminaBasecallsToSam. If this option is left unspecified then both ExtractIlluminaBarcodes and IlluminaBaseCallsToSam should complete successfully UNLESS the individual records of the files themselves are spurious.", shortName="DT", optional=true) public final Set<IlluminaDataType> DATA_TYPES
@Option(doc="A description of the logical structure of clusters in an Illumina Run, i.e. a description of the structure IlluminaBasecallsToSam assumes the data to be in. It should consist of integer/character pairs describing the number of cycles and the type of those cycles (B for Barcode, T for Template, and S for skip). E.g. If the input data consists of 80 base clusters and we provide a read structure of \"36T8B8S28T\" then, before being converted to SAM records those bases will be split into 4 reads where read one consists of 36 cycles of template, read two consists of 8 cycles of barcode, read three will be an 8 base read of skipped cycles and read four is another 28 cycle template read. The read consisting of skipped cycles would NOT be included in output SAM/BAM file read groups. Note: If you want to check whether or not a future IlluminaBasecallsToSam or ExtractIlluminaBarcodes run will fail then be sure to use the exact same READ_STRUCTURE that you would pass to these programs for this run.", shortName="RS") public String READ_STRUCTURE
@Option(doc="The number of the lane(s) to check. ", shortName="L", minElements=1) public List<Integer> LANES
@Option(doc="The number(s) of the tile(s) to check. ", shortName="T", optional=true) public List<Integer> TILE_NUMBERS
@Option(doc="A flag to determine whether or not to create fake versions of the missing files.", shortName="F", optional=true) public Boolean FAKE_FILES
public static void main(String[] argv)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
protected String[] customCommandLineValidation()
CommandLineProgram
customCommandLineValidation
in class CommandLineProgram