public class CrosscheckReadGroupFingerprints extends CommandLineProgram
Modifier and Type | Field | Description |
---|---|---|
boolean |
ALLOW_DUPLICATE_READS |
|
boolean |
CROSSCHECK_LIBRARIES |
|
boolean |
CROSSCHECK_SAMPLES |
|
int |
EXIT_CODE_WHEN_MISMATCH |
|
boolean |
EXPECT_ALL_READ_GROUPS_TO_MATCH |
|
static String |
EXPECTED_MATCH |
|
static String |
EXPECTED_MISMATCH |
|
double |
GENOTYPING_ERROR_RATE |
|
File |
HAPLOTYPE_MAP |
|
List<File> |
INPUT |
|
double |
LOD_THRESHOLD |
|
double |
LOSS_OF_HET_RATE |
|
int |
NUM_THREADS |
|
File |
OUTPUT |
|
boolean |
OUTPUT_ERRORS_ONLY |
|
static String |
UNEXPECTED_MATCH |
|
static String |
UNEXPECTED_MISMATCH |
COMPRESSION_LEVEL, CREATE_INDEX, CREATE_MD5_FILE, GA4GH_CLIENT_SECRETS, MAX_RECORDS_IN_RAM, QUIET, REFERENCE_SEQUENCE, TMP_DIR, VALIDATION_STRINGENCY, VERBOSITY
Constructor | Description |
---|---|
CrosscheckReadGroupFingerprints() |
Modifier and Type | Method | Description |
---|---|---|
protected int |
doWork() |
Do the work after command line has been parsed.
|
static void |
main(String[] args) |
Stock main method.
|
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getMetricsFile, getNestedOptions, getNestedOptionsForHelp, getStandardUsagePreamble, getVersion, instanceMain, instanceMainWithExit, parseArgs, setDefaultHeaders
@Option(shortName="I", doc="One or more input BAM files (or lists of BAM files) to compare fingerprints for.") public List<File> INPUT
@Option(shortName="O", optional=true, doc="Optional output file to write metrics to. Default is to write to stdout.") public File OUTPUT
@Option(shortName="H", doc="The file of haplotype data to use to pick SNPs to fingerprint") public File HAPLOTYPE_MAP
@Option(shortName="LOD", doc="If any two read groups match with a LOD score lower than the threshold the program will exit with a non-zero code to indicate error. 0 means equal probability the read groups match vs. come from different individuals, negative numbers mean N logs more likely that the read groups are from different individuals and positive numbers mean N logs more likely that the read groups are from the sample individual.") public double LOD_THRESHOLD
@Option(doc="Instead of producing the normal comparison of read-groups, roll fingerprints up to the sample level and print out a sample x sample matrix with LOD scores.") public boolean CROSSCHECK_SAMPLES
@Option(doc="Instead of producing the normal comparison of read-groups, roll fingerprints up to the library level and print out a library x library matrix with LOD scores.") public boolean CROSSCHECK_LIBRARIES
@Option(doc="The number of threads to use to process BAM files and generate Fingerprints.") public int NUM_THREADS
@Option(doc="Allow the use of duplicate reads in performing the comparison. Can be useful when duplicate marking has been overly aggressive and coverage is low.") public boolean ALLOW_DUPLICATE_READS
@Option(doc="Assumed genotyping error rate that provides a floor on the probability that a genotype comes from the expected sample.") public double GENOTYPING_ERROR_RATE
@Option(doc="If true then only read groups that do not relate to each other as expected will have their LODs reported.") public boolean OUTPUT_ERRORS_ONLY
@Option(doc="The rate at which a het in a normal sample turns into a hom in the tumor.", optional=true) public double LOSS_OF_HET_RATE
@Option(doc="Expect all read groups\' fingerprints to match, irrespective of their sample names. By default (with this value set to false), read groups with different sample names are expected to mismatch, and those with the same sample name are expected to match.") public boolean EXPECT_ALL_READ_GROUPS_TO_MATCH
@Option(doc="When one or more mismatches between read groups are detected, exit with this value instead of 0.") public int EXIT_CODE_WHEN_MISMATCH
public static final String EXPECTED_MATCH
public static final String EXPECTED_MISMATCH
public static final String UNEXPECTED_MATCH
public static final String UNEXPECTED_MISMATCH
public static void main(String[] args)
protected int doWork()
CommandLineProgram
doWork
in class CommandLineProgram