inspect_data
Scan sequence, alignment, variant, BED, reference, and Imap files without changing them to check workflow readiness, find missing inputs, and flag mismatches before conversion.
Instructions
Inspect the user's data files without changing anything (bpp-seqs --dry-run).
Call after check_environment, on whatever the user has: aligned loci
(FASTA/PHYLIP/NEXUS, one or many per file), BAM/CRAM, gVCF, BED, a reference
FASTA, and the Imap (sample -> species table). File types are detected from
content. files may contain glob patterns relative to the project, e.g.
["loci/*.fasta"].
Read in the report:
workflow(e.g. fasta2bpp) andready_to_run: whether convert_data can run with these inputs.missing[]: inputs still needed (often the Imap). Ask the user for them.cross_validation.issues: mismatches between files, e.g. samples in the data but not the Imap. Explain them to the user before converting.files_provided[]: per-file type and counts;server.file_typescounts the types. Next: convert_data with the same files and Imap.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| imap | No | ||
| files | Yes |