Clinical-Genomics
develop
develop
  • Introduction
  • Documentation
    • Setup
    • References
    • Analysis
    • Parameters
    • Recipes
    • Code
      • Best Practise
      • Adding an env
    • API
      • Define Parameters
      • Download References
      • Identifiers
      • Initiation File
      • Install
      • IO
      • Modules
      • Path
      • Pedigree
      • QC metrics
      • Sample info
      • Tests
        • Log
        • Data
      • Subroutines
    • Cli
Powered by GitBook
On this page
  1. Documentation
  2. API

IO

Version: 1.0.0

MIP stores the information on file object IO in the io sub-level hash located in file_info. The io hash has three hash reference keys: in, out, and temp with identical sub-level keys. Setting either in or out also sets temp.

File objects

  1. "a/dir/file_1.1.txt"

  2. "a/dir/file_1.txt"

io:
{
  in {file_paths: [  "a/dir/file_1.1.txt"
                      "a/dir/file_1.txt"
                      ],
      file_suffixes: [ ".1.txt"
                        ".txt"
                        ],
      file_path_prefixes: [ "a/dir/file_1"
                            "a/dir/file_1"
                            ],
      file_names: [ "file_1.1.txt"
                    "file_1.txt"
                    ],
      file_name_prefixes: [ "file_1"
                            "file_1"
                            ],
      dir_path: "a/dir/",
      dir_path_prefix: "a/dir",
      file_suffix: ".txt",
      file_path_prefix: "a/dir/file_1",
      file_name_prefix: "file_1"
      file_constant_suffix: undef,
      file_path_href: { 1 => "a/dir/file_1.1.txt",
            },
      file_name_href: { 1 => "file_1.1.txt",
                        },
    }
  out {"exactly the same keys and types"}                  
  temp {"exactly the same keys and types, but with a temp directory base instead of 'in' or 'out' base"}                  
}
PreviousInstallNextModules

Last updated 6 years ago