morinlab / GAMBLR

Set of standardized functions to operate with genomic data
https://morinlab.github.io/GAMBLR/
MIT License
3 stars 2 forks source link

get_gambl_metadata looks in the wrong place for a case set file #158

Open rdmorin opened 1 year ago

rdmorin commented 1 year ago

This is probably an easy fix. This file is in the GAMBL repo but in a remote computer the code is still looking for it in the GSC path. Can this be updated to use the GAMBL repo prefix from the active config?

metadata_fl_dlbcl = get_gambl_metadata(case_set = "tFL-study")
Error: '/projects/rmorin/projects/gambl-repos/gambl-rmorin/data/metadata/raw_metadata/gambl_tFL_manual.tsv' does not exist.                         
Kdreval commented 1 year ago

Just looking into this. I fixed this but noticed there are some other files used in this case set. Do you know if they are synced to the remote computer? I'll implement the similar repo prefix for them so same error won't come up again

gambl_transformations = suppressMessages(read_delim("/projects/rmorin/projects/gambl-repos/gambl-rmorin/data/metadata/raw_metadata/gambl_transformation.txt", delim = " "))
fl_transformation_meta = suppressMessages(read_tsv("/projects/rmorin/projects/gambl-repos/gambl-rmorin/shared/gambl_fl_transformed.tsv"))
curated = suppressMessages(read_tsv("/projects/rmorin/projects/gambl-repos/gambl-rmorin/data/metadata/raw_metadata/clin_review_fl.tsv"))
Kdreval commented 1 year ago

This one also seems to be out of sync with master and is not in version control (not on GAMBL master): /projects/rmorin/projects/gambl-repos/gambl-rmorin/shared/gambl_fl_transformed.tsv