@@ -21,7 +21,7 @@ athena_lims <- function(libid) {
21
21
# download gds files to a local structure reflecting the gds path starting from
22
22
# the outdir as the fs root.
23
23
rnasum_download <- function (gdsdir , outdir , token , page_size = 200 , regexes ) {
24
- dracarys :: gds_files_list (gdsdir = gdsdir , token = token , page_size = page_size ) | >
24
+ dracarys :: gds_list_files_dir (gdsdir = gdsdir , token = token , page_size = page_size ) | >
25
25
dplyr :: mutate(type = purrr :: map_chr(.data $ bname , \(x ) dracarys :: match_regex(x , regexes ))) | >
26
26
dplyr :: select(" file_id" , " type" , " size" , " path" , " bname" ) | >
27
27
dplyr :: filter(! is.na(.data $ type )) | >
@@ -37,12 +37,12 @@ rnasum_download <- function(gdsdir, outdir, token, page_size = 200, regexes) {
37
37
}
38
38
39
39
# SBJ IDs of interest
40
- sbj <- " SBJ04426 "
41
- lib <- " L2301428 "
42
- date1 <- " 2024-08-20 "
40
+ sbj <- " SBJ05637 "
41
+ lib <- " L2401376 "
42
+ date1 <- " 2024-09-16 "
43
43
lims_raw <- athena_lims(lib )
44
44
pmeta_raw <- athena_rnasum(sbj ) | >
45
- rportal :: meta_rnasum()
45
+ rportal :: meta_rnasum(status = " Failed " )
46
46
lims <- lims_raw | >
47
47
dplyr :: select(library_id , sample_id , subject_id )
48
48
@@ -56,9 +56,7 @@ pmeta <- pmeta_raw |>
56
56
end_status ,
57
57
wfr_id , start , end , gds_outfile_rnasum_html ,
58
58
) | >
59
- dplyr :: arrange(desc(SubjectID ), start ) | >
60
- dplyr :: filter(rnasum_dataset == " BRCA" ) | >
61
- dplyr :: slice_head(n = 1 )
59
+ dplyr :: arrange(desc(SubjectID ), start )
62
60
63
61
# patterns of files to fish out
64
62
rnasum_file_regex <- tibble :: tribble(
0 commit comments