Displaying installed apps#

Apps perform functions ranging from multiple sequence alignment (e.g. progressive_align), to excluding alignment columns containing non-nucleotide characters (e.g. omit_degenerates) to performing maximum-likelihood evolutionary analyses (e.g. model).

from cogent3 import available_apps

available_apps()
packagenamecomposabledocinput typeoutput type
cogent3align_to_refTrueAligns sequences to a nominated reference in the unaligned collection.SequenceCollectionAlignment, ArrayAlignment, SerialisableType
cogent3ancestral_statesTrueComputes ancestral state probabilities from a model result.model_resultSerialisableType, tabular_result
cogent3approx_jc69TrueConverts p-distances and returns pairwise JC69 distancesDistanceMatrixDistanceMatrix
cogent3approx_pdistTrueCalculates an approximation of the p-distance between sequences based on Jaccard distances (see Notes for details).DistanceMatrixDistanceMatrix
cogent3bootstrapTrueParametric bootstrap for a provided hypothesis.Alignment, ArrayAlignmentSerialisableType, bootstrap_result
cogent3cogent3_scoreTruereturns the cogent3 log-likelihood as an alignment quality scoreAlignment, ArrayAlignmentfloat
cogent3concatFalseCreates a concatenated alignment from a series.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3fast_slow_distTruePairwise distance calculation for aligned sequences.Alignment, ArrayAlignmentDistanceMatrix, SerialisableType
cogent3fixed_lengthTrueSample an alignment to a fixed length.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3gap_distTruecompute the pairwise difference in gaps using affine gap scoreAlignment, ArrayAlignmentDistanceMatrix
cogent3hypothesisTrueSpecify a hypothesis through defining two models.Alignment, ArrayAlignmentSerialisableType, hypothesis_result, model_collection_result
cogent3ic_scoreTruecompute the Information Content alignment quality scoreAlignment, ArrayAlignmentfloat
cogent3jaccard_distTrueCalculates the pairwise Jaccard distance between the sets of kmers generated from sequences in the collection. A measure of distance for unaligned sequences.SequenceCollectionDistanceMatrix
cogent3load_alignedTrueLoads aligned sequences. Returns an Alignment object.IdentifierTypeAlignment, ArrayAlignment, SerialisableType
cogent3load_dbTrueLoads serialised cogent3 objects from a db. Returns whatever object type was stored.IdentifierTypeSerialisableType
cogent3load_jsonTrueLoads json serialised cogent3 objects from a json file. Returns whatever object type was stored.IdentifierTypeSerialisableType
cogent3load_tabularTrueLoads delimited data. Returns a Table.IdentifierTypeDictArray, DistanceMatrix, Table
cogent3load_unalignedTrueLoads unaligned sequences. Returns a SequenceCollection.IdentifierTypeSequenceCollection, SerialisableType
cogent3min_lengthTrueFilters sequence collections / alignments by length.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3modelTrueDefine a substitution model + tree for maximum likelihood evaluation.Alignment, ArrayAlignmentSerialisableType, model_result
cogent3model_collectionTrueFits a collection of models.Alignment, ArrayAlignmentSerialisableType, hypothesis_result, model_collection_result
cogent3natsel_neutralTrueTest of selective neutrality by assessing whether omega equals 1. Under the alternate, there is one omega for all branches and all sites.Alignment, ArrayAlignmentSerialisableType, hypothesis_result
cogent3natsel_sitehetTrueTest for site-heterogeneity in omega. Under null, there are 2 site-classes, omega < 1 and omega = 1. Under the alternate, an additional site-class of omega > 1 is added.Alignment, ArrayAlignmentSerialisableType, hypothesis_result
cogent3natsel_timehetTrueThe branch heterogeneity hypothesis test for natural selection. Tests for whether a single omega for all branches is sufficient against the alternate that a user specified subset of branches has a distinct value (or values) of omega.Alignment, ArrayAlignmentSerialisableType, hypothesis_result
cogent3natsel_zhangTrueThe branch by site-class hypothesis test for natural selection of Zhang et al MBE 22: 2472-2479.Alignment, ArrayAlignmentSerialisableType, hypothesis_result
cogent3omit_bad_seqsTrueEliminates sequences from Alignment based on gap fraction, unique gaps.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3omit_degeneratesTrueExcludes alignment columns with degenerate characters. Can accomodate reading frame.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3omit_duplicatedTrueRemoves redundant sequences, recording dropped sequences in seqs.info.dropped.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3omit_gap_posTrueExcludes gapped alignment columns meeting a threshold. Can accomodate reading frame.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3progressive_alignTrueProgressive multiple sequence alignment via any cogent3 model.SequenceCollectionAlignment, ArrayAlignment, SerialisableType
cogent3quick_treeTrueComputes a Neighbour Joining tree from pairwise distances.DistanceMatrixPhyloNode, SerialisableType, TreeNode
cogent3scale_branchesTrueTransforms tree branch lengths from nucleotide to codon, or the converse. Returns a new tree with lengths divided by scalarPhyloNode, TreeNodePhyloNode, SerialisableType, TreeNode
cogent3select_translatableTrueSelects translatable sequences by identifying the most likely reading frame. Sequences are truncated to modulo 3. seqs.info has a translation_errors entry.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3smith_watermanTrueLocal alignment of two sequences using the Smith-Waterman algorithmSequenceCollectionAlignment, ArrayAlignment
cogent3sp_scoreTrueCompute a variant of Sum of Pairs alignment quality scoreAlignment, ArrayAlignmentfloat
cogent3tabulate_statsTrueExtracts all model statistics from model_result as Table.model_resultSerialisableType, tabular_result
cogent3take_codon_positionsTrueExtracts the specified codon position(s) from an alignment.Alignment, ArrayAlignmentAlignment, ArrayAlignment, SerialisableType
cogent3take_n_seqsTrueSelects n sequences from a collection. Chooses first n sequences, or selects randomly if specified.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3take_named_seqsTrueSelects named sequences from a collection.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3translate_seqsTrueTranslates nucleic acid sequences into protein sequences, assumes in correct reading frame.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3trim_stop_codonsTrueRemoves terminal stop codons.Alignment, ArrayAlignment, SequenceCollectionAlignment, ArrayAlignment, SequenceCollection, SerialisableType
cogent3uniformize_treeTrueStandardises the orientation of unrooted trees.PhyloNode, TreeNodePhyloNode, SerialisableType, TreeNode
cogent3write_dbTrueWrite serialised objects to a database instance.SerialisableTypeIdentifierType
cogent3write_jsonTrueWrites data in json format.SerialisableTypeIdentifierType
cogent3write_seqsTrueWrite sequences in standard formats.Alignment, ArrayAlignment, SequenceCollectionIdentifierType
cogent3write_tabularTrueWrites tabular data in text format supported by the cogent3 Table object.DictArray, DistanceMatrix, TableIdentifierType

46 rows x 6 columns

The name_filter argument can be used to display only the apps that match a string. For example, to display all the loader apps

available_apps(name_filter="load")
packagenamecomposabledocinput typeoutput type
cogent3load_alignedTrueLoads aligned sequences. Returns an Alignment object.IdentifierTypeAlignment, ArrayAlignment, SerialisableType
cogent3load_dbTrueLoads serialised cogent3 objects from a db. Returns whatever object type was stored.IdentifierTypeSerialisableType
cogent3load_jsonTrueLoads json serialised cogent3 objects from a json file. Returns whatever object type was stored.IdentifierTypeSerialisableType
cogent3load_tabularTrueLoads delimited data. Returns a Table.IdentifierTypeDictArray, DistanceMatrix, Table
cogent3load_unalignedTrueLoads unaligned sequences. Returns a SequenceCollection.IdentifierTypeSequenceCollection, SerialisableType

5 rows x 6 columns

Note

The first column lists the package providing the app.