A Grep For Gene Ontology ?
3
4
Entering edit mode
14.6 years ago

Is there a kind of grep for GeneOntology? I would like to filter a tsv file containing a gene/protein identifier having a Go annotation that would be a children of a given GO term. For example:

cat myfile.txt |\
gogrep -f <path-to-my-go-db> \
       -d <column delimiter> \
       -c <column-index-for-identifier> \
       -t <serched GO term  e.g: GO:0003146> \
       -s <identifier-type (uniprot...) > result.txt

Thanks
Pierre

gene GO • 4.6k views
ADD COMMENT
5
Entering edit mode
14.6 years ago
Ian Simpson ▴ 960

There is a Perl package called GoPerl to traverse GO architecture which you could pull into a Perl script to do the same as you describe. Might be a bit of a sledge-hammer to crack a walnut though.

ADD COMMENT
4
Entering edit mode
14.6 years ago

You could probably query AmiGO, at least if you're doing this on a small scale: http://amigo.geneontology.org/cgi-bin/amigo/gp-assoc.cgi?gp=UniProtKB/Swiss-Prot:P21728&format=go_assoc

(Though you in particular might prefer the RDF/XML format ;-)

ADD COMMENT
3
Entering edit mode
14.6 years ago

I have used Onto-perl for something similar - you may give it a try : http://search.cpan.org/~easr/ONTO-PERL-1.10/. There are some sample scripts that will give you parent terms or child terms of a given term.

ADD COMMENT

Login before adding your answer.

Traffic: 2487 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6