nextflow.io

nextflow.io.get_file_text(path)

Gets the contents of a text file, if it exists.

Parameters:

path (str) – the location of the file.

Return type:

str

nextflow.io.get_process_ids_to_paths(process_ids, execution_path)

Takes a list of nine character process IDs and maps them to the full directories they represent.

Parameters:
  • process_ids (list) – a list of nine character process IDs.

  • execution_path (str) – the path to the execution directory.

Return type:

dict