Outputs#
To use one of the described component here, you have to import them from khloraascaf.outputs
.
Type#
Constants#
For OrCT
#
- ORC_ID_IND = 0#
Index of the identifier for
OrT
- ORC_OR_IND = 1#
Index of the orientation for
OrT
Orientation to string#
Files#
- CONTIGS_OF_REGIONS_PREFIX = 'contigs_of_regions'#
Prefix of the contigs of regions file name.
- CONTIGS_OF_REGIONS_EXT = 'tsv'#
Extension of the contigs of regions file
- MAP_OF_REGIONS_PREFIX = 'map_of_regions'#
Prefix of the map of regions file name.
- MAP_OF_REGIONS_EXT = 'tsv'#
Extension of the map of regions file
Functions#
Auto-generated output directory for result files#
Contigs of regions#
- write_contigs_of_regions(result, contigs_of_regions_path, id_container=None)#
Write the regions’ contigs file.
#DOCU describe the output file here
- Parameters:
result (
ScaffoldingResult
) – Previous scaffolding resultcontigs_of_regions_path (
Path
) – Path of the future file containing the regions’ oriented contigsid_container (
MDCGraphIDContainer
, optional) – Identifiers container for the graph, by default None
- read_contigs_of_regions(contigs_of_regions_path)#
Read the regions’ contigs file.
- fmt_contigs_of_regions_filename(instance_name, ilp_combination)#
Format the contigs of regions filename.
- write_map_of_regions(result, map_of_regions_path)#
Write the region map file.
# DOCU describe the output file here
- Parameters:
result (
ScaffoldingResult
) – Scaffolding resultmap_of_regions_path (
Path
) – Path of the future file containing the regions’ oriented contigs
- read_map_of_regions(map_of_regions_path)#
Write the region map file.