Biostar Beta. Not for public use.
A Grep For Gene Ontology ?
4
Entering edit mode
14 months ago
France/Nantes/Institut du Thorax - INSE…

Is there a kind of grep fro 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 filter • 2.9k views
ADD COMMENTlink
5
Entering edit mode
3.5 years ago
Ian Simpson • 910
Edinburgh

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 COMMENTlink
4
Entering edit mode
21 months ago
EMBL Heidelberg

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 COMMENTlink
3
Entering edit mode
13 months ago
Manhattan, NY

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 COMMENTlink

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.1