API Reference

Ortholog discovery

Infer orthologs and summarize comparative-genetics results.

Orthologs.Blast.BaseComparativeGenetics

Base class in the Blast module.

Orthologs.Blast.ComparativeGenetics

Main Comparative Genetics class.

Orthologs.Blast.BaseBlastN

Base BlastN class.

Orthologs.Blast.OrthoBlastN

OrthoBlastN provides a preconfigured and orthology optimized version

Sequence retrieval

Retrieve and organize GenBank records and NCBI datasets.

Orthologs.GenBank.GenBank

This class will handle GenBank files in various ways.

Tools.ftp.BaseFTPClient

Provide shared connection management for FTP clients.

Tools.ftp.NcbiFTPClient

Access NCBI directories over FTP and download data over HTTPS.

Tools.mygene.MyGene

Import a csv of refseq accessions & get gene information from mygene.

Alignment and phylogenetics

Prepare alignments and run supported phylogenetic programs.

Orthologs.Align.ClustalO

Align genes using Clustal Omega.

Orthologs.Align.Guidance2Commandline

Command line wrapper for GUIDANCE2.

Orthologs.Align.Pal2NalCommandline

Command line wrapper for PAL2NAL.

Orthologs.Align.MultipleSequenceAlignment

The MultipleSequenceAlignment (MSA) class uses the standard configuration

Orthologs.Phylogenetics.RelaxPhylip

Convert a multiple sequence alignment file to relaxed-phylip format.

Orthologs.Phylogenetics.ETE3PAML

Integration of ETE3 for using PAML’s codeml.

Orthologs.Phylogenetics.PhyML

PhyML tools.

Orthologs.Phylogenetics.Phylip

Phylip tools.

Orthologs.Phylogenetics.IQTreeCommandline

Command line wrapper for GUIDANCE2.

Orthologs.Phylogenetics.FilteredTree

Run IQTree to generate a “filtered” tree or best tree.

Orthologs.Phylogenetics.TreeViz

Tree Vizualization tools.

Orthologs.Phylogenetics.PAML.CodemlRun

Run PAML’s codeml program using Biopython’s codeml wrapper.

Project and data management

Create project layouts and coordinate data and database workflows.

Manager.management.Management
Manager.management.RepoManagement
Manager.management.UserManagement
Manager.management.WebsiteManagement
Manager.management.ProjectManagement
Manager.data_management.DataMana
Manager.database_management.BaseDatabaseManagement
Manager.database_management.DatabaseManagement
Manager.database_dispatcher.DatabaseDispatcher
Manager.biosql.biosql.BaseBioSQL
Manager.biosql.biosql.SQLiteBioSQL
Manager.biosql.biosql.MySQLBioSQL

Execution and supporting tools

Run local, PBS, Slurm, logging, and transfer helpers.

Tools.pbs.BaseQsub
Tools.pbs.Qsub
Tools.pbs.BaseQstat
Tools.pbs.Qstat
Tools.pbs.MultiQstat
Tools.pbs.TargetJobKeyError
Tools.slurm.SlurmClient

Run one-shot Slurm submission and inspection commands.

Tools.slurm.SlurmJob

Normalized job information shared by active and historical queries.

Tools.slurm.SlurmCommandNotFoundError

Report that a required Slurm executable is unavailable.

Tools.parallel.Multiprocess

Use multiple processes with a function.

Tools.logit.LogIt

LogIt makes logging easier by creating easy loggers.

Tools.pybasher.PyBasher

Common bash commands.

Tools.send2server.S2S

S2S (Send 2 Server) is designed for use with a public ssh key.

Tools.slackify.Slackify

Send messages or milestones to a slack channel.

Templates and utilities

Create project templates and use shared package utilities.

Cookies.Oven

Class that deploys cookiecutter templates.

Cookies.CookBook

Class of cookiecutter related functions.

resources.package_resource_path()

Return a filesystem path for a resource in an installed package.

utilities.DuplicateAnalysis

Duplicate groups and the counts consumed by post-BLAST reporting.

utilities.BlastUtils
utilities.GenbankUtils
utilities.OrthologUtils
utilities.ManagerUtils
utilities.CookieUtils
utilities.PackageVersion

Get the version of an installed python package.

utilities.FunctionRepeater

Repeats a function every interval. Ref: https://tinyurl.com/yckgv8m2

utilities.FullUtilities
OrthoEvolWarning

This is the OrthoEvol main warning class.

OrthoEvolDevelopmentWarning

This is the OrthoEvol developmental code warning subclass.

OrthoEvolDeprecationWarning

This is the Deprecation Warning subclass.