Package picard.sam
Class CompareSAMs
- java.lang.Object
-
- picard.cmdline.CommandLineProgram
-
- picard.sam.CompareSAMs
-
@DocumentedFeature public class CompareSAMs extends CommandLineProgram
Rudimentary SAM comparer. Compares headers, and if headers are compatible enough, compares SAMRecords, looking only at basic alignment info. Summarizes the number of alignments that match, mismatch, are missing, etc.
-
-
Field Summary
Fields Modifier and Type Field Description List<File>samFiles-
Fields inherited from class picard.cmdline.CommandLineProgram
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 Summary
Constructors Constructor Description CompareSAMs()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanareEqual()protected intdoWork()Do the work after command line has been parsed.intgetMappingsDiffer()intgetMappingsMatch()intgetMissingLeft()intgetMissingRight()intgetUnmappedBoth()intgetUnmappedLeft()intgetUnmappedRight()static voidmain(String[] argv)-
Methods inherited from class picard.cmdline.CommandLineProgram
customCommandLineValidation, getCommandLine, getCommandLineParser, getDefaultHeaders, getFaqLink, getMetricsFile, getStandardUsagePreamble, getStandardUsagePreamble, getVersion, hasWebDocumentation, instanceMain, instanceMainWithExit, makeReferenceArgumentCollection, parseArgs, requiresReference, setDefaultHeaders, useLegacyParser
-
-
-
-
Method Detail
-
main
public static void main(String[] argv)
-
doWork
protected int doWork()
Do the work after command line has been parsed. RuntimeException may be thrown by this method, and are reported appropriately.- Specified by:
doWorkin classCommandLineProgram- Returns:
- program exit status.
-
getMappingsMatch
public int getMappingsMatch()
-
getUnmappedBoth
public int getUnmappedBoth()
-
getUnmappedLeft
public int getUnmappedLeft()
-
getUnmappedRight
public int getUnmappedRight()
-
getMappingsDiffer
public int getMappingsDiffer()
-
getMissingLeft
public int getMissingLeft()
-
getMissingRight
public int getMissingRight()
-
areEqual
public boolean areEqual()
-
-