Žiadny popis

jake kalstad e1ad7055b8 add download switch and a test 2 rokov pred
.vscode e1ad7055b8 add download switch and a test 2 rokov pred
src e1ad7055b8 add download switch and a test 2 rokov pred
.gitignore e1ad7055b8 add download switch and a test 2 rokov pred
Cargo.lock e1ad7055b8 add download switch and a test 2 rokov pred
Cargo.toml e1ad7055b8 add download switch and a test 2 rokov pred
readme.md e1ad7055b8 add download switch and a test 2 rokov pred
readme.pdf e1ad7055b8 add download switch and a test 2 rokov pred

readme.md

Parsing Human Protein Atlas Files - Currently a POC

grabbing the tsv files from https://www.proteinatlas.org/about/download and parsing them into structs for rust. Also able to zip the files into a single json/csv output file as a graph of the App to be deserialized later.

to download the data files pass an arg cargo run -- download to export the loaded data as json
cargo run -- json my_output.json to export the loaded data as csv cargo run -- csv my_output.csv

cargo run will read and parse the files into an app struct - see main.rs/main

```rust

pub struct App
    tissues: Vec::<Gene>,
    pathogens: Vec::<Pathogen>,
    rna_immune_cell_schmiedel: Vec<RNAImmuneCellSchmiedel>,
    rna_celline_cancer: Vec<RNACellLineCancer>,
    rna_immune_cell: Vec<RNAImmuneCell>,
    rna_immune_cell_monaco: Vec<RNAImmuneCellMonaco>,
    rna_mouse_brain_hpa: Vec<RNAMouseBrainHPA>,
    rna_mouse_brain_allen: Vec<RNAMouseBrainAllen>,
    pig_brain: Vec<AnimalSample>,
    mouse_brain: Vec<AnimalSample>