

Public Member Functions | |
| OverviewFileWriter (SegmentDataProcessor proc) | |
| void | printGeneInformation () |
| void | writeHeaderInfo () |
Static Public Attributes | |
| final String | NUM_BASE_PAIRS = "num_bp" |
| final String | NUMBER_GENES = "num_genes" |
| final String | NUMBER_ISLANDS = "num_islands" |
| final String | PERCENT_TOTAL = "percent" |
| final String | UNKNOWN = "unknown" |
Protected Member Functions | |
| String | getData (int column, int row) |
| Returns the data that should be printed in the specified row and column. | |
| void | initSubClassParticulars (Hashtable args) |
| Convenience method for inheriting classes to set variables necessary from the constructor. | |
| boolean | moreRowsToPrint () |
| called from printData. | |
| void | performCalculations () |
| Vector | setColumnHeaders () |
| Gets the names of the columns. | |
| void | setMinSize () |
| boolean | shouldPrintRow (int row) |
Protected Attributes | |
| long[] | bp_data |
| long | cur_multiplicity |
| double[] | double_totals |
| Segment[] | firsts |
| int[][] | gene_data |
| int[] | island_data |
| long[] | lengths |
| long[] | long_totals |
| int | min_size |
| int[] | num_genes |
| int[] | num_segments |
| SegmentDataProcessor | processor |
| int | sequence |
| int | total |
|
|
Definition at line 37 of file OverviewFileWriter.java. |
|
||||||||||||
|
Returns the data that should be printed in the specified row and column. It is up to sub-classes to track where to get the data from, as the format is not intended to be standardized.
Implements org::gel::mauve::summary::output::AbstractTabbedDataWriter. Definition at line 115 of file OverviewFileWriter.java. References bp_data, double_totals, gene_data, island_data, lengths, long_totals, num_genes, num_segments, and total. |
|
|
Convenience method for inheriting classes to set variables necessary from the constructor.
Reimplemented from org::gel::mauve::summary::output::AbstractTabbedDataWriter. Definition at line 41 of file OverviewFileWriter.java. References bp_data, cur_multiplicity, org::gel::mauve::summary::output::AbstractTabbedDataWriter::doneWritingFile(), gene_data, island_data, lengths, num_genes, num_segments, printGeneInformation(), setMinSize(), and writeHeaderInfo(). |
|
|
called from printData. Used to determine when to stop attempting to print rows.
Implements org::gel::mauve::summary::output::AbstractTabbedDataWriter. Definition at line 190 of file OverviewFileWriter.java. References bp_data, cur_multiplicity, double_totals, island_data, long_totals, num_genes, performCalculations(), and total. Referenced by printGeneInformation(). |
|
|
Definition at line 68 of file OverviewFileWriter.java. References bp_data, org::gel::mauve::analysis::Segment::END, org::gel::mauve::analysis::Segment::getSegmentLength(), island_data, org::gel::mauve::analysis::Segment::multiplicityType(), org::gel::mauve::analysis::Segment::nexts, and num_segments. Referenced by moreRowsToPrint(). |
|
|
Definition at line 107 of file OverviewFileWriter.java. References moreRowsToPrint(), org::gel::mauve::summary::output::AbstractTabbedDataWriter::printData(), and org::gel::mauve::summary::output::AbstractTabbedDataWriter::printHeaders(). Referenced by initSubClassParticulars(). |
|
|
Gets the names of the columns.
Implements org::gel::mauve::summary::output::AbstractTabbedDataWriter. Definition at line 214 of file OverviewFileWriter.java. References double_totals, long_totals, NUM_BASE_PAIRS, NUMBER_GENES, NUMBER_ISLANDS, and PERCENT_TOTAL. |
|
|
Definition at line 62 of file OverviewFileWriter.java. Referenced by initSubClassParticulars(). |
|
|
Implements org::gel::mauve::summary::output::AbstractTabbedDataWriter. Definition at line 228 of file OverviewFileWriter.java. References cur_multiplicity, and island_data. |
|
|
Definition at line 80 of file OverviewFileWriter.java. Referenced by initSubClassParticulars(). |
|
|
Definition at line 23 of file OverviewFileWriter.java. Referenced by getData(), initSubClassParticulars(), moreRowsToPrint(), and performCalculations(). |
|
|
Definition at line 34 of file OverviewFileWriter.java. Referenced by initSubClassParticulars(), moreRowsToPrint(), and shouldPrintRow(). |
|
|
Definition at line 25 of file OverviewFileWriter.java. Referenced by getData(), moreRowsToPrint(), and setColumnHeaders(). |
|
|
Definition at line 30 of file OverviewFileWriter.java. |
|
|
Definition at line 21 of file OverviewFileWriter.java. Referenced by getData(), and initSubClassParticulars(). |
|
|
Definition at line 22 of file OverviewFileWriter.java. Referenced by getData(), initSubClassParticulars(), moreRowsToPrint(), performCalculations(), and shouldPrintRow(). |
|
|
Definition at line 29 of file OverviewFileWriter.java. Referenced by getData(), and initSubClassParticulars(). |
|
|
Definition at line 24 of file OverviewFileWriter.java. Referenced by getData(), moreRowsToPrint(), and setColumnHeaders(). |
|
|
Definition at line 35 of file OverviewFileWriter.java. |
|
|
Definition at line 17 of file OverviewFileWriter.java. Referenced by setColumnHeaders(). |
|
|
Definition at line 27 of file OverviewFileWriter.java. Referenced by getData(), initSubClassParticulars(), and moreRowsToPrint(). |
|
|
Definition at line 28 of file OverviewFileWriter.java. Referenced by getData(), initSubClassParticulars(), and performCalculations(). |
|
|
Definition at line 15 of file OverviewFileWriter.java. Referenced by setColumnHeaders(). |
|
|
Definition at line 16 of file OverviewFileWriter.java. Referenced by setColumnHeaders(). |
|
|
Definition at line 18 of file OverviewFileWriter.java. Referenced by setColumnHeaders(). |
|
|
Definition at line 13 of file OverviewFileWriter.java. |
|
|
Definition at line 32 of file OverviewFileWriter.java. |
|
|
Definition at line 33 of file OverviewFileWriter.java. Referenced by getData(), and moreRowsToPrint(). |
|
|
Definition at line 19 of file OverviewFileWriter.java. |
1.3.6