Test::Chado::FixtureLoader::Flatfile
version v4.1.1
use Test::Chado::FixtureLoader::Flatfile; use Test::Chado::Factory::FixtureLoader;
my $sqlite = Test::Chado::Factory::FixtureLoader->get_instance('sqlite'); my $loader = Test::Chado::FixtureLoader::Flatfile->new(dbmanager => $sqlite); $sqlite->load_fixtures;
This class primarilly provides a method load_fixtures to load all the default fixtures that comes bundled with distribution.
It's a YAML version of organism entries found in the initialize.sql file of official chado distribution.
The lite version of sequence ontology.
Obtained from here
Class to manage loading of test fixture from flatfile
These are public attributes defined exclusively in this class. For rest of the consumed attributes look at Test::Chado::Role::Helper::WithBcs
Name of obo xml file
Instance of <XML::Twig> with two handlers, one to load the term and other for relations
Instance of Graph
Instance of Graph::Traversal
Other than the exclusive methods below, look at the role Test::Chado::Role::Helper::WithBcs
Loads all default fixtures from flatfiles.
Loads organism fixtures from organism.yaml file
=load_rel
Loads relationship ontology from relationship.obo_xml
=load_so
Loads sequence ontology(SO) from sofa.obo_xml file
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.