Package org.snpeff.coverage
Class CountReadsOnMarkers
java.lang.Object
org.snpeff.coverage.CountReadsOnMarkers
Count how many reads map (from many SAM/BAM files) onto markers
- Author:
- pcingola
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic booleanstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd a SAM/BAM file to be processedvoidaddMarkerType(Marker marker, String type) voidcount()Count markers from all filesintAverage read lengthhtml()Show charts in htmlprobabilityTable(CountByType prob) Show probabilitiesvoidsetVerbose(boolean verbose) toString()Print table to STDOUT
-
Field Details
-
SHOW_EVERY
public static final int SHOW_EVERY- See Also:
-
MAX_EXONS_CHART
public static final int MAX_EXONS_CHART- See Also:
-
debug
public static boolean debug
-
-
Constructor Details
-
CountReadsOnMarkers
-
-
Method Details
-
addFile
Add a SAM/BAM file to be processed- Parameters:
samFileName-
-
addMarkerType
-
count
public void count()Count markers from all files -
getMarkerTypes
-
getReadLengthAvg
public int getReadLengthAvg()Average read length- Returns:
-
html
Show charts in html- Returns:
-
probabilityTable
Show probabilities- Parameters:
prob- : Probabilities for each- Returns:
- A string showing a tab delimited table
-
setVerbose
public void setVerbose(boolean verbose) -
toString
Print table to STDOUT
-