public class GenomicDataBuilder extends GenomicDataAssembler
GenomicDataStructures.WsReadStructure
CHIMERIC_STANDARD_THRESHOLD, CHIMERIC_STROBE_THRESHOLD, LANE_EXTRA_DISTANCE, MAX_ORDINATE_PILEUP
BASE_DELETION, BASE_LEFT_INSERTION, BASE_MATCH, BASE_POS_INSERTION, BASE_RIGHT_INSERTION, BASE_SVN
Constructor and Description |
---|
GenomicDataBuilder() |
Modifier and Type | Method and Description |
---|---|
protected WsResults |
assembleReads(WsResults results,
int mode,
java.util.List<WsRead> alignedReads,
boolean isStrobe,
boolean isV12,
long start_time,
int client_contig_index,
long start,
long end,
long total_bases)
analyze and pile-up reads, create structure info and results metadata
|
protected WsResults |
copyResults(WsResults results,
java.util.List<WsRead> alignedReads) |
protected WsResults |
copyResults(WsResults results,
java.util.List<WsRead> alignedReads,
java.util.List<RawRead> raw_reads,
float metrics_factor,
int mode)
copy as basic array from arraylist
|
protected java.util.ArrayList<RawRead> |
gatherBasesData(CMPH5File cmp_h5_file,
java.util.ArrayList<WsRead> alignedReads,
AlignmentIndexTable table,
long start,
long end,
int mode) |
protected float |
gatherMetricsData(CMPH5File cmp_h5_file,
java.util.ArrayList<WsRead> alignedReads,
java.util.ArrayList<RawRead> raw_reads,
AlignmentIndexTable table,
long start,
long end,
int mode) |
protected WsResults |
getReadsDataFromFile(java.lang.String url,
java.lang.String contig_id,
int client_contig_index,
long start,
long end,
int mode)
getAlignedReadsFromFile
|
protected WsResults |
getReadsDataWithInsertionsFromFile(java.lang.String url,
java.lang.String contig_id,
int client_contig_index,
long start,
long end,
int mode) |
protected WsResults |
prepareResults(WsResults results,
int mode,
java.util.ArrayList<WsRead> alignedReads,
boolean isStrobe,
boolean isV12,
long start_time,
int client_contig_index,
long start,
long end,
long total_bases) |
protected void |
removeDataAboveThreshold(WsResults results,
java.util.List<WsRead> alignedReads,
int mode)
eventually remove reads and structures with lane above max coverage threshold
|
protected void |
updateIOTimeStats(WsResults results,
long start_time) |
assembleResultsWithoutStructures, assembleResultsWithStructures, createGraphLinesStructure, createGraphLinksStructure, createGraphNodesStructure, createGraphStructure, PileUpResultsWithoutStructure, PileUpResultsWithoutStructureForBaseMods, PileUpResultsWithStructures
buildStats, createFromRawRead, createFromRawReadWithInsertions, reverse, reverse, reverse, reverseRawRead, setQVValue, updateMetricsFromRawRead
protected WsResults getReadsDataFromFile(java.lang.String url, java.lang.String contig_id, int client_contig_index, long start, long end, int mode)
url
- contig_id
- client_contig_index
- start
- end
- protected WsResults copyResults(WsResults results, java.util.List<WsRead> alignedReads, java.util.List<RawRead> raw_reads, float metrics_factor, int mode)
results
- alignedReads
- protected java.util.ArrayList<RawRead> gatherBasesData(CMPH5File cmp_h5_file, java.util.ArrayList<WsRead> alignedReads, AlignmentIndexTable table, long start, long end, int mode)
cmp_h5_file
- alignedReads
- table
- start
- end
- mode
- protected float gatherMetricsData(CMPH5File cmp_h5_file, java.util.ArrayList<WsRead> alignedReads, java.util.ArrayList<RawRead> raw_reads, AlignmentIndexTable table, long start, long end, int mode)
cmp_h5_file
- alignedReads
- table
- start
- end
- mode
- protected WsResults prepareResults(WsResults results, int mode, java.util.ArrayList<WsRead> alignedReads, boolean isStrobe, boolean isV12, long start_time, int client_contig_index, long start, long end, long total_bases)
results
- mode
- alignedReads
- isStrobe
- isV12
- start_time
- client_contig_index
- start
- end
- total_bases
- protected WsResults assembleReads(WsResults results, int mode, java.util.List<WsRead> alignedReads, boolean isStrobe, boolean isV12, long start_time, int client_contig_index, long start, long end, long total_bases)
results
- mode
- alignedReads
- isStrobe
- isV12
- start_time
- client_contig_index
- start
- end
- total_bases
- protected void removeDataAboveThreshold(WsResults results, java.util.List<WsRead> alignedReads, int mode)
results
- alignedReads
- mode
- protected void updateIOTimeStats(WsResults results, long start_time)
results
- start_time
- protected WsResults getReadsDataWithInsertionsFromFile(java.lang.String url, java.lang.String contig_id, int client_contig_index, long start, long end, int mode)
url
- contig_id
- client_contig_index
- start
- end
- mode
- Copyright © 2010-2014 Pacific Biosciences. All Rights Reserved.