4.1. datanator package¶
4.1.1. Subpackages¶
- 4.1.1.1. datanator.config package
- 4.1.1.2. datanator.core package
- 4.1.1.3. datanator.data_source package
- 4.1.1.3.1. Subpackages
- 4.1.1.3.2. Submodules
- 4.1.1.3.3. datanator.data_source.corum_nosql module
- 4.1.1.3.4. datanator.data_source.ec module
- 4.1.1.3.5. datanator.data_source.gene_ortholog module
- 4.1.1.3.6. datanator.data_source.intact_nosql module
- 4.1.1.3.7. datanator.data_source.kegg_org_code module
- 4.1.1.3.8. datanator.data_source.kegg_orthology module
- 4.1.1.3.9. datanator.data_source.kegg_reaction_class module
- 4.1.1.3.10. datanator.data_source.metabolite_nosql module
- 4.1.1.3.11. datanator.data_source.metabolites_meta_collection module
- 4.1.1.3.12. datanator.data_source.modomics module
- 4.1.1.3.13. datanator.data_source.pax_nosql module
- 4.1.1.3.14. datanator.data_source.protein_aggregate module
- 4.1.1.3.15. datanator.data_source.sabio_compound module
- 4.1.1.3.16. datanator.data_source.sabio_reaction module
- 4.1.1.3.17. datanator.data_source.sabio_rk module
- 4.1.1.3.18. datanator.data_source.sabio_rk_json_mongo module
- 4.1.1.3.19. datanator.data_source.sabio_rk_nosql module
- 4.1.1.3.20. datanator.data_source.sqlite_to_json module
- 4.1.1.3.21. datanator.data_source.taxon_tree module
- 4.1.1.3.22. datanator.data_source.uniprot_nosql module
- 4.1.1.3.23. Module contents
- 4.1.1.4. datanator.schema_2 package
- 4.1.1.4.1. Submodules
- 4.1.1.4.2. datanator.schema_2.migrate_corum module
- 4.1.1.4.3. datanator.schema_2.migrate_ec module
- 4.1.1.4.4. datanator.schema_2.migrate_metabolite_concentration module
- 4.1.1.4.5. datanator.schema_2.migrate_metabolites_meta module
- 4.1.1.4.6. datanator.schema_2.migrate_taxon_tree module
- 4.1.1.4.7. datanator.schema_2.migrate_uniprot module
- 4.1.1.4.8. datanator.schema_2.transform module
- 4.1.1.4.9. datanator.schema_2.transform_metabolite_concentrations module
- 4.1.1.4.10. datanator.schema_2.transform_metabolites_meta module
- 4.1.1.4.11. Module contents
- 4.1.1.5. datanator.util package
- 4.1.1.5.1. Submodules
- 4.1.1.5.2. datanator.util.base26 module
- 4.1.1.5.3. datanator.util.build_util module
- 4.1.1.5.4. datanator.util.calc_tanimoto module
- 4.1.1.5.5. datanator.util.chem_util module
- 4.1.1.5.6. datanator.util.constants module
- 4.1.1.5.7. datanator.util.file_util module
- 4.1.1.5.8. datanator.util.index_collection module
- 4.1.1.5.9. datanator.util.molecule_util module
- 4.1.1.5.10. datanator.util.mongo_util module
- 4.1.1.5.11. datanator.util.reaction_util module
- 4.1.1.5.12. datanator.util.rna_halflife_util module
- 4.1.1.5.13. datanator.util.rna_seq_util module
- 4.1.1.5.14. datanator.util.taxonomy_util module
- 4.1.1.5.15. datanator.util.warning_util module
- 4.1.1.5.16. Module contents
4.1.2. Submodules¶
4.1.3. datanator.__main__ module¶
Command line utilities
- Author
Yosef Roth <yosefdroth@gmail.com>
- Author
Jonathan Karr <jonrkarr@gmail.com>
- Author
Saahith Pochiraju <saahith116@gmail.com>
- Date
2017-04-12
- Copyright
2017, Karr Lab
- License
MIT
-
class
datanator.__main__.
AggregateBuildController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['--path'], {'type': <class 'str'>, 'default': '/root/.wc/data/datanator', 'help': 'path to build the database'}), (['--verbose'], {'type': <class 'bool'>, 'default': False, 'help': 'verbosity'}), (['--max-entries'], {'type': <class 'int'>, 'default': inf, 'help': 'number of normalized entries to add per database. Default: Full Database'}), (['--build-on-existing'], {'type': <class 'bool'>, 'default': False, 'help': 'load from existing database on karr lab server'}), (['--load-full-small-dbs'], {'type': <class 'bool'>, 'default': True, 'help': 'loads entire small database modules'})][source]¶
-
-
class
-
class
datanator.__main__.
App
(label=None, **kw)[source]¶ Bases:
cement.core.foundation.App
-
class
Meta
[source]¶ Bases:
object
-
handlers
= [<class 'datanator.__main__.BaseController'>, <class 'datanator.__main__.UploadDataController'>, <class 'datanator.__main__.UploadReferenceGenome'>, <class 'datanator.__main__.UploadRNASeqExperiment'>, <class 'datanator.__main__.UploadData'>, <class 'datanator.__main__.DownloadController'>, <class 'datanator.__main__.BuildController'>, <class 'datanator.__main__.AggregateBuildController'>, <class 'datanator.__main__.GenerateTemplateController'>, <class 'datanator.__main__.GenerateRNASeqTemplate'>, <class 'datanator.__main__.TaxonomyController'>, <class 'datanator.__main__.TaxonomyGetRankController'>, <class 'datanator.__main__.TaxonomyGetParentsController'>, <class 'datanator.__main__.TaxonomyGetCommonAncestorController'>, <class 'datanator.__main__.TaxonomyGetDistanceToCommonAncestorController'>, <class 'datanator.__main__.TaxonomyGetDistanceToRoot'>, <class 'datanator.__main__.MoleculeController'>, <class 'datanator.__main__.MoleculeGetStructureController'>, <class 'datanator.__main__.MoleculeConvertStructureController'>, <class 'datanator.__main__.ReactionController'>, <class 'datanator.__main__.ReactionGetEcNumberController'>][source]¶
-
-
class
-
class
datanator.__main__.
BaseController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
BuildController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['--max-entries'], {'type': <class 'int'>, 'default': inf, 'help': 'number of normalized entries to add per database. Default: Full Database'}), (['--path'], {'type': <class 'str'>, 'default': '/root/.wc/data/datanator', 'help': 'path to build the database'}), (['--clear-existing-content'], {'type': <class 'bool'>, 'default': False, 'help': 'clears existing content of the db if exists'}), (['--verbose'], {'type': <class 'bool'>, 'default': False, 'help': 'verbosity'})][source]¶
-
-
class
-
class
datanator.__main__.
DownloadController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
GenerateRNASeqTemplate
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
GenerateTemplateController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['filename'], {'type': <class 'str'>, 'help': 'path to save the Excel template'})][source]¶
-
description
= 'Generate an Excel template for specifying which reactions to aggregate kinetic data about'[source]¶
-
-
class
-
class
datanator.__main__.
MoleculeController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
MoleculeConvertStructureController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
MoleculeGetStructureController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['--by-name'], {'dest': 'by_name', 'action': 'store_true', 'default': True, 'help': 'If set, lookup structure by name'}), (['--by-id'], {'dest': 'by_name', 'action': 'store_false', 'default': True, 'help': 'If set, lookup structure by id'}), (['--namespace'], {'type': <class 'str'>, 'help': 'Namespace of id'}), (['name_or_id'], {'type': <class 'str'>, 'help': 'Name or id of the molecule'})][source]¶
-
-
class
-
class
datanator.__main__.
ReactionController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
ReactionGetEcNumberController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
Meta
[source]¶ Bases:
object
-
arguments
= [(['--do-not-restore-data'], {'dest': 'restore_data', 'action': 'store_false', 'help': 'If set, do not restore the data'}), (['--restore-schema'], {'dest': 'restore_schema', 'action': 'store_true', 'help': 'If set, restore the schema'}), (['--do-not-exit-on-error'], {'dest': 'exit_on_error', 'action': 'store_false', 'help': 'If set, do not exit on errors'})][source]¶
-
-
class
-
class
datanator.__main__.
TaxonomyController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
TaxonomyGetCommonAncestorController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
TaxonomyGetDistanceToCommonAncestorController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
TaxonomyGetDistanceToRoot
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
TaxonomyGetParentsController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
TaxonomyGetRankController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
UploadData
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
UploadDataController
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
UploadRNASeqExperiment
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController
-
class
datanator.__main__.
UploadReferenceGenome
(*args, **kw)[source]¶ Bases:
cement.ext.ext_argparse.ArgparseController