You are working on Singularity: singularity_proj_encode_fcc
BASE DIRECTORY (FD_BASE): /data/reddylab/Kuei
REPO DIRECTORY (FD_REPO): /data/reddylab/Kuei/repo
WORK DIRECTORY (FD_WORK): /data/reddylab/Kuei/work
DATA DIRECTORY (FD_DATA): /data/reddylab/Kuei/data
You are working with ENCODE FCC
PATH OF PROJECT (FD_PRJ): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC
PROJECT RESULTS (FD_RES): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/results
PROJECT SCRIPTS (FD_EXE): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/scripts
PROJECT DATA (FD_DAT): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/data
PROJECT NOTE (FD_NBK): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/notebooks
PROJECT DOCS (FD_DOC): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/docs
PROJECT LOG (FD_LOG): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/log
PROJECT REF (FD_REF): /data/reddylab/Kuei/repo/Proj_ENCODE_FCC/references
### set column name and descriptiondat =tribble(~Name, ~Note,"Chrom", "Name of the chromosome","ChromStart", "The starting position of the feature in the chromosome","ChromEnd", "The ending position of the feature in the chromosome","Name", "Name given to a region; Use '.' if no name is assigned.","Group", "Assay Name","Label", "Region Label")### assign and showdat_cname = datfun_display_table(dat)
Name
Note
Chrom
Name of the chromosome
ChromStart
The starting position of the feature in the chromosome
ChromEnd
The ending position of the feature in the chromosome
Name
Name given to a region; Use '.' if no name is assigned.
Group
Assay Name
Label
Region Label
Define file labeling
Code
### set directorytxt_folder = TXT_FOLDER_REGIONtxt_fdiry =file.path(FD_RES, "region", txt_folder)txt_fglob =file.path(txt_fdiry, "*bed*")### get file namesvec_txt_fpath =Sys.glob(txt_fglob)vec_txt_fname =basename(vec_txt_fpath)print(vec_txt_fname)