Package org.snpeff.coverage
Class CountReads
- java.lang.Object
-
- org.snpeff.coverage.CountReads
-
public class CountReads extends java.lang.ObjectCount how many reads map (from many SAM/BAM files) onto markers- Author:
- pcingola
-
-
Field Summary
Fields Modifier and Type Field Description static intSHOW_EVERY
-
Constructor Summary
Constructors Constructor Description CountReads(java.lang.String fileName, SnpEffectPredictor snpEffectPredictor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMarkerType(Marker marker, java.lang.String type)voidcount()Count markers from a fileCountByKey<Marker>getCountBases()intgetCountExceptions()CountByKey<Marker>getCountReads()intgetCountTotalReads()CountByTypegetCountTypes()java.util.ArrayList<CoverageByType>getCoverageByExons()CoverageByTypegetCoverageByType()MarkerTypesgetMarkerTypes()intgetReadLengthAvg()Average read lengthintgetReadLengthCount()longgetReadLengthSum()voidsetMarkerTypes(MarkerTypes markerTypes)voidsetVerbose(boolean verbose)
-
-
-
Constructor Detail
-
CountReads
public CountReads(java.lang.String fileName, SnpEffectPredictor snpEffectPredictor)
-
-
Method Detail
-
addMarkerType
public void addMarkerType(Marker marker, java.lang.String type)
-
count
public void count()
Count markers from a file
-
getCountBases
public CountByKey<Marker> getCountBases()
-
getCountExceptions
public int getCountExceptions()
-
getCountReads
public CountByKey<Marker> getCountReads()
-
getCountTotalReads
public int getCountTotalReads()
-
getCountTypes
public CountByType getCountTypes()
-
getCoverageByExons
public java.util.ArrayList<CoverageByType> getCoverageByExons()
-
getCoverageByType
public CoverageByType getCoverageByType()
-
getMarkerTypes
public MarkerTypes getMarkerTypes()
-
getReadLengthAvg
public int getReadLengthAvg()
Average read length- Returns:
-
getReadLengthCount
public int getReadLengthCount()
-
getReadLengthSum
public long getReadLengthSum()
-
setMarkerTypes
public void setMarkerTypes(MarkerTypes markerTypes)
-
setVerbose
public void setVerbose(boolean verbose)
-
-