Run data parser
TrackInputOutputDirectories
dataclass
Track the input phenopacket test data for a corresponding pheval output directory.
Attributes:
Name | Type | Description |
---|---|---|
phenopacket_dir |
Path
|
The directory containing input phenopackets. |
results_dir |
Path
|
The directory containing output results from pheval. |
Source code in src/pheval/analyse/run_data_parser.py
8 9 10 11 12 13 14 15 16 17 18 19 |
|
parse_run_data_text_file(run_data_path)
Parse run data .txt file returning a list of input phenopacket and corresponding output directories.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
run_data_path |
Path
|
The path to the run data .txt file. |
required |
Returns:
Type | Description |
---|---|
List[TrackInputOutputDirectories]
|
List[TrackInputOutputDirectories]: A list of TrackInputOutputDirectories objects, containing |
List[TrackInputOutputDirectories]
|
input test data directories and their corresponding output directories. |
Notes
The run data .txt file should be formatted with tab-separated values. Each row should contain two columns: the first column representing the input test data phenopacket directory, and the second column representing the corresponding run output directory.
Source code in src/pheval/analyse/run_data_parser.py
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 |
|