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 typelicenses
piqtreepiq_build_treeTrueAlignmentPhyloNodeGPL-2.0-only
piqtreepiq_consensus_treeTrueBuild a consensus tree, defaults to majority-rule consensus tree.PhyloNodeGPL-2.0-only
piqtreepiq_fit_treeTrueAlignmentPhyloNodeGPL-2.0-only
piqtreepiq_jc_distancesTrueAlignmentDistanceMatrixGPL-2.0-only
piqtreepiq_model_finderTrueFind the models of best fit for an alignment using ModelFinder.AlignmentModelFinderResultGPL-2.0-only
.....................
cogent3uniformize_treeTrueStandardises the orientation of unrooted trees.PhyloNodePhyloNode, SerialisableTypeBSD
cogent3write_dbTrueWrite serialised objects to a database instance.SerialisableTypeDataMemberABC, Path, strBSD
cogent3write_jsonTrueWrites data in json format.SerialisableTypeDataMemberABC, Path, strBSD
cogent3write_seqsTrueWrite sequences in standard formats.Alignment, SequenceCollectionDataMemberABC, Path, strBSD
cogent3write_tabularTrueWrites tabular data in text format supported by the cogent3 Table object.DictArray, DistanceMatrix, TableDataMemberABC, Path, strBSD

Top 5 and bottom 5 rows from 54 rows x 7 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 typelicenses
cogent3load_alignedTrueLoads aligned sequences. Returns an Alignment object.DataMemberABC, Path, strAlignment, SerialisableTypeBSD
cogent3load_dbTrueLoads serialised cogent3 objects from a db. Returns whatever object type was stored.DataMemberABC, Path, strSerialisableTypeBSD
cogent3load_jsonTrueLoads json serialised cogent3 objects from a json file. Returns whatever object type was stored.DataMemberABC, Path, strSerialisableTypeBSD
cogent3load_tabularTrueLoads delimited data. Returns a Table.DataMemberABC, Path, strDictArray, DistanceMatrix, TableBSD
cogent3load_unalignedTrueLoads unaligned sequences. Returns a SequenceCollection.DataMemberABC, Path, strSequenceCollection, SerialisableTypeBSD

5 rows x 7 columns

Note

The first column lists the package providing the app.