java.lang.Object
org.broadinstitute.hellbender.tools.funcotator.OutputRenderer
org.broadinstitute.hellbender.tools.funcotator.simpletsvoutput.SimpleTsvOutputRenderer
All Implemented Interfaces:
AutoCloseable

public class SimpleTsvOutputRenderer extends OutputRenderer
This class is very versatile, but as a result, it must do some lazy loading after it receives the first write command. IMPORTANT: If this class is not given any command to write(...), the output file will be empty. This class assumes that funcotation maps will have the same fields regardless of allele. This class makes no attempt to render VariantContext attribues. Any VC attributes must be converted into a Funcotation (and added to the FuncotationMap) before calling write(...). This class will append a funcotation for the locatable data. This will use the field names: LocatableFuncotationCreator.CONTIG_FIELD_NAME, LocatableFuncotationCreator.START_FIELD_NAME, and LocatableFuncotationCreator.END_FIELD_NAME If you want the output file to have locatable data in different fields, make sure the alias file maps these to the preferred field name in the output. Sorting of columns is based on the config file: - Columns from the config file in order as appearing in the config file. - Remaining default, override, and funcotation fields in natural/alphanumberical order (e.g. FIELD1, FIELD2, FIELD10). Note that remaining funcotation fields will not appear when `isWriteFuncotationFieldsNotInConfig` is `false` "Remaining" means fields that did not appear in the config file (as a column name nor as an alias) If this output renderer does not actually render any variants, it will not necessarily have the same columns as when there actually are variants. Please note that `isWriteFuncotationFieldsNotInConfig` = false will have the same column list in these cases, but there are other caveats, since leftover funcotation fields will not be written ever.