class Bio::GO::GeneAssociation

Bio::GO::GeneAssociation

$CVSROOT/go/gene-associations/gene_association.*

Data parser for the gene_association go annotation. See also the file format www.geneontology.org/doc/GO.annotation.html#file

Example

mgi_data = File.open('gene_association.mgi').read
mgi = Bio::GO::GeneAssociation.parser(mgi_data)

Bio::GO::GeneAssociation.parser(mgi_data) do |entry|
  p [entry.entry_id, entry.evidence, entry.goid]
end