public class IlluminaBasecallsToSam extends CommandLineProgram
Modifier and Type | Field and Description |
---|---|
List<IlluminaUtil.IlluminaAdapterPair> |
ADAPTERS_TO_CHECK |
boolean |
APPLY_EAMSS_FILTER |
File |
BARCODE_PARAMS |
File |
BARCODES_DIR |
File |
BASECALLS_DIR |
Integer |
FIRST_TILE |
Boolean |
FORCE_GC |
boolean |
INCLUDE_NON_PF_READS |
Integer |
LANE |
String |
LIBRARY_NAME |
File |
LIBRARY_PARAMS |
int |
MAX_READS_IN_RAM_PER_TILE |
int |
MINIMUM_QUALITY |
Integer |
NUM_PROCESSORS |
File |
OUTPUT |
String |
PLATFORM |
String |
READ_GROUP_ID |
String |
READ_STRUCTURE |
String |
RUN_BARCODE |
Date |
RUN_START_DATE |
String |
SAMPLE_ALIAS |
String |
SEQUENCING_CENTER |
Integer |
TILE_LIMIT |
static String |
USAGE |
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 |
---|
IlluminaBasecallsToSam() |
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[] args) |
getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
public static final String USAGE
@Option(doc="The barcodes directory with _barcode.txt files (generated by ExtractIlluminaBarcodes). If not set, use BASECALLS_DIR. ", shortName="BCD", optional=true) public File BARCODES_DIR
@Option(doc="Deprecated (use LIBRARY_PARAMS). The output SAM or BAM file. Format is determined by extension.", shortName="O", mutex={"BARCODE_PARAMS","LIBRARY_PARAMS"}) public File OUTPUT
@Option(doc="The barcode of the run. Prefixed to read names.") public String RUN_BARCODE
@Option(doc="Deprecated (use LIBRARY_PARAMS). The name of the sequenced sample", shortName="ALIAS", mutex={"BARCODE_PARAMS","LIBRARY_PARAMS"}) public String SAMPLE_ALIAS
@Option(doc="ID used to link RG header record with RG tag in SAM record. If these are unique in SAM files that get merged, merge performance is better. If not specified, READ_GROUP_ID will be set to. .", shortName="RG", optional=true) public String READ_GROUP_ID
@Option(doc="Deprecated (use LIBRARY_PARAMS). The name of the sequenced library", shortName="LIB", optional=true, mutex={"BARCODE_PARAMS","LIBRARY_PARAMS"}) public String LIBRARY_NAME
@Option(doc="The name of the sequencing center that produced the reads. Used to set the RG.CN tag.", optional=true) public String SEQUENCING_CENTER
@Option(doc="The name of the sequencing technology that produced the read.", optional=true) public String PLATFORM
@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.", shortName="RS") public String READ_STRUCTURE
@Option(doc="Deprecated (use LIBRARY_PARAMS). Tab-separated file for creating all output BAMs for barcoded run with single IlluminaBasecallsToSam invocation. Columns are BARCODE, OUTPUT, SAMPLE_ALIAS, and LIBRARY_NAME. Row with BARCODE=N is used to specify a file for no barcode match", mutex={"OUTPUT","SAMPLE_ALIAS","LIBRARY_NAME","LIBRARY_PARAMS"}) public File BARCODE_PARAMS
@Option(doc="Tab-separated file for creating all output BAMs for a lane with single IlluminaBasecallsToSam invocation. The columns are OUTPUT, SAMPLE_ALIAS, and LIBRARY_NAME, BARCODE_1, BARCODE_2 ... BARCODE_X where X = number of barcodes per cluster (optional). Row with BARCODE_1 set to \'N\' is used to specify a file for no barcode match. You may also provide any 2 letter RG header attributes (excluding PU, CN, PL, and DT) as columns in this file and the values for those columns will be inserted into the RG tag for the BAM file created for a given row.", mutex={"OUTPUT","SAMPLE_ALIAS","LIBRARY_NAME","BARCODE_PARAMS"}) public File LIBRARY_PARAMS
@Option(doc="Which adapters to look for in the read.") public List<IlluminaUtil.IlluminaAdapterPair> ADAPTERS_TO_CHECK
@Option(doc="The number of threads to run in parallel. If NUM_PROCESSORS = 0, number of cores is automatically set to the number of cores available on the machine. If NUM_PROCESSORS < 0, then the number of cores used will be the number available on the machine less NUM_PROCESSORS.") public Integer NUM_PROCESSORS
@Option(doc="If set, this is the first tile to be processed (used for debugging). Note that tiles are not processed in numerical order.", optional=true) public Integer FIRST_TILE
@Option(doc="If set, process no more than this many tiles (used for debugging).", optional=true) public Integer TILE_LIMIT
@Option(doc="If true, call System.gc() periodically. This is useful in cases in which the -Xmx value passed is larger than the available memory.") public Boolean FORCE_GC
@Option(doc="Apply EAMSS filtering to identify inappropriately quality scored bases towards the ends of reads and convert their quality scores to Q2.") public boolean APPLY_EAMSS_FILTER
@Option(doc="Configure SortingCollections to store this many records before spilling to disk. For an indexed run, each SortingCollection gets this value/number of indices.") public int MAX_READS_IN_RAM_PER_TILE
@Option(doc="The minimum quality (after transforming 0s to 1s) expected from reads. If qualities are lower than this value, an error is thrown.The default of 2 is what the Illumina\'s spec describes as the minimum, but in practice the value has been observed lower.") public int MINIMUM_QUALITY
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram
public static void main(String[] args)
protected String[] customCommandLineValidation()
customCommandLineValidation
in class CommandLineProgram