Recreate the graphic from the RStudio exercise from the week 2 lab.
Save the output in a file called mtcars.png.
sqlite3 database containing the mtcars data.pandas and makes the plot using seabornsnakemake.touch any of the inputs, then the work flow should restart from that point and regenerate the necessary outputs.
touch is a Unix command.
If you are not familiar with it, Google it.snakemake docs.Snakefile and the one R and the one Python script.A correct work flow will only execute the necessary steps when a script/input file is “touched”. In other words:
touch your R script, the sqlite3 database and figure will be regenerated.touch your sqlite3 database or the Python script, then the figure will be regenerated, but not the database.Most of the steps you need are in the material from previous weeks.
You need to discover how to save a seaborn plot to a file, though!
snakemake work flow?snakemake rule?snakemake?In a new repository:
Snakefilemtcars.pngREADME.md for the repo should display the image.README.md should contain the answers to the questions listed above.README.md should contain evidence that touching the various files does the right thing.
You can copy-paste the shell output that happens after you touch and rerun the jobs.
Place the output in a code fence in the README:
```
Output
```
Do not use screen shots.
The other mechanics are the same. Link to the new work from your homework web page, etc..