go-fetch-associations-by-terms.pl - queries db for associations to terms
go-fetch-associations-by-terms.pl -d go -h localhost "cysteine*" go-fetch-associations-by-terms.pl -d go -id GO:0008234 -id GO:003693 go-fetch-associations-by-term.pl -d go_load -denormalized -q type=biological_process -q "search=cysteine*" go-fetch-associations-by-term.pl -d go_load -q "where=term.name like '%neuroderm%' or term.name like '%procephalic%'"
Queries db for associations to queried terms. Traverses DAG to get recursive associations
Arguments are either connection arguments, generic to all go-db-perl scripts, and arguments specific to this script
Specify db connect arguments first; these are:
name of database; usually "go" but you may want point at a test/dvlp database
name of user to connect to database as; optional
password to connect to database with; optional
name of server where the database server lives; see http://www.godatabase.org/dev/database for details of which servers are active. or you can just specify "localhost" if you have go-mysql installed locally
GO/OBO accession no; multiple can be passed on one line; eg
-id GO:0008234 -id GO:003693
Pass in query constraints
See GO::AppHandle for full list, under get_terms() method
Writes one row for every gene_product to term association (default will combine all terms for one gene product on one row)
if the db has gene_product_property defined, this will fill in the specified propery value instead of summarising all properties. Multiple props can be passed.
The default output produces tab-delimited rows with the following data:
Only the terms that were in the initial query which are associated to that gene product are listed
With the -denormalized option each term is listed on its own row, with two additional columns (termacc and termname)
http://www.godatabase.org/dev
GO::AppHandle
To install GO::Tango, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GO::Tango
CPAN shell
perl -MCPAN -e shell install GO::Tango
For more information on module installation, please visit the detailed CPAN module installation guide.