Test::Chado::Cvterm
version v4.1.1
API for testing cvterm.
There are three exported groups. As usual, all methods could be exported by the special all export group.
Unless specified, all parameters are mandatory.
Tests for numbers of cvterms in an ontology excluding obsolete and relationship terms.
cv: Name of the cv.
count: Expected number of cvterms in that cv
Tests for numbers of obsolete cvterms. Identical parameters as count_cvterm_ok
Tests for numbers of relationship cvterms excluding the built-ins and obsoletes. Identical parameters as count_cvterm_ok
Identical parameters as count_cvterm_ok
count: Expected number of alt_ids
db: Database namespace in which the alternate ids belongs to. Both cv and db namespaces will be used for counting.
Tests the number of children terms for a parent.
object: Name of parent cvterm
count: Expected number of children
relationship: Name of relationship, optional
Tests the number of parent terms for a child.
subject: Name of child cvterm
expected: Expected number of parent(s)
Tests if a cvterm has particular synonym.
cv: Name of the cv, optional.
term: Name of cvterm.
synonym: Name of synonym.
Tests if a cvterm has particular alternate id.
alt_id: Name of alternate id.
Tests if a cvterm has a particular xref.
xref: Name of alternate id.
Tests if a cvterm has particular comment.
comment: Comment text.
Tests if parent and child has a particular relationship
object: Name of the parent term.
subject: Name of the child term.
relationship: Name of the relationship term.
Tests if an existing cvterm is obsolete
term: Name of the obsolete term.
Siddhartha Basu <biosidd@gmail.com>
This software is copyright (c) 2011 by Siddhartha Basu.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install Test::Chado, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Test::Chado
CPAN shell
perl -MCPAN -e shell install Test::Chado
For more information on module installation, please visit the detailed CPAN module installation guide.