microbetag.helpers

Handlers classes allowing the different steps

Module Contents

class microbetag.helpers.PathwayComplementarity(config)[source]

Sets variables regarding pathway complementarity tasks based on user’s config (.yml) file

setup_kegg_annotations()[source]

Sets up KEGG annotations and directories.

get_kofam_db_path()[source]

Returns the KOfam database path.

handle_missing_kofam_db()[source]

Handles the case when the KOfam database path is missing.

initialize(conf)[source]

Main function to initialize pathway complementarity settings.

setup_ko_merged()[source]

Sets up the KO merged file.

output_dirs(config)[source]

Paths to output folders and files

class microbetag.helpers.MappingPaths(config)[source]

Sets paths to mapping files

class microbetag.helpers.Faprotax(config)[source]
class microbetag.helpers.NetworkHandler(config)[source]
process_network(config)[source]

Process network edgelist and check bin consistency.

class microbetag.helpers.AbdTableHandler(config)[source]
load_abundance_table(config)[source]

Reads and validates the abundance table.

load_metadata_file(config)[source]

Load metadata file if provided

class microbetag.helpers.BinsHandler(config)[source]
class microbetag.helpers.SeedComplementarityHandler(config)[source]
seeds_paths(config)[source]

Set pathways for seeds related files and folders

microbetag.helpers.manta_input_net(config)[source]

Build intermediate network file as input for manta

class microbetag.helpers.Emojis[source]
microbetag.helpers.local_seed_url()[source]

Builds KEGG urls for seed complements. Function to be used out of the pipeline