franciscozorrilla / metaGEM

:gem: An easy-to-use workflow for generating context specific genome-scale metabolic models and predicting metabolic interactions within microbial communities directly from metagenomic data
https://franciscozorrilla.github.io/metaGEM/
MIT License
203 stars 42 forks source link

feat: create task/sample specific folder within each job that uses scratch dir #30

Closed franciscozorrilla closed 2 years ago

franciscozorrilla commented 3 years ago

Not all users may have a job-specific variable like $SCRATCH or $TMPDIR that can be set in the config.yaml file (e.g. #26). To account for this, create working/scratch folders within the scratch/ directory to avoid errors.

~/path/to/scratch/
  |--assemblies/
     |--sample1/
     |--sample2/
     ...

Needs to be implemented in rules that expand wildcards and use scratch/:

franciscozorrilla commented 3 years ago

Currently testing for fastp on travis and megahit on google colab ...