gaow / neuro-twas

Development code (private repo) for TWAS related multiomic gene-mapping in Alzheimer's disease data
6 stars 0 forks source link

file not found error in Workflow #25

Closed hsun3163 closed 3 years ago

hsun3163 commented 3 years ago

This issus is to document the source of the following reoccurring error so that it could be fixed at ease in the future:

FileNotFoundError                         Traceback (most recent call last)
script_6664120179835120613 in <module>
----> R(fr"""library("dplyr")
      library("tibble")
      library("susieR")
      library("plink2R")

FileNotFoundError: 2

Error in this form is usually due to not specifying which output is the {_output:n} in the following section specifying. Changing it to f'{_output[0]:n} remove the error

task: trunk_workers = 1, trunk_size = job_size, walltime = '4h',  mem = "6G" , tags = f'{step_name}_{_output[0]:bn}'
R: expand= "$[ ]", stderr = f'{_output[0]:n}.stderr', stdout = f'{_output:n}.stdout', container = container,volumes = [f'{wd:a}:{wd:a}']