Read a raw DNA file on this computer
read_dna_fileParse a local 23andMe, AncestryDNA, MyHeritage, or FamilyTreeDNA file and return curated variant states (read, no_call, not_in_file, unexpected_letters) for requested genes.
Instructions
Read the user's raw DNA file (23andMe, AncestryDNA, MyHeritage or FamilyTreeDNA; .txt, .csv or .zip) on this
computer and report, for each curated variant, one of four states: read, no_call, not_in_file, or unexpected_letters
(the file's letters fit neither the record nor its complement). For positions the record marks as countable it gives
how many copies of the variant allele the file shows, with the record's text and sources. Pass genes for what the
user asked about (for example ["CYP2C19"] before discussing clopidogrel). APOE, BRCA1 and HFE are disease-risk
genes: they are read only when named in genes, so do not offer or report them unless the user asks for them by
name. A count at one position is not a metabolizer status, diplotype, diagnosis or dose: say so, and refer anything
that could matter for health to a clinician and a validated test.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sex | No | Only if the user gives it: some chromosome X positions (G6PD) need it | |
| path | Yes | Full path to the raw DNA file on this computer, e.g. /Users/name/Downloads/genome.txt | |
| genes | No | Gene symbols the user asked about, e.g. ["CYP2C19"] |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||