public class GeneAnnotationParser extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
GeneAnnotationParser.Format |
| Constructor and Description |
|---|
GeneAnnotationParser(GeneSetTerms geneSets) |
GeneAnnotationParser(GeneSetTerms geneSets,
StatusViewer messenger) |
| Modifier and Type | Method and Description |
|---|---|
GeneAnnotations |
read(InputStream i,
GeneAnnotationParser.Format format,
SettingsHolder settings) |
GeneAnnotations |
read(String fileName,
GeneAnnotationParser.Format format,
Settings settings) |
protected GeneAnnotations |
readAffyCsv(InputStream bis,
Set<String> activeGenes,
SettingsHolder settings)
Parse affy formatted files (CSV or tabbed should be okay)
|
protected GeneAnnotations |
readAgilent(InputStream bis,
Set<String> activeGenes,
SettingsHolder settings) |
GeneAnnotations |
readDefault(InputStream bis,
Collection<Gene> activeGenes,
SettingsHolder settings,
boolean simple)
Main default reading method.
|
GeneAnnotations |
readDefault(String fileName,
Collection<Gene> genes,
SettingsHolder settings,
boolean simple) |
void |
setFilterNonSpecific(boolean b) |
public GeneAnnotationParser(GeneSetTerms geneSets)
public GeneAnnotationParser(GeneSetTerms geneSets, StatusViewer messenger)
public GeneAnnotations read(InputStream i, GeneAnnotationParser.Format format, SettingsHolder settings) throws IOException
i - format - settings - IOExceptionpublic GeneAnnotations read(String fileName, GeneAnnotationParser.Format format, Settings settings) throws IOException
fileName - format - settings - IOExceptionpublic GeneAnnotations readDefault(InputStream bis, Collection<Gene> activeGenes, SettingsHolder settings, boolean simple) throws IOException
bis - genes - settings - simple - If true, assume two-column format with GO terms pipe-delimited in column 2, and only one gene per
row (no ABC|ABC2 stuff)IOExceptionpublic GeneAnnotations readDefault(String fileName, Collection<Gene> genes, SettingsHolder settings, boolean simple) throws IOException
fileName - genes - Annotations for genes other than these will be ignored.settings - simple - IOExceptionpublic void setFilterNonSpecific(boolean b)
protected GeneAnnotations readAffyCsv(InputStream bis, Set<String> activeGenes, SettingsHolder settings) throws IOException
bis - object - IOExceptionprotected GeneAnnotations readAgilent(InputStream bis, Set<String> activeGenes, SettingsHolder settings) throws IOException
bis - settings - IOExceptionCopyright © 2002-2013 UBC Centre for High-Throughput Biology. All Rights Reserved.