public class AssociationParser extends Object
Association,
www.geneontology.org| Constructor and Description |
|---|
AssociationParser(IParserInput input,
TermMap terms)
Construct the association parser object.
|
AssociationParser(IParserInput input,
TermMap terms,
HashSet<ByteString> names)
Construct the association parser object.
|
AssociationParser(IParserInput input,
TermMap terms,
HashSet<ByteString> names,
Collection<String> evidences,
IAssociationParserProgress progress)
Construct the association parser object.
|
AssociationParser(IParserInput input,
TermMap terms,
HashSet<ByteString> names,
Collection<String> evidences,
IAssociationParserProgress progress,
boolean iterative)
Construct the association parser object.
|
AssociationParser(IParserInput input,
TermMap terms,
HashSet<ByteString> names,
IAssociationParserProgress progress)
Construct the association parser object.
|
| Modifier and Type | Method and Description |
|---|---|
AnnotationContext |
getAnnotationMapping() |
ArrayList<Association> |
getAssociations() |
ontologizer.io.annotation.AssociationParser.Type |
getFileType() |
List<ByteString> |
getListOfObjectSymbols() |
boolean |
parse()
Start or continue to parse the associations.
|
public AssociationParser(IParserInput input, TermMap terms) throws IOException
input - terms - IOExceptionpublic AssociationParser(IParserInput input, TermMap terms, HashSet<ByteString> names) throws IOException
input - terms - names - IOExceptionpublic AssociationParser(IParserInput input, TermMap terms, HashSet<ByteString> names, IAssociationParserProgress progress) throws IOException
input - specifies wrapping input that contains association of genes to GO terms.terms - the container of the GO termsnames - list of genes from which the associations should be gathered.
If null all associations are taken,progress - IOExceptionpublic AssociationParser(IParserInput input, TermMap terms, HashSet<ByteString> names, Collection<String> evidences, IAssociationParserProgress progress) throws IOException
input - specifies wrapping input that contains association of genes to GO terms.terms - the container of the GO termsnames - list of genes from which the associations should be gathered.
If null all associations are taken,progress - IOExceptionpublic AssociationParser(IParserInput input, TermMap terms, HashSet<ByteString> names, Collection<String> evidences, IAssociationParserProgress progress, boolean iterative) throws IOException
input - specifies wrapping input that contains association of genes to GO terms.terms - the container of the GO termsnames - list of genes from which the associations should be gathered.
If null all associations are taken,evidences - keep only the annotation whose evidence match the given ones. If null, all annotations are used.
Note that this field is currently used when the filenames referes to a GAF file.progress - iterative - set to true if no actual parsing should be done in the constructor.IOExceptionpublic boolean parse()
throws IOException
IOExceptionpublic ArrayList<Association> getAssociations()
public AnnotationContext getAnnotationMapping()
public List<ByteString> getListOfObjectSymbols()
public ontologizer.io.annotation.AssociationParser.Type getFileType()
Copyright © 2017. All rights reserved.