thkuo / seq2geno

Computational pipeline for genomic features of bacterial population
GNU General Public License v3.0
0 stars 0 forks source link

loading the main environment #52

Closed thkuo closed 5 years ago

thkuo commented 5 years ago

The python package subprocess won't directly built a virtual environment by calling source. The function source is not a command but a shell builtin, so requiring another command to build the virtual environment. https://stackoverflow.com/questions/7040592/calling-the-source-command-from-subprocess-popen

thkuo commented 5 years ago

Three layers of the user interface is created: 1st layer: accept user options and create the config file 2nd layer: load the environment 3rd layer: pass the options to snakemake and launch the workflow